How rippy1911/anatome works
Anatome has two independent products: a public React site/playground and a Cloudflare Worker API. Users explore anatomy and exercises through the site or call the API directly; assistants can use its MCP interface. Signed-in users additionally authenticate and record personal activity, while share links expose dashboards. The graph preserves these distinct paths and the documented guides capability. Some route implementations were not sampled, so their internal relationships are omitted where the evidence does not establish them.
Main entry points: index.ts HTTP API · personal.ts Personal logging · App.jsx Site routes · guides.js Guide catalog client
Components 20
Public site
- Site routes
src/App.jsx - API playground
src/pages/Playground.jsx - Exercise search UI
src/components/playground/ExerciseSearch.jsx - Guide pages
src/pages/GuideTree.jsx - Guide catalog client
src/lib/guides.js - API URL client
src/lib/apiBase.js
Anatomy and catalog
- SVG renderer
api/src/lib/muscleEngine.ts - Body path data
api/src/lib/bodyData.ts - Muscle catalog
api/src/data/muscleCatalog.ts - Exercise search logic
api/src/lib/exercises.ts - Guide catalog data
api/src/data/guideCatalog.ts
Personal data
- OAuth flows
api/src/routes/oauth.ts - Personal logging
api/src/routes/personal.ts - Share dashboards
api/src/routes/view.ts - Identity and auth
api/src/lib/auth.ts - Account and activity store
api/src/lib/db.ts
Other components
- Visitor
- Assistant client
Connections 20
- Visitor → Site routes: opens
src/App.jsx - Site routes → API playground: routes to
src/App.jsx - Site routes → Guide pages: routes to
src/App.jsx - API playground → Exercise search UI: renders
src/pages/Playground.jsx - Exercise search UI → API URL client: uses API URL
src/components/playground/ExerciseSearch.jsx - Guide pages → Guide catalog client: loads guide data
src/pages/GuideTree.jsx - Guide catalog client → API URL client: requests catalog
src/lib/guides.js - Guide catalog client → Guide catalog data: falls back to snapshot
src/lib/guides.js - Assistant client → MCP tools: calls MCP
README.md - HTTP API → SVG renderer: renders diagrams
api/src/index.ts - HTTP API → Body path data: loads paths
api/src/index.ts - SVG renderer → Body path data: uses paths
api/src/lib/bodyData.ts - SVG renderer → Muscle catalog: normalizes muscles
api/src/lib/muscleEngine.ts - HTTP API → Exercise search logic: searches exercises
api/src/index.ts - HTTP API → MCP tools: dispatches MCP
api/src/index.ts - OAuth flows → Identity and auth: uses identity
api/src/routes/oauth.ts - OAuth flows → Account and activity store: reads and writes
api/src/routes/oauth.ts - Personal logging → Identity and auth: uses identity
api/src/routes/personal.ts - Personal logging → Account and activity store: reads and writes
api/src/routes/personal.ts - Personal logging → Share dashboards: references share views
api/src/routes/personal.ts