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

Uploaded Source

Built Distribution

sotoki-0.6.3-py2-none-any.whl (4.5 MB view details)

Uploaded Python 2

File details

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

File metadata

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

File hashes

Hashes for sotoki-0.6.3.tar.gz
Algorithm Hash digest
SHA256 ed0f7e924342c6c9e97e8bb03656ec6aaa7f3c5d782bcec63a43f89c4313e20f
MD5 4464dfa57e947e1caedfeb68f18c455c
BLAKE2b-256 58a83a8181691b3f48f4c15873b066663ceb9c6b0122e921176896150905b34e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sotoki-0.6.3-py2-none-any.whl
Algorithm Hash digest
SHA256 c2732f0cc5390919ce7730f650a9fbfe20f7008a2f2739d83d80507fa14f7802
MD5 4d6102fee132084ed30bc058f80df2eb
BLAKE2b-256 a6ce068fe2b1c9ee0a4077b3849c3dbd760a65a6c1908afa1db958076ae43773

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