![kiwix from a thumb drive kiwix from a thumb drive](https://www.tweaking4all.com/wp-content/uploads/2013/12/diskutility_rightclick_dmg.jpg)
- #Kiwix from a thumb drive how to#
- #Kiwix from a thumb drive for mac#
- #Kiwix from a thumb drive archive#
- #Kiwix from a thumb drive full#
![kiwix from a thumb drive kiwix from a thumb drive](https://i.ytimg.com/vi/s7YFT28SR_U/maxresdefault.jpg)
![kiwix from a thumb drive kiwix from a thumb drive](https://wiki.kiwix.org/w/images/thumb/d/d6/Wikiquote-logo-en.svg/140px-Wikiquote-logo-en.svg.png)
#Kiwix from a thumb drive archive#
Given this, it's only practical to distribute the app without an internally packaged ZIM, and this means the end user would have to pick a separate archive on the thumb drive.There's no magic involved: in the background, the app automatically unpacks a 7zip archive into local temporary folders to run, hence the longer startup time and overhead.If it has a large packaged archive, it takes double that If it is just the app with no packaged archive, it takes about ten seconds to launch on a good machine, versus one or two seconds for the current version. I've built an exe and can upload it if you're interested in testing, but IMHO it has disadvantages that outweigh the convenience of having everything in a single. NB Service Worker mode is still not available in this, I've done a bit of investigation, and it turns out it is possible to build the app as a single standalone portable exe, using the electron-builder npm package. Several things causing the app to hang on startup under some conditions have been ironed out.Boot loop protection added in case the picked ZIM (or the packaged ZIM) no longer exists.The app will launch the last-visited page on startup (this can be turned off for privacy reasons).The app can now remember a picked ZIM (anywhere on the user's system) and will load the last picked ZIM automatically on next app launch (the user does not need to pick the archive again).
#Kiwix from a thumb drive for mac#
#Kiwix from a thumb drive full#
Note there is no access to the full text index (this functionality has not been implemented in Kiwix JS), though it's not so necessary for Wikipedia and Wikivoyage. I've tested dropping in the full 80GB English Wikipedia, adjusting the file to load in init.js, and it works fine! The ZIM doesn't need to be part of the distribution package (zip file): it can be dropped in later. Mac and Linux packages could be built easily, but I can't currently test for those platforms (the Windows Subsystem for Linux cannot run Chrome with an X-Server).Īny ZIM archive could be packaged with this app, but see the Release Notes on the download page for details of some adjustments to the initialization file to autoloaunch a different ZIM. If unzipping to a thumb drive, for ease of use it would be sufficient to unzip the contents of the top-level folder (and all sub-folders) so that the executable kiwix-js-windows.exe is in the root of the, I think this fulfils your requirements for a one-click (well, double-click) solution. It just needs to be downloaded and unzipped anywhere, e.g. So, please find a demo of "Wikivoyage by Kiwix Electron Edition" here (I'm using Wikivoyage because it is smaller than Wikimed for testing purposes):įor full details, see the release notes on that page, but basically it's a portable app for Windows.
#Kiwix from a thumb drive how to#
I had a bit of fun this weekend working out how to launch a ZIM file automatically without picking it in the Electron app.