No updates detected yet. GitHub releases will appear here.
車主通 CarMate — bilingual offline PWA for new car owners in Hong Kong: engine oil guide, service records, oil-change reminders, petrol station & tyre services
翻訳待ち
Loading the full README.
Read the full README ↗A bilingual (繁中 / English) offline-first PWA for new car owners in Hong Kong.
worker/ (a Cloudflare Worker holding your Anthropic key) and set AI_ENDPOINT in config.js, and the same box becomes Claude — grounded in reference.txt, which is generated from the app's guides by node build-reference.mjsAll data stays on the device — localStorage for records, IndexedDB for documents. No accounts, no backend, no analytics.
Every guide carries a standing note that the car's owner manual outranks the app.
python3 -m http.server 8913 --directory .
node bump.mjs after every edit to js/css — it stamps ?v=N in index.html and sw.js plus CACHE_NAME, and fails if they disagree. Skipping it serves stale files to browsers and to the service worker, which looks exactly like a bug that isn't one.
node build-reference.mjs after editing data.js — regenerates reference.txt, the AI assistant's grounding. Commit both.
The same files run inside a native shell built with Capacitor. ios/ is the Xcode project; native.js is the only app code that knows about it, and it does nothing in a browser. Inside the app it:
localStorage and the IndexedDB documents to native storage, and restores them if iOS clears the WebView's data;Build on a Mac with Xcode installed:
npm install
npm run ios # copies the web files into www/, syncs ios/, opens Xcode
After editing any web file, run node bump.mjs as usual, then npm run ios again. www/ and ios/App/App/public/ are generated; don't edit them. privacy.html is the privacy policy the App Store listing links to.