How msorkhpar/studyforge works
Studyforge converts teaching material into an offline-capable study site, with remembered reading progress, narration, and optional runnable or graded practices. The documented authoring workflow uses skills to produce a corpus manifest and archive, validates them, plans and builds the site, then serves it. Runtime capabilities also include narration and, for runnable courses, a browser editor and execution runner. The graph follows README-documented relationships; sampled source confirms server dispatch and narration-client behavior, while unsampled modules are represented at their existing directory paths.
Main entry points: manifest Corpus manifest · archive Teaching archive · generate Site generation · skills Authoring skills
Components 20
Authoring and corpus
- Authoring skills
src/studyforge/skills - Corpus manifest
src/studyforge/corpus/manifest - Teaching archive
src/studyforge/archive - Corpus validation
src/studyforge/validate
Content processing
- Corpus discovery
src/studyforge/corpus/discovery - Unit content
src/studyforge/unit - Site generation
src/studyforge/generate - Page rendering
src/studyforge/render/page
Study experience
- Built study site
- Reading progress
src/studyforge/progress
Practices and execution
- Practice model
src/studyforge/exercise/record.py - Practice grading
src/studyforge/exercise/gates - Execution runtime
src/studyforge/execute - Browser editor
src/studyforge/execute/editor.py - Execution runner
src/studyforge/skills/execution/runnerservice.py
Serving and narration
- Narration client
src/studyforge/narrate/client.py - Study server
src/studyforge/serve/app.py
Other components
- Course author
- Learner browser
- Narration service
Connections 22
- Course author → Authoring skills: uses procedures
README.md - Authoring skills → Corpus manifest: produces
README.md - Authoring skills → Teaching archive: produces
README.md - Corpus manifest → Corpus validation: validated by
README.md - Teaching archive → Corpus validation: validated by
README.md - Corpus manifest → Corpus discovery: describes corpus
- Teaching archive → Unit content: provides documents
- Corpus discovery → Site generation: feeds build
- Unit content → Site generation: feeds build
- Site generation → Page rendering: renders pages
- Site generation → Built study site: builds
README.md - Built study site → Learner browser: read offline
README.md - Learner browser → Reading progress: remembers progress
README.md - Narration client → Narration service: requests synthesis
src/studyforge/narrate/client.py - Corpus manifest → Narration client: names audio
README.md - Teaching archive → Practice model: may define practices
README.md - Practice model → Practice grading: gated and graded
src/studyforge/exercise/gates/quiz/review.py - Practice grading → Execution runtime: runs practices
- Execution runtime → Browser editor: supports editing
README.md - Execution runtime → Execution runner: runs in container
README.md - Built study site → Study server: served by
README.md - Learner browser → Study server: opens site
README.md