尚未收集仓库信息。
尚未检测到更新。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 |