pbrouillet is an independent software publisher maintaining an open-source project on GitHub, with a catalog currently consisting of a single specialized developer tool. The flagship product, gh-autoswitch, is a command-line utility designed to streamline workflows for developers who operate multiple GitHub accounts from the same machine. The tool automatically switches the active account managed by the official GitHub CLI (gh) before HTTPS-based git remote operations take place, eliminating a common source of friction for users who separate personal, professional, or client-related repositories under different identities. By intercepting remote operations and ensuring the correct account credentials are active, gh-autoswitch helps prevent authentication failures, mistaken commits pushed under the wrong identity, and the repetitive manual steps of logging in and out between projects. A notable feature of the tool is its configuration editor built with Ratatui, a Rust library for creating rich terminal user interfaces, which allows users to manage account-to-project mappings through an interactive, keyboard-driven experience directly in the terminal rather than by hand-editing configuration files. This places the product squarely within the developer tooling and command-line productivity category, with particular relevance to software engineers, freelancers, open-source contributors, and consultants who routinely juggle multiple GitHub identities across repositories. Typical use cases include automating account selection when cloning, fetching, pulling, or pushing over HTTPS, maintaining clean separation between work and personal codebases, and reducing configuration overhead in multi-account environments. As an open-source project hosted on GitHub, the software reflects a community-oriented development model in which users can inspect the source code, report issues, and contribute improvements through the publisher's public repository.
Auto-switch the active gh account before HTTPS git remote operations, with a Ratatui config editor.
Details