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.tar.gz
(7.8 MB
view details)
Built Distribution
sotoki-0.8-py2-none-any.whl
(8.1 MB
view details)
File details
Details for the file sotoki-0.8.tar.gz
.
File metadata
- Download URL: sotoki-0.8.tar.gz
- Upload date:
- Size: 7.8 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 509a523b4922c371b5f257bd44c41ed4112440ab0e741782d76fdefd1ee7b661 |
|
MD5 | 7d2a3efb118d192bff2fa1eee02efb70 |
|
BLAKE2b-256 | 7eaf2f8f01640a600ff974cb4625292af25b03afe37e0cae43f77ce0e8a88c74 |
File details
Details for the file sotoki-0.8-py2-none-any.whl
.
File metadata
- Download URL: sotoki-0.8-py2-none-any.whl
- Upload date:
- Size: 8.1 MB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | afac8319e5e70d03a534dc0f5429c7c05c16bb8bb0298a1ee9f465d9d75e9f8c |
|
MD5 | e43676e3b546e7e5bb4e10da4a8f3bea |
|
BLAKE2b-256 | fd92957176494bac9e56f10ce9b643bfc59a640eeab6649e221ed7a45602554d |