2 unstable releases

0.3.0 Jan 23, 2020
0.2.0 Jan 19, 2020

#710 in #parser

Apache-2.0/MIT

44KB
1K SLoC

zim

A rust library and cli tool to read and extract zim files.

Build

> cargo build --release

Usage with IPFS

To add a file data.zim to ipfs do the following.

> ./target/release/extract_zim --skip-link data.zim
> ipfs add -r out
> ipfs files cp /ipfs/<outhash> /
> ipfs files mv /<outhash> /data
> ./target/release/ipfs_link /data data.zim

and then execute all commands in link.txt

License

Licensed under either of

at your option.


lib.rs:

This crate provides a pure-rust library for reading ZIM files.

ZIM files are a format used primarily to store wikis (such as Wikipedia and others based on MediaWiki).

For more into, see the OpenZIM website

Dependencies

~7MB
~149K SLoC