A BSD-licensed readline and libedit replacement with UTF-8 support, syntax highlighting, hints, and cross-platform compatibility.
Replxx is a BSD-licensed drop-in replacement for GNU readline and libedit that provides advanced line-editing features for command-line applications. It solves the licensing limitations of GPL-licensed readline while adding modern features like UTF-8 support and syntax highlighting. The library is designed to work across Linux, Windows, and macOS with minimal configuration.
C/C++ developers building command-line tools, REPLs, or interactive terminal applications that require sophisticated line editing. It's particularly valuable for projects that cannot use GPL-licensed readline due to licensing restrictions.
Developers choose Replxx because it offers permissive BSD licensing while providing comparable functionality to readline, plus additional features like syntax highlighting and better UTF-8 support. Its zero-configuration approach and cross-platform compatibility make it an easy drop-in solution.
A readline and libedit replacement that supports UTF-8, syntax highlighting, hints and Windows and is BSD licensed.
Allows use in proprietary and open-source projects without GPL restrictions, as emphasized in the project description for Apache2 or BSD licensed programs.
Works on Linux, Windows, and macOS consoles with tested support for various terminals, ensuring broad usability for command-line applications.
Includes syntax highlighting and smart hints, providing real-time color coding and contextual suggestions beyond basic line editing.
Designed as a drop-in replacement for readline/libedit with no external dependencies, following a zero-configuration philosophy for easy integration.
Has a smaller community and fewer third-party extensions compared to GNU readline, which may limit advanced customization or bug fixes for edge cases.
Requires CMake and Visual Studio for compilation, as shown in the build instructions, which can be more involved than package manager installations on other platforms.
The README covers basics but lacks detailed API references or tutorials for advanced features like custom hint implementations, potentially increasing integration time.
replxx is an open-source alternative to the following products:
libedit is a command line editing library that provides line editing and history capabilities for interactive programs, similar to GNU Readline.
GNU Readline is a library for command-line interfaces that provides line editing, history, and tab completion features for interactive programs.
:computer: C++ Functional Terminal User Interface. :heart:
Lightweight C++ command line option parser
CLI11 is a command line parser for C++11 and beyond that provides a rich feature set with a simple and intuitive interface.
ImTui: Immediate Mode Text-based User Interface C++ Library
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.