Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Kiwix JS

install

git clone --depth=1 https://github.com/kiwix/kiwix-js-pwa
cd kiwix-js-pwa
npm install
npm run build

usage

npm run serve
# pm2 serve dist 5173 --name kiwix-js-pwa --spa --env production
  1. Visit http://localhost:5173
  2. Setting → Use Private File System → Add file(s) → Add to OPFS → Select your .zim → Wait for it to complete.
  3. (Optional) Install PWA.
  4. If you clean up the cache of browser, you need to do it again.

kiwix-js-pwa