Difference between revisions of "Build your ZIM file"

Jump to navigation Jump to search
2,016 bytes added ,  08:57, 8 September 2017
→‎Zimbalaka: I've incorporated the notes from the original author which I found on archive.org. I've provided a link to the archived page too.
(→‎zimmer: newer version of the package)
(→‎Zimbalaka: I've incorporated the notes from the original author which I found on archive.org. I've provided a link to the archived page too.)
Line 49: Line 49:


=== Zimbalaka ===
=== Zimbalaka ===
Zimbalaka, a web hosted tool which allows to create #Wikipedia ZIM files based on articles selections.
The following descirption is based on the notes published by the original author of Zimbalaka, as they're no longer available on the site they were published on. An archived copy is available on archive.org https://web.archive.org/web/20150531004251/http://www.arunmozhi.in:80/blog/zimbalaka-an-openzim-creator/#content
 
Zimbalaka, is designed as a web hosted tool which enables #Wikipedia ZIM files to be created based on articles selections.
 
It accepts two types of inputs: a list of pages or a Wikipedia category. Then Zimbalaka downloads those pages, removes all the clutter such as: sidebars, toolbox, edit links, etc., and provides a cleaned version as a ZIM file for download. It can be opened in Kiwix, etc.
 
The ZIM is created with a simple welcome page with all the pages as a list of links.
 
Zimbalaka has multilingual and multi-site support. That is, you can create a ZIM file from pages of any language of the 280+ existing Wikipedias, and also from sites like WikiBooks, Wiktionary, Wikiversity and such. You can even input any custom url like (<nowiki>http://sub.domain.com/</nowiki>), Zimblaka would add (/wiki/Page_title) to it and download the pages.
 
==== Pain points ====
A small pain point is that, Zimbalaka also strips the external references that occur at the end of the Wikipedia articles, as the original author didn’t find these useful content intended to be used in an offline environment.
 
You cannot add a custom Welcome page in the zim file. Not a very big priority. The current file does its work of listing all the pages.
 
You cannot include pages from multiple sites as a single zim file. The workaround is to create multiple files or use a tool called zimwriterfs, which has to be compiled from source (this is used by zimbalaka behind the scenes).
 
==== Developers ====
This tool is written using Flask – A simple Python web framework for the backend, Bootstrap as the frontend and uses the zimwriterfs compiled binary as the workhorse. The zimming tasks are run by Celery, which has been automated by supervisord. All the co-ordination and message passing happens via Redis.


[https://github.com/tecoholic/Zimbalaka Here is the source code].
[https://github.com/tecoholic/Zimbalaka Here is the source code].
10

edits

Navigation menu