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
```
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
```
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.2.tar.gz
(813.6 kB
view details)
Built Distribution
sotoki-0.2-py2-none-any.whl
(875.8 kB
view details)
File details
Details for the file sotoki-0.2.tar.gz
.
File metadata
- Download URL: sotoki-0.2.tar.gz
- Upload date:
- Size: 813.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8dd0d568359eb1369011bae708781d75d9d6564d2c21e579e5cfeb3cbf664e0e |
|
MD5 | ad5df878d16d4af09030036296d869e6 |
|
BLAKE2b-256 | f6b4f688b016a59f5cb4d7625f01431e26e03c357d9bf24c635c09f706908383 |
File details
Details for the file sotoki-0.2-py2-none-any.whl
.
File metadata
- Download URL: sotoki-0.2-py2-none-any.whl
- Upload date:
- Size: 875.8 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1123269d943d037a7be7404743722581ee5a5a24c92082141cd7d2a15202732b |
|
MD5 | e41d19ee7dcbd025c042bcf9a2bd654e |
|
BLAKE2b-256 | f67ca87190742284feae8f2e4d64e9fd132de4dd86a58cb39582e6d18c37543f |