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 imagemagick
```


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.6.2.tar.gz (729.8 kB view details)

Uploaded Source

Built Distribution

sotoki-0.6.2-py2-none-any.whl (740.8 kB view details)

Uploaded Python 2

File details

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

File metadata

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

File hashes

Hashes for sotoki-0.6.2.tar.gz
Algorithm Hash digest
SHA256 ff9352d66d058b4903c93735212962f0ac92b44795fc2c5ff2e884c352b0d6c2
MD5 7d4de4c4a9a023f313520c6c88012ccd
BLAKE2b-256 e70269b8e0729acf87746e36851055a6d0b815ed0be1f0d9bc2cbe3ffb5747b0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sotoki-0.6.2-py2-none-any.whl
Algorithm Hash digest
SHA256 87afc077f73f8e40e2ef3883652259a38b98921e97532bd07099de983e193288
MD5 1423d2ec09c5c3db7c757759a8f96078
BLAKE2b-256 b560119de17c3c460123c172287147e91f45ce55f523bc4d86a40c5aa1864b54

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