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

Uploaded Source

Built Distribution

sotoki-0.8.3-py2-none-any.whl (1.6 MB view details)

Uploaded Python 2

File details

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

File metadata

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

File hashes

Hashes for sotoki-0.8.3.tar.gz
Algorithm Hash digest
SHA256 4b2cbbc5a8dfd9f1a0d03275f8c3191c086c9fa4a428a79af0787a42e8318a36
MD5 ac0c770eab3f8dac9387a81816e4fe31
BLAKE2b-256 22396f73d8131c989cd33324f1aa2e1c9de96032055b30427061fc1d0c3d01a3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sotoki-0.8.3-py2-none-any.whl
Algorithm Hash digest
SHA256 08a69778f8bcdce77c66f7aa99a27fd52af99fead2786ef4b42b5c0cd9a3a321
MD5 c9731d9585a792ec369272756ee6d284
BLAKE2b-256 322e700521e338aa1c88769b6ca17d27b37292ca18d1b11d203ffa293abfd952

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