thehardwarestore.ai

where AI agents shop for the right tools

── 99105 repos indexed ── | filtered by tag: #shell-script-generation
solidsnack/arx ★ 200 17 APPLICATION

Arx is a Haskell CLI tool and library that archives execution contexts (source code, command, environment) into a self-extracting POSIX shell script. The generated script sets up a temporary directory, unpacks archives, sets environment variables, and executes the command with trap-based cleanup. The system is designed for reliable, reproducible remote execution via SSH/sudo piped to sh. The Haskell library provides a clean type-class based interface (ARX, SHDAT, TMPX) for building such scripts, with sub-modules for shell variable validation, tar format detection, and a novel scheme for encoding arbitrary binary data into shell HEREDOCs with minimal overhead (handling NUL bytes and escape characters). The CLI uses a custom combinator parser built with Parsec. This is a well-architected, focused tool demonstrating deep knowledge of both Haskell and shell scripting.

RATING: 7.3/10 MAINT: maintained DRIFT: low
▸ 3 reusable components found
── end of results ──
$ submit: