How omarhanfi/todo-list works
Listly is a browser-based to-do app. Users add, complete, delete, and clear tasks; task state is persisted in Local Storage, while the interface localizes labels and counts for English or Arabic. Settings control language and theme. The README also documents responsive styling, sound effects, and PWA installation and offline support. The sampled JavaScript shows task, settings, storage, localization, and service-worker behavior; HTML, CSS, manifest, and asset details are represented only where the README or tree supports them.
Main entry points: main.js Task actions · i18n.js Localization · service-worker.js Offline worker · index.html App page
Components 15
Task app
- Task actions
js/main.js - Task display
js/main.js - App settings
js/main.js - Task storage
js/localstorage.js
Interface and assets
- Localization
js/i18n.js - Locale data
assets/Lang - App page
index.html - Responsive themes
css/style.css - Action sounds
assets/sounds
PWA support
- Install manifest
assets/manifest.json - Worker registration
js/main.js - Offline worker
service-worker.js - Cached app shell
service-worker.js
Other components
- User
- Browser platform
Connections 15
- User → Task actions: manages tasks
README.md - Task actions → Task storage: loads and saves
js/main.js - Task actions → Task display: renders tasks
js/main.js - Task actions → Action sounds: plays effects
js/main.js - App settings → Localization: sets language
js/main.js - Task actions → Localization: translates labels
js/main.js - Localization → Locale data: fetches locales
js/i18n.js - User → App settings: chooses preferences
README.md - User → App page: uses app
README.md - App page → Responsive themes: uses styling
- Worker registration → Offline worker: registers worker
js/main.js - Offline worker → Cached app shell: caches resources
service-worker.js - Browser platform → Task storage: provides storage
README.md - Browser platform → Offline worker: runs worker
README.md - Browser platform → Install manifest: installs app
README.md