How muslim2026/lessons-site works
This repository preserves successive offline lesson-site HTML versions; the active source describes a seven-subject study platform. Learners browse lesson parts, read explanations, play audio, and answer inline or final quizzes; a live mode presents lesson content sequentially and remembers position. The sampled source supports the app interactions and page-generation paths, while the README documents additional tafsir review and browsing capabilities not verified in sampled implementation. The graph focuses on the source platform; edge evidence is limited to excerpts and README statements.
Main entry points: app.js Lesson reader · durs.json Lesson material · audio Lesson audio · build.py Subject pages
Components 18
Study experience
- Subject pages
src/build.py - Seven-subject site
src/build_pages.py - Lesson reader
src/app.js - Lesson navigation
src/app.js - Part and final quizzes
src/app.js - Sequential live mode
src/app.js - Saved preferences
src/app.js - Tafsir review and browse
src/data/tafsir.json
Lesson content
- Subject catalog
src/data - Lesson material
src/durs.json - Study content
Audio delivery
- Audio player
src/app.js - Lesson audio
audio - Stream offsets
src/offsets.json
Page generation
- Content extraction
src/extract.py - Join lesson audio
src/concat_lessons.py - Convert part audio
src/convert.py
Other components
- Learner
Connections 22
- Learner → Subject pages: opens lessons
README.md - Learner → Seven-subject site: studies online
README.md - Subject catalog → Lesson material: organizes subjects
- Lesson material → Subject pages: renders lessons
src/build.py - Lesson material → Seven-subject site: renders lessons
src/build_pages.py - Subject pages → Lesson reader: embeds app
src/build.py - Seven-subject site → Lesson reader: embeds app
src/build_pages.py - Learner → Lesson navigation: selects sections
src/app.js - Lesson navigation → Lesson reader: shows material
src/app.js - Learner → Part and final quizzes: answers questions
src/app.js - Lesson reader → Part and final quizzes: opens quiz
src/app.js - Learner → Sequential live mode: starts live mode
src/app.js - Sequential live mode → Lesson material: presents lesson parts
src/app.js - Sequential live mode → Saved preferences: saves position
src/app.js - Lesson reader → Saved preferences: stores preferences
src/app.js - Learner → Tafsir review and browse: reviews tafsir
README.md - Lesson reader → Audio player: plays section audio
src/app.js - Audio player → Lesson audio: loads audio
src/app.js - Audio player → Stream offsets: seeks into stream
src/app.js - Study content → Content extraction: extracts lessons
src/extract.py - Lesson audio → Join lesson audio: joins parts
src/concat_lessons.py - Lesson audio → Convert part audio: converts parts
src/convert.py