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.8.tar.gz (7.8 MB view details)

Uploaded Source

Built Distribution

sotoki-0.8-py2-none-any.whl (8.1 MB view details)

Uploaded Python 2

File details

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

File metadata

  • Download URL: sotoki-0.8.tar.gz
  • Upload date:
  • Size: 7.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for sotoki-0.8.tar.gz
Algorithm Hash digest
SHA256 509a523b4922c371b5f257bd44c41ed4112440ab0e741782d76fdefd1ee7b661
MD5 7d2a3efb118d192bff2fa1eee02efb70
BLAKE2b-256 7eaf2f8f01640a600ff974cb4625292af25b03afe37e0cae43f77ce0e8a88c74

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sotoki-0.8-py2-none-any.whl
Algorithm Hash digest
SHA256 afac8319e5e70d03a534dc0f5429c7c05c16bb8bb0298a1ee9f465d9d75e9f8c
MD5 e43676e3b546e7e5bb4e10da4a8f3bea
BLAKE2b-256 fd92957176494bac9e56f10ce9b643bfc59a640eeab6649e221ed7a45602554d

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