Research-Stack/2-Search-Space/search/stract/crates/zimba
2026-05-04 18:11:36 -05:00
..
src initial: sovereign research stack (consolidated, weightless, and lfs-optimized) 2026-05-04 18:11:36 -05:00
Cargo.toml initial: sovereign research stack (consolidated, weightless, and lfs-optimized) 2026-05-04 18:11:36 -05:00
LICENSE initial: sovereign research stack (consolidated, weightless, and lfs-optimized) 2026-05-04 18:11:36 -05:00
README.md initial: sovereign research stack (consolidated, weightless, and lfs-optimized) 2026-05-04 18:11:36 -05:00

Zimba

Zimba is a parser for the Zim file format written in pure Rust. Zim files are commonly used e.g. by wikipedia to distribute dumps of their articles for offline usage. Zimba only intends to support reading of Zim files, not writing.

Usage

use zimba::{ZimFile, Error};

fn main() -> Result<(), Error> {
    let zim_file = ZimFile::open("path/to/file.zim")?;

    for article in zim_file.articles()? {
        println!("{}", article.title);
    }

    Ok(())
}

License

Zimba is licensed under the MIT license. See the LICENSE file for details.