Skip to main content

Make zimfile from stackexchange dump

Project description

# Sotoki

*Stack Overflow to Kiwix*

The goal of this project is to create a suite of tools to create
[zim](http://www.openzim.org) files required by
[kiwix](http://kiwix.org/) reader to make available [Stack Overflow](https://stackoverflow.com/)
offline (without access to Internet).

## Getting started

Download the last [stackexchange dump](https://archive.org/details/stackexchange)
using BitTorrent (only "superuser.com.7z" is necessary) and put it in the Sotoki
source code root.
The use of btrfs as a file system is recommended (and required for stackoverflow)



Install non python dependencies:

```
sudo apt-get install jpegoptim pngquant gifsicle advancecomp python-pip python-virtualenv python-dev libxml2-dev libxslt1-dev libbz2-dev p7zip-full python-pillow gif2apng
```


Create a virtual environment for python:

```
virtualenv --system-site-packages venv
```

Activate the virtual enviroment:

```
source venv/bin/activate
```


Install this lib:

```
pip install sotoki
```


```
sotoki [domain of stackechange website] [publisher] [--directory (optional)] [--nozim (optional)]

```



Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sotoki-0.4.tar.gz (383.9 kB view details)

Uploaded Source

Built Distribution

sotoki-0.4-py2-none-any.whl (386.4 kB view details)

Uploaded Python 2

File details

Details for the file sotoki-0.4.tar.gz.

File metadata

  • Download URL: sotoki-0.4.tar.gz
  • Upload date:
  • Size: 383.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for sotoki-0.4.tar.gz
Algorithm Hash digest
SHA256 f3c22a8b6d8b303b1a02fd7d88eab52e642b3ea9f0ccd71f7f4a08ae34dd1ace
MD5 f86aed8b96a94884e9db66081bade03a
BLAKE2b-256 d2d36d439b6940049394ef507314bb6b6f41526fb44f68f85fee998263b5686e

See more details on using hashes here.

File details

Details for the file sotoki-0.4-py2-none-any.whl.

File metadata

File hashes

Hashes for sotoki-0.4-py2-none-any.whl
Algorithm Hash digest
SHA256 b4aee336df6ff5b8389e176ffac49f461d5db2e6f1f72c8e0aa426398c260741
MD5 5e69efa1fa017b4cd13c01f70462e177
BLAKE2b-256 8a6ac744fc4bb18bc16d9fa2125f43c478f1218ac28c09eee4c959b817bfecb4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page