How hadden-me/learnoo works
Learnoo is a planned free learning platform, but the implemented product here is a local Go lesson-renderer experiment. Its demonstrated workflow is to load an unreviewed lesson fixture in the browser lab, edit and preview it through the local server, and render the validated document as HTML; browser-side code also renders math and loads video on demand. The README’s author/reviewer/publisher and student workflow is future scope, not implemented. Edges reflect shown calls or documented behavior; unsampled connections are omitted.
Main entry points: main.go Preview and fixture routes · lab.js Lesson lab · render.go HTML renderer · README.md Authoring workflow
Components 17
Local prototype
- Local HTTP server
cmd/renderer/main.go - Preview and fixture routes
cmd/renderer/main.go
Lesson rendering
- Lesson fixture
internal/rendering/render.go - Decode and validate
internal/rendering/render.go - HTML renderer
internal/rendering/render.go - Embedded page assets
internal/rendering/render.go
Browser experience
- Lesson lab
internal/rendering/static/lab.js - Course catalogue
internal/rendering/static/landing.js - Local draft
internal/rendering/static/lab.js - Math and video
internal/rendering/static/math.js
Planned platform
- Authoring workflow
README.md - Review and publishing
README.md - Student learning
README.md - Free accounts
README.md
Other components
- Teacher
- Student
- YouTube hosting
Connections 18
- Teacher → Lesson lab: edits lesson
README.md - Lesson lab → Local draft: saves draft
internal/rendering/static/lab.js - Local draft → Lesson lab: restores draft
internal/rendering/static/lab.js - Lesson lab → Preview and fixture routes: fetches fixture
internal/rendering/static/lab.js - Lesson lab → Preview and fixture routes: requests preview
internal/rendering/static/lab.js - Local HTTP server → Preview and fixture routes: dispatches requests
cmd/renderer/main.go - Preview and fixture routes → Lesson fixture: loads fixture
cmd/renderer/main.go - Preview and fixture routes → Decode and validate: decodes preview
cmd/renderer/main.go - Preview and fixture routes → HTML renderer: renders document
cmd/renderer/main.go - Decode and validate → HTML renderer: validates document
internal/rendering/render.go - HTML renderer → Embedded page assets: executes template
internal/rendering/render.go - Course catalogue → Student: shows catalogue
- Math and video → YouTube hosting: loads video on demand
internal/rendering/static/math.js - Teacher → Authoring workflow: contributes lessons
README.md - Authoring workflow → Review and publishing: submits for review
- Review and publishing → Student learning: publishes materials
README.md - Student → Student learning: accesses materials
README.md - Student → Free accounts: uses free account
README.md