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

Uploaded Source

Built Distribution

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

Uploaded Python 2

File details

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

File metadata

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

File hashes

Hashes for sotoki-0.8.1.tar.gz
Algorithm Hash digest
SHA256 165b6ad989ca7474572811cd9363be51419fd20baf1625296aadda6904791c76
MD5 98cdaaf59c7f07e7ffd0820080896dbd
BLAKE2b-256 d92f3793a54f5632fb573bdebe1dae9d0bf4d67251f1715a0694779bfd9cca50

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sotoki-0.8.1-py2-none-any.whl
Algorithm Hash digest
SHA256 631d47bdc9515268a8f99a68d9ad3e4abf8c0c77bbf83e8f011904af029403d5
MD5 59b4aa7b7c289987bddb22e19c29a063
BLAKE2b-256 ffc7f537cb19f225280cb22aa47e9461ac686d379d1f81f4416300f9ee42fcae

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