How zibhelina/etude works
Etude is a local-first study environment combining programmable flashcards, spaced repetition, a Notebook, Courses, deadlines, AI agents, and sync. A learner works through cards and receives grading and scheduled follow-up; they can also organize material in notes or courses and inspect study progress. The web app and CLI expose the product, while the server routes requests into the core engine and its SQLite-backed collection. README capabilities are included even where implementation excerpts were unavailable; dashed edges mark relationships not verified in sampled source.
Main entry points: engine.ts Collection engine · server HTTP routes · App.tsx Web application · app.ts Desktop shell
Components 20
User interfaces
- Web application
web/src/App.tsx - Desktop shell
desktop/app.ts - CLI and MCP
src/cli/run.ts - HTTP routes
src/server
Study engine
- Collection engine
src/core/engine.ts - SQLite collection
src/core/db.ts - Programmable card types
types - Schedulers
src/core/schedulers.ts - Study analytics
src/core/engine-stats.ts
Knowledge workspace
- Notebook and folders
src/core/notes.ts - Courses and agenda
src/core/courses.ts - Media handling
src/core/engine-media.ts
Sharing and services
- AI and agents
src/core/agent.ts - Market and account
src/core/market.ts - Sync and sharing
src/core/sync/client.ts - Plugins
src/core/plugins.ts - Telemetry
src/core/telemetry.ts
Automation and insight
- Pack and Anki import
src/core/engine-packs.ts
Other components
- Learner
- AI agent
Connections 22
- Learner → Web application: uses
README.md - Learner → Desktop shell: uses
README.md - AI agent → CLI and MCP: automates
README.md - Web application → HTTP routes: requests
- Desktop shell → HTTP routes: opens engine
- CLI and MCP → Collection engine: commands
- HTTP routes → Collection engine: calls
src/server/routes-collection.ts - Collection engine → SQLite collection: opens
src/core/engine.ts - Collection engine → Notebook and folders: uses
src/core/engine.ts - Collection engine → Schedulers: uses
src/core/engine.ts - HTTP routes → Media handling: stores media
src/server/routes-settings.ts - HTTP routes → AI and agents: routes agent requests
src/server/routes-agent.ts - HTTP routes → Courses and agenda: routes course requests
src/server/routes-frames.ts - Collection engine → Study analytics: provides analytics
src/core/engine.ts - Learner → Programmable card types: practices
README.md - Learner → Notebook and folders: organizes notes
README.md - Learner → Courses and agenda: plans study
README.md - Learner → Market and account: discovers content
README.md - Collection engine → Pack and Anki import: imports content
src/core/engine.ts - Learner → Sync and sharing: syncs and shares
README.md - Learner → Plugins: extends app
- Collection engine → Telemetry: reports activity
src/core/telemetry.ts