尚未收集儲存庫資訊。
尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
One training plan for running and strength, with Claude as your coach through MCP.
翻譯準備中
取自儲存庫 README
正在載入完整 README。
檢視完整 README ↗One training plan for running and strength. Grind builds a plan for a 5K, 10K, half marathon or marathon, syncs what your watch recorded from intervals.icu, ticks off workouts automatically, and lets Claude act as your coach through an MCP connector.
Next.js 15 (App Router), TypeScript, Tailwind and shadcn/ui, Postgres on Neon with Drizzle, Better Auth (email sign-in and the OAuth server for MCP), the official MCP TypeScript SDK. The design system is described in DESIGN.md.
pnpm install
cp .env.example .env.local # fill in the values, see docs/deployment.md
pnpm db:migrate
pnpm dev
Without DATABASE_URL the app uses an embedded local Postgres (PGlite) stored in .data/.
See docs/deployment.md for environment variables, CI/CD and production setup.
| Command | What it does |
|---|---|
pnpm test | Unit tests (plan engine, sync, matching, plan edits, auth). |
pnpm check | Lint, format check and type check. |
pnpm db:generate / pnpm db:migrate | Create and apply Drizzle migrations. |
pnpm plan:sample half | Print a generated plan. |
pnpm smoke | End-to-end check of sign-up, plans and workouts against a running app. |
pnpm mcp:smoke | End-to-end check of the OAuth flow and every MCP tool against a running app. |
| Topic | Where |
|---|---|
| Architecture and data flow | docs/architecture.md |
| Environment, CI/CD and deployment | docs/deployment.md |
| Account and training emails, scheduler | docs/email.md |
| Connect Claude (MCP) and tool reference | docs/mcp-connector.md |
| Install as an app (PWA, service worker) | docs/pwa.md |
| Working on this repo with coding agents | AGENTS.md |