How nepovtor/history-author-preview works
HIStory is a browser-based illustrated memoir reader. Its main path is reader navigation through chapter text and image frames, with progress and annotations retained locally. The graph also includes the documented map, diary, archive, bonus, backup/restore, and offline-reading capabilities. Source excerpts show the storage and offline mechanisms; other app routes are documented in the README or exposed by app.js excerpts, so their internal details are kept at the app boundary.
Main entry points: app.js Reader app · offline.js Offline settings · storage.js Local persistence · sw.js Service worker
Components 18
Reading experience
- Reader app
app.js - Story map
app.js - Glass effects
glass.js
Story content
- Chapter narratives
story.js - Photo archive
story.js - Bonus content
app.js - Chapter assets
offline-assets.json
Reader data
- Diary and notes
app.js - Bookmarks and progress
app.js - Reading state
app.js - Local persistence
storage.js - Backup and restore
app.js
Browser platform
- IndexedDB
- Offline settings
offline.js - Service worker
sw.js - Browser cache
Other components
- Reader
- Other tabs
Connections 18
- Reader → Reader app: opens
README.md - Reader app → Chapter narratives: renders
app.js - Reader app → Story map: routes to
app.js - Reader app → Diary and notes: routes to
app.js - Reader app → Bookmarks and progress: routes to
app.js - Reader app → Photo archive: routes to
README.md - Reader app → Bonus content: routes to
app.js - Reader app → Reading state: updates
app.js - Reader app → Local persistence: saves
app.js - Reader app → Backup and restore: exports / restores
app.js - Local persistence → IndexedDB: reads / writes
storage.js - Local persistence → Other tabs: broadcasts changes
storage.js - Reader app → Offline settings: refreshes
app.js - Offline settings → Chapter assets: loads manifest
offline.js - Offline settings → Service worker: registers
offline.js - Offline settings → Browser cache: downloads / clears
offline.js - Service worker → Browser cache: serves cached files
sw.js - Reader app → Glass effects: refreshes effects
app.js