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
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> <publisher> [--directory=<dir>] [--nozim] [--tag-depth=<tag_depth>] [--threads=<threads>] [--zimpath=<zimpath>] [--reset] [--reset-images] [--clean-previous] [--nofulltextindex] [--ignoreoldsite] [--nopic] [--no-userprofile]
```
You can use `sotoki -h` to have more explanation about these options
*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
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> <publisher> [--directory=<dir>] [--nozim] [--tag-depth=<tag_depth>] [--threads=<threads>] [--zimpath=<zimpath>] [--reset] [--reset-images] [--clean-previous] [--nofulltextindex] [--ignoreoldsite] [--nopic] [--no-userprofile]
```
You can use `sotoki -h` to have more explanation about these options
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.9.1.tar.gz
(1.6 MB
view details)
Built Distribution
File details
Details for the file sotoki-0.9.1.tar.gz
.
File metadata
- Download URL: sotoki-0.9.1.tar.gz
- Upload date:
- Size: 1.6 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.10.0 pkginfo/1.4.2 requests/2.18.4 setuptools/38.6.0 requests-toolbelt/0.8.0 tqdm/4.19.8 CPython/2.7.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fa2d20b59bf29be52a06c7bd80e7b80ace3fdeaa445ce58b8a616bbf28338ba6 |
|
MD5 | d128d9b5e653c285ea890dafbdb90092 |
|
BLAKE2b-256 | ce10b123fd27510f8931b544ad91e277059326b268b77aee3971678ec6f83db2 |
File details
Details for the file sotoki-0.9.1-py2-none-any.whl
.
File metadata
- Download URL: sotoki-0.9.1-py2-none-any.whl
- Upload date:
- Size: 1.6 MB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.10.0 pkginfo/1.4.2 requests/2.18.4 setuptools/38.6.0 requests-toolbelt/0.8.0 tqdm/4.19.8 CPython/2.7.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b7644f086b0894f3bf7517e0d58069354aacbfbaff1e77f1299bb6c33f5eb30a |
|
MD5 | dbeaff1afe95ddf73456381c6a28278f |
|
BLAKE2b-256 | 97ad9201aa720374279070906275172b7d6099abd8b8d7cde1190f5565a8e671 |