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)]
```
*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
Release history Release notifications | RSS feed
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.1.tar.gz
(729.6 kB
view details)
Built Distribution
sotoki-0.6.1-py2-none-any.whl
(740.8 kB
view details)
File details
Details for the file sotoki-0.6.1.tar.gz
.
File metadata
- Download URL: sotoki-0.6.1.tar.gz
- Upload date:
- Size: 729.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b6aab67ed675bd3fbce86de42653360fd36b84cdfbb480d54cda98d2b57c88f |
|
MD5 | 7533a6df86b802d48f16bb01f22a894c |
|
BLAKE2b-256 | f260e8607cce033fc8f560e487a3ca8d3269042343623bfa6fabc98532d3587f |
File details
Details for the file sotoki-0.6.1-py2-none-any.whl
.
File metadata
- Download URL: sotoki-0.6.1-py2-none-any.whl
- Upload date:
- Size: 740.8 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5bd69b961539022e70ed707a7e6b3a0131fb40dc562d3e8b0483f160e1026157 |
|
MD5 | 2acf58aff5daa34f1eb4bb00c9b544b4 |
|
BLAKE2b-256 | dca8b2e3d2da6324ebca95d45c476fabfd858668e46109ba11be44293744cdfa |