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.5.0.tar.gz
(1.6 MB
view details)
Built Distribution
File details
Details for the file sotoki-0.5.0.tar.gz
.
File metadata
- Download URL: sotoki-0.5.0.tar.gz
- Upload date:
- Size: 1.6 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | aedf17a3c19061fe6d61c3ac57c52a283cfd66c151ba50db1d906736e6317f73 |
|
MD5 | cfd8e2b9340447fdaf666f875efe6403 |
|
BLAKE2b-256 | 74e0394bfc28277032df765903b2096a2a3509e25d5f57fd7604cdaec0ef9de9 |
File details
Details for the file sotoki-0.5.0-py2-none-any.whl
.
File metadata
- Download URL: sotoki-0.5.0-py2-none-any.whl
- Upload date:
- Size: 1.6 MB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b8ee15d3a71c07da98c2f19258fcde079d7144a4e0f23a8d589e575b62831c50 |
|
MD5 | 733bbb8be51b2133cf2a9ca9ff1c3039 |
|
BLAKE2b-256 | 8eeeb8ade0d7458f7f1237e13f08ec207727572a3c05fe3e841dbfbe3a315817 |