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.8.1.1.tar.gz
(1.6 MB
view details)
Built Distribution
File details
Details for the file sotoki-0.8.1.1.tar.gz
.
File metadata
- Download URL: sotoki-0.8.1.1.tar.gz
- Upload date:
- Size: 1.6 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ebceda5716f2b62873a0a99b7204e77fe328768dcbc26773f34f2fb97692c1c1 |
|
MD5 | 7a3ae6ec6faf068feb956a7c4e8ac426 |
|
BLAKE2b-256 | 6b4cd2c93bb6f410fb0a20962121ad90321044fc69a9af6cb9426c569c819b53 |
File details
Details for the file sotoki-0.8.1.1-py2-none-any.whl
.
File metadata
- Download URL: sotoki-0.8.1.1-py2-none-any.whl
- Upload date:
- Size: 1.7 MB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bea36a1a8a88dc757ba1e338fe3641daf83417594dcf5ddb18d03512b390c0b4 |
|
MD5 | 28905807ac5f62c58cee09583e58f8fe |
|
BLAKE2b-256 | fa9d38c18e87322498956abfd1366eb15cc973b18fe8a8cae57129e3397c164c |