4 releases (2 breaking)

0.4.0 Dec 26, 2022
0.3.1 Nov 19, 2022
0.3.0 Jan 23, 2020
0.2.0 Jan 19, 2020

#2610 in Parser implementations

Apache-2.0/MIT

47KB
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

~12–20MB
~281K SLoC