Kiwix JS
git clone --depth=1 https://github.com/kiwix/kiwix-js
cd kiwix-js
npm install
npm run build
usage
npm run serve
# pm2 serve dist 5173 --name kiwix-js --spa --env production
- Visit
http://localhost:5173
- Setting → Use Private File System → Add file(s) → Add to OPFS → Select your
.zim
→ Wait for it to complete. - (Optional) Install PWA.
- If you clean up the cache of browser, you need to do it again.