Software engineer Omar Soutari has released Instagui, an open-source tool that automatically generates web-based graphical interfaces for command-line programs. The tool addresses a common frustration among developers and system administrators who struggle to remember complex command flags and options for utilities like ffmpeg and other CLI tools.
Instagui works by parsing a CLI tool's help documentation, sending it to Anthropic's Claude AI for processing, and generating a JSON schema that defines a web interface. This interface runs locally in the user's default browser, allowing users to interact with command-line tools through form fields and buttons rather than memorizing syntax. Unlike existing solutions such as Gooey, which requires Python developers to modify their code with decorators, Instagui operates externally and works with any binary in any programming language.
The tool includes several technical safeguards to ensure secure operation. Commands execute through an argument array without shell access, preventing injection attacks through form inputs. The web server binds exclusively to localhost, and state-changing requests undergo origin checking. The interface displays the exact command before execution, serving both as a transparency measure and a teaching tool for users learning CLI syntax. Results are validated against strict schemas, and Soutari has included pre-verified schemas for popular tools including ffmpeg, yt-dlp, and pandoc.
While Instagui requires Claude API access to generate new schemas, the cost model is designed for minimal expense. Each CLI tool requires only a single API call to create its schema, which is then cached locally for future use. The bundled tools work without any API key, and Soutari estimates the per-tool cost at pennies. Users can review and edit the generated JSON schemas to correct any errors in Claude's interpretation of the help text.
Instagui version 0.1 is available on GitHub under an open-source license. Soutari welcomes community contributions of additional schemas and plans to expand the library of pre-verified tools in future releases. Security-conscious users should note that while the tool includes multiple safety controls, it is an early release that may contain bugs. Organizations considering deployment should review the generated schemas and test thoroughly before using Instagui with sensitive systems or data.
Source: https://www.theregister.com/software/2026/07/07/new-tool-gives-clis-a-warm-and-gui-feeling-instead/5267798


