libzim
wikipedia-mirror
libzim | wikipedia-mirror | |
---|---|---|
3 | 2 | |
158 | 324 | |
0.6% | - | |
8.6 | 1.8 | |
4 days ago | about 3 years ago | |
C++ | Shell | |
GNU General Public License v3.0 only | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
libzim
-
WikiReader
I meant the Kiwix dump (https://download.kiwix.org/zim/wikipedia_en_all_nopic.zim – careful, 60GB!).
At a first glance, the Wikimedia XML dump does not look substantially different from what Kiwix/ZIM does with compressed HTML: They're both compressed (bz2 for the Wikimedia dump, zstd or LZMA for Kiwix/ZIM), and both compress multiple files at once, so inter-file redundancy should hopefully be significantly reduced.
HTML seems a bit more verbose than the Mediawiki syntax (plus the XML header for each article), but I'd be surprised if that actually accounted for a 3x difference in size.
Then again, Kiwix seems to have experimented with shared dictionary brotli compression, which supposedly yields an >2x improvement: https://github.com/openzim/libzim/issues/144
I wonder if their current zstd implementation also uses shared dictionaries. If not, that might just be the reason: If ZIM compression chunks are much smaller than the bz2 streams of the Wikimedia dumps, there would still be a lot of redundancy between chunks.
-
Libzim now has an official WebAssembly build target... why this is big (for us)!
This is low-level stuff, but the new release of the backend that powers Kiwix clients, libzim 8.1.0 (changelog), now targets WebAssembly (a.k.a. WASM). This is big because it potentially brings the full powers of the Kiwix backend to Web apps such as Kiwix JS and Kiwix JS PWA/Electron. Up till now, these apps have relied on a custom JS port of parts of libzim, but it lacked full features, such as Full Text search. So, you will begin to see us integrating new features into the Web versions soon!
-
Most downloads of the entire Wikipedia per country
I'm doing my part o7
It's seriously a very interesting and useful dataset that you can do a lot of fun stuff with, if you grab one of the zims without pictures it's of very manageable size too of just a few dozen gigabytes compressed, and there are reasonably good library support in many languages.
Last point doesn't go for Java. Only one I could find for that was this <https://github.com/openzim/libzim>, it's antique and extremely poorly optimized and lacks support for newer compression schemes. I have fixed the performance and added support for zstd compression, but not published the code as it's extremely not finished and major features in the original codebase are very broken. I'll get around to sharing the code some day but right now it's basically permanently mid surgery as I've only patched so far as to get it to extract all or specific files. If anyone wants a copy of this code regardless of state, give me a holler.
wikipedia-mirror
-
I made the prepper version of the Internet
Haha well good news is that if you have a Wikipedia Mirror (they have instructions here -> https://github.com/pirate/wikipedia-mirror) it’s continually syncing with Wikipedia as a whole so if/when SHTF your copy of Wikipedia will be up to date as of the moment there’s power loss 👌, from there using u/UnsignedMark ’s concept network you / others could keep Wikipedia going pending only electricity. On that note SCADA + Solar Panels go brrr hahahaha
- 星期五讲点轻松的吧, 僵尸启示录发生之后你下线的硬盘还有GB的多少动漫/爱情动作片?
What are some alternatives?
lepton - Lepton is a tool and file format for losslessly compressing JPEGs by an average of 22%.
tiddlywiki-docker - Tools for running TiddlyWiki via a Docker container
meshoptimizer - Mesh optimization library that makes meshes smaller and faster to render
mwoffliner - Mediawiki scraper: all your wiki articles in one highly compressed ZIM file
zim-tools - Various ZIM command line tools
kiwix-js-pwa - Kiwix JS Offline Browser implemented as a Progressive Web App (PWA), and packaged as Electron, NWJS and UWP apps for Windows and Linux.
kiwix-tools - Command line Kiwix tools: kiwix-serve, kiwix-manage, ...
docker-traefik-nextcloud-nginx - docker compose files for traefik nextcloud and nginx
Lepton - 💻 Democratizing Snippet Management (macOS/Win/Linux)
wrolpi - Create your own off-grid library
libkiwix - Common code base for all Kiwix ports
slickstack - Lightning-fast WordPress on Nginx