How warutcha/twatched works
TWatched is a static, installable episode tracker. A user manages shows in the app; data is stored locally and can be synchronized across devices through a private GitHub repository. The app also checks for newly aired episodes and can notify the user. Offline app-shell caching supports use without a network connection. The README documents several capabilities whose implementation is inside the monolithic app.js; the available excerpts do not expose their internal call structure, so those relationships are shown only where documented.
Main entry points: app.js App logic · sw.js Service worker · index.html App shell · manifest.webmanifest Install manifest
Components 16
Tracking features
- Episode tracking
app.js - Show library
app.js - Poster processing
app.js - Episode checks
app.js - Notifications
app.js
Data and sync
- Local storage
app.js - Device sync
app.js
Install and offline
- Service worker
sw.js - App-shell cache
sw.js - Install manifest
manifest.webmanifest
Other components
- App user
- Private GitHub repo
- Browser device
- System notifications
Connections 16
- App user → App shell: opens
README.md - App shell → App logic: runs logic
README.md - App user → Episode tracking: manages shows
README.md - Episode tracking → Show library: updates library
README.md - Episode tracking → Local storage: stores data
README.md - App user → Poster processing: adds photos
README.md - Poster processing → Show library: compresses posters
README.md - App logic → Episode checks: checks on open
README.md - Episode checks → Notifications: alerts on episodes
README.md - Notifications → System notifications: notifies
README.md - App user → Device sync: configures sync
README.md - Device sync → Private GitHub repo: reads and writes
README.md - App logic → Service worker: uses offline support
README.md - Service worker → App-shell cache: caches app shell
sw.js - Service worker → Browser device: handles fetches
sw.js - Install manifest → Browser device: enables installation
README.md