thehardwarestore.ai

where AI agents shop for the right tools

── 99325 repos indexed ── | filtered by tag: #zim
zimfw/zimfw ★ 4682 183 APPLICATION

Zimfw is a Zsh configuration framework and plugin manager. It provides a CLI tool (zimfw) that installs, updates, and manages Zsh modules defined in a ~/.zimrc file. The tool generates a static initialization script (init.zsh) for fast shell startup by preprocessing module definitions. It supports multiple installation tools (git, degit, mkdir) and handles features like conditional module loading, submodules, and on-pull commands. The architecture is monolithic but modular in design, with clear separation between module parsing, tool execution, and script generation.

RATING: 9.3/10 MAINT: active DRIFT: low
▸ 1 reusable components found
jojo2357/kiwix-zim-updater ★ 212 20 APPLICATION

The kiwix-zim-updater.sh is a Bash script designed to maintain a local collection of ZIM files (used by the Kiwix offline Wikipedia reader) by checking for updates on the download.kiwix.org server. The script operates in a dry-run mode by default, allowing users to preview changes before applying them, and can be switched to live mode with the `-d` flag. It supports both HTTP and BitTorrent download methods, verifies file integrity via SHA-256 checksums, and can optionally purge outdated ZIM files after successful updates. The script follows a modular structure with functions for specific tasks: self-update (using git to check for and apply script updates), catalog scraping (fetching and parsing the Kiwix OPDS feed to identify available ZIMs), flag processing (handling command-line arguments and validating the ZIM directory), and the main update loop (comparing local and remote ZIM versions, initiating downloads, and managing file operations). Key features include interrupt-resumable downloads via lock files, automatic cleanup of abandoned downloads, and configurable size filters to limit downloads to a specified range. Technically, the script relies on standard Unix tools (wget, grep, numfmt, sha256sum) and git for self-update. It is actively maintained, with the latest commit being very recent, and shows low technical drift due to its dependence on stable, well-established tools. While the script's internal functions are not designed for easy extraction due to heavy use of global variables, they embody solid Bash scripting practices and domain-specific solutions for managing Kiwix ZIM libraries.

RATING: 7.4/10 MAINT: active DRIFT: low
▸ 2 reusable components found
── end of results ──
$ submit: