How daslichtedu/japanesevocab works
Japanesevocab appears to be a browser-based Japanese study app, with vocabulary, grammar, exams, achievements, and kanji practice represented by files in the tree. The README provides no workflow details, and App.jsx and the data files were not sampled, so their internal wiring cannot be established. The shown kanji code supports handwriting practice and fetches stroke SVGs; the service worker explicitly caches a set of app assets and falls back to cache when network requests fail.
Main entry points: sw.js Offline service worker · kanji-logic.js Kanji practice · App.jsx Study app · Vocab.json Vocabulary data
Components 12
Study features
- Study app
App.jsx - Kanji practice
kanji-logic.js
Study content
- Vocabulary data
Vocab.json - Grammar data
grammar.json - Exam data
exams.json - Achievement data
achievements.json - Study data module
data.js
Browser runtime
- Offline service worker
sw.js - Asset cache
Other components
- Learner
- KanjiVG SVG source
- Browser local storage
Connections 8
- Learner → Study app: uses
- Kanji practice → KanjiVG SVG source: fetches strokes
kanji-logic.js - Kanji practice → Browser local storage: stores mastery
kanji-logic.js - Offline service worker → Asset cache: reads and writes
sw.js - Offline service worker → Vocabulary data: caches asset
sw.js - Offline service worker → Grammar data: caches asset
sw.js - Offline service worker → Exam data: caches asset
sw.js - Offline service worker → Achievement data: caches asset
sw.js