AI操作系统

GARZA OS是一个个人AI操作系统,提供统一的智能平台,用于自动化部署、日志管理、健康检查和秘密管理。

  • by itsablabla
  • TypeScript
  • 本地部署
  • 更新于
在 GitHub 查看 itsablabla/garza-os-github

使用说明

加尔扎·奥斯

个人AI操作系统——Jaden Garza的统一智能平台。

快速开始

# Clone and setup
git clone https://github.com/itsablabla/garza-os.git
cd garza-os
./scripts/setup.sh

# Check everything is working
garza health

CLI命令

garza deploy <app>      # Deploy to Fly.io (home, lrlab, ears, beeper, n8n)
garza logs <app>        # Stream logs from an app
garza health            # Check all service health
garza restart <app>     # Restart an app
garza ssh <app>         # SSH into an app
garza status            # Show all app statuses
garza secret list <app> # List secrets for an app
garza sync              # Commit and push to GitHub

脚本

脚本 目的
setup.sh 初始设置,安装CLI,检查deps
deploy.sh 部署所有或特定应用程序
test.sh 运行集成测试
rotate-secrets.sh 旋转所有API键
costs.sh 显示成本估算

建筑

┌─────────────────────────────────────────────────────────────┐
│                      GARZA OS                                │
├─────────────────┬─────────────────┬─────────────────────────┤
│   Fly.io Apps   │  CF Workers     │  Local Services         │
├─────────────────┼─────────────────┼─────────────────────────┤
│ garza-home-mcp  │ jessica-cron    │ UniFi Protect           │
│ lrlab-mcp       │ garza-mcp       │ Home Assistant          │
│ garza-ears      │ log-aggregator  │ Abode Security          │
│ beeper-mcp      │ health-monitor  │                         │
│ garza-n8n       │                 │                         │
└─────────────────┴─────────────────┴─────────────────────────┘

GitHub操作

工作流 触发器 目的
deploy-fly.yml 推送到mcp服务器/或服务/ 自动部署Fly应用程序
deploy-cloudflare.yml 推送到工作者/ 自动部署CF工作者
health-check.yml 每15分钟 监控所有服务
backup-craft.yml UTC每日早上6点 备份工艺文档
sync-deployed.yml 手动 同步DEPLOYED.yml

目录结构

garza-os/
├── mcp-servers/          # MCP server implementations
│   ├── garza-home-mcp/   # Home automation + Beeper
│   ├── lrlab-mcp/        # Last Rock Labs tools
│   └── beeper-matrix-mcp/
├── services/             # Other Fly.io services
│   ├── garza-ears/       # Voice transcription
│   └── jessica-bot/      # Automated messaging
├── workers/              # Cloudflare Workers
│   └── log-aggregator/   # Centralized logging
├── configs/              # Configuration files
├── stacks/               # Docker stacks (Boulder home)
├── scripts/              # CLI and automation
├── docs/                 # Documentation
│   ├── claude-preflight.md
│   ├── stack-first.md
│   └── error-playbook.md
├── snippets/             # Reusable code patterns
├── backups/              # Automated backups
└── .github/workflows/    # CI/CD

环境变量

GitHub中的必需机密:

  • FLY_API_TOKEN -Fly.io部署令牌
  • CLOUDFLARE_API_TOKEN -Cloudflare API代币
  • PUSHCUT_API_KEY -Pushcut通知
  • CRAFT_MCP_URL -Craft MCP端点(用于备份)

关键文件

发展

# Run tests
./scripts/test.sh

# Deploy specific app
garza deploy home

# Check costs
./scripts/costs.sh

# Rotate secrets (dry run first)
./scripts/rotate-secrets.sh --dry-run

工艺集成

关键文件:

  • 主配置:14219
  • 身份图:6996
  • 贾达灵魂:14522
  • 应用程序索引:16391
  • API/密码:7061

内置于💜 由Jaden+Jada撰写