尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證Open Health — Your Open-Source Health AI Agent. Track nutrition, water, weight, sleep, exercise & fasting. AI-powered food photo recognition. Self-hostable alternative to MyFitnessPal. Next.js + Expo React Native.
翻譯準備中
取自儲存庫 README
正在載入完整 README。 以下為已儲存的摘錄。
Your Open-Source Health AI Agent — mobile-first, personal, and truly yours. The first open-source, mobile-first personal health AI agent. It understands your nutrition, sleep, fitness, and weight — and becomes the health companion that knows you best. 繁體中文 | Open Health 是第一個開源、行動優先的個人健康 AI Agent。理解你的飲食、睡眠、運動與體重,成為最認識你的健康小助手。檢視完整 README ↗
The first open-source, mobile-first personal health AI agent. It understands your nutrition, sleep, fitness, and weight — and becomes the health companion that knows you best.
繁體中文 | Open Health 是第一個開源、行動優先的個人健康 AI Agent。理解你的飲食、睡眠、運動與體重,成為最認識你的健康小助手。
| Layer | Technology |
|---|---|
| Framework | Next.js 15 (App Router), TypeScript, React 19 |
| Styling | Tailwind CSS v4, shadcn/ui |
| Database | PostgreSQL + Drizzle ORM |
| API | tRPC v11 (reads) + Server Actions (writes) |
| Auth | Better Auth (email/password + OAuth) |
| AI | Google Gemini 3 Flash (OCR, chat, agent) |
| Payments | Stripe |
| Monorepo | Turborepo + pnpm workspaces |
openhealth/
├── apps/web/ # Next.js web app
│ ├── src/
│ │ ├── app/ # App Router pages
│ │ ├── components/ # React components
│ │ ├── server/ # tRPC routers, Server Actions, DB
│ │ └── lib/ # Utilities, auth, tRPC client
│ └── public/ # Static assets
├── packages/
│ ├── shared/ # Shared types, Zod schemas, i18n, utils
│ └── db/ # Drizzle schema, migrations
├── Dockerfile
├── docker-compose.yml # One-click self-hosting
└── turbo.json
# Clone the repo
git clone https://github.com/truenorth-lj/openhealth.git
cd openhealth
# Install dependencies
pnpm install
# Set up environment variables
cp .env.example apps/web/.env.local
# Edit apps/web/.env.local with your DATABASE_URL and BETTER_AUTH_SECRET
# Start the dev server
pnpm dev:web
# Open http://localhost:3001
The fastest way to run Open Health is with Docker:
git clone https://github.com/truenorth-lj/openhealth.git
cd openhealth
# Start PostgreSQL + web app
docker compose up -d
# Open http://localhost:3000
That's it. The database migrations run automatically on startup.
| Variable | Required | Description |
|---|---|---|
DATABASE_URL | Yes | PostgreSQL connection string |
BETTER_AUTH_SECRET | Yes | Random string for session encryption |
BETTER_AUTH_URL | Yes | Your app's URL |
GOOGLE_CLIENT_ID / SECRET | No | Google OAuth login |
APPLE_CLIENT_ID / SECRET | No | Apple OAuth login |
GOOGLE_AI_API_KEY | No | Enables AI features (Gemini) |
STRIPE_SECRET_KEY | No | Enables payment / Pro plan |
NEXT_PUBLIC_VAPID_PUBLIC_KEY | No | Enables push notifications |
See .env.example for the full list.
Contributions are welcome! Please feel free to submit a Pull Request.
# Run tests
pnpm test
# Run linter
pnpm lint
# Build
pnpm build
Open-source Health AI Agent. Made in Taiwan.