Make a ZIM file from any Web site and surf offline!
Find a file
2016-01-11 11:15:22 +01:00
zimit Add a way to specify the location of the output folder 2016-01-10 23:07:58 +01:00
.gitignore Read settings from config. 2016-01-10 12:09:44 +01:00
favicon.ico First working version 2016-01-10 00:34:47 +01:00
README.rst Improve the ZIMIT README. 2016-01-10 11:44:03 +01:00
setup.py Send an email when the download is ready 2016-01-10 22:52:42 +01:00
zimit.ini Change the location of the zims 2016-01-11 11:15:22 +01:00

#####################################
Create ZIM files out of HTTP websites
#####################################

Given any WebSite, get a ZIM file out of it!


How to use it?
##############

Install it using pip
::

  $ pip install zimit

Then, run it how you want, for instance with pserve::

  $ pserve zimit.ini


In a separate process, you also need to run the worker::

  $ rqworker


To test it::

  $ http POST http://0.0.0.0:6543/website url="https://refugeeinfo.eu/" title="Refugee Info" email="alexis@notmyidea.org"



Ubuntu dependencies
###################

You will need to install the following packages:

- zimwriterfs
- httrack

Installing the dependencies
===========================

::

    sudo apt-get install httrack libzim-dev libmagic-dev liblzma-dev libz-dev build-essential

Installing zimwriterfs
======================

::

    git clone https://github.com/wikimedia/openzim.git
    cd openzim/zimwriterfs
    ./autogen.sh
    ./configure
    make

Then upgrade the path to zimwriterfs executable in zimit.ini

::

  $ rqworker & pserve zimit.ini

That's it!