awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
antirez avatar

antirez/linenoise

0
View on GitHub↗

Linenoise

Linenoise is a lightweight C library for terminal line editing, command history management, and asynchronous input processing. It functions as a self-contained alternative for capturing user input from the command line without requiring external dependencies.

The utility provides a non-blocking input processor that handles keyboard data via a feed mechanism, allowing applications to process user typing and external events simultaneously. It supports the implementation of custom shells and REPLs through features such as callback-based autocompletion, input hinting, and a circular history buffer for command retrieval.

The library covers a broad range of terminal interface capabilities, including raw-mode input capture, secure credential masking for sensitive data, and multi-line editing. It also includes basic screen management and ANSI sequence rendering for cursor and display manipulation.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Features

  • CLI Development Toolkits - Provides the essential building blocks for creating interactive terminal applications with line editing and history.
  • Terminal Line Editing - Provides a complete system for terminal text capture with support for line editing, history, and configurable display modes.
  • CLI User Interaction Utilities - Provides a mechanism for capturing interactive text input with real-time line editing in a CLI environment.
  • Readline Interfaces - A lightweight C implementation of a readline interface providing history, editing, and autocompletion.
  • Command Line Input Utilities - Provides a utility for capturing and managing text input and history within command-line prompts.
  • Interactive Input Readers - Provides a robust system for capturing terminal input with support for multi-line editing and custom prompts.
  • Line Editors - Provides a self-contained terminal line editor for managing user input and command editing in real-time.
  • Terminal Input Autocompletion - Implements predictive suggestions for commands and arguments specifically designed for command-line interface environments.
  • Non-Blocking Standard Input Readers - Implements a non-blocking reader for standard input that allows interleaving user typing with other asynchronous events.
  • Asynchronous Input Handling - Handles keyboard input non-blockingly to allow simultaneous processing of network events and user typing.
  • Raw Mode Input Handlers - Provides utilities to disable canonical mode and capture individual keystrokes directly from the terminal.
  • Callback-Driven Suggestions - Provides a callback mechanism allowing developers to implement custom logic for command autocompletion.
  • Line Edit Buffers - Maintains a dynamic string and cursor position to manage real-time edits before the line is committed.
  • Command History Managers - Manages the storage and retrieval of previously entered commands using a circular buffer and disk persistence.
  • Shell Implementations - Provides the core primitives necessary to implement a custom command shell or REPL.
  • Circular Memory Buffers - Uses a circular memory buffer to store a fixed-size list of previous commands for rapid recall.
  • ANSI Escape Sequence Renderers - Implements the generation of raw ANSI control codes to manipulate cursor movement and screen content.
  • Ghost Text Suggestions - Provides ghost text and optional colors to the right of the cursor to suggest possible commands.
  • Command Line Interfaces - Small self-contained alternative to readline.
  • Developer Tools and Utilities - Lightweight readline replacement for CLI tools.
  • User Interface Frameworks - Terminal readline with history support.
  • Windows Environments - Listed in the “Windows Environments” section of the Awesome C awesome list.
4,371 stars·742 forks·C·BSD-2-Clause·37 views

Star history

Star history chart for antirez/linenoiseStar history chart for antirez/linenoise

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

Frequently asked questions

What does antirez/linenoise do?

Linenoise is a lightweight C library for terminal line editing, command history management, and asynchronous input processing. It functions as a self-contained alternative for capturing user input from the command line without requiring external dependencies.

What are the main features of antirez/linenoise?

The main features of antirez/linenoise are: CLI Development Toolkits, Terminal Line Editing, CLI User Interaction Utilities, Readline Interfaces, Command Line Input Utilities, Interactive Input Readers, Line Editors, Terminal Input Autocompletion.

Which projects share features with antirez/linenoise?

Projects with overlapping indexed features include: peterbrittain/asciimatics — Asciimatics is a cross-platform terminal user interface framework and console wrapper. It functions as a… c-bata/go-prompt — go-prompt is a library for building interactive command-line interfaces in Go. It serves as a cross-platform console… lzybkr/psreadline — PSReadLine is a command line editor for PowerShell that provides advanced line editing and command history management.… snaptoken/kilo-tutorial — This project is an educational resource designed to teach low-level software development through the incremental… acheong08/chatgpt — This project is a command line AI client and API wrapper designed to facilitate interaction with a large language… alecaivazis/survey — Survey is a Go interactive prompt library and terminal user interface toolkit used to build command line interfaces…

Projects sharing features with Linenoise

These projects share indexed features with Linenoise. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • peterbrittain/asciimaticspeterbrittain avatar

    peterbrittain/asciimatics

    4,310View on GitHub↗

    Asciimatics is a cross-platform terminal user interface framework and console wrapper. It functions as a curses-compatible library providing a toolkit for building interactive text-based applications, an ASCII art generator, and a terminal animation engine. The project distinguishes itself through a visual effects engine capable of rendering sprites, particle systems, and anti-aliased lines. It includes specialized systems for creating moving text-based graphics and tools for converting image files into character-based representations. The framework covers core terminal management including

    Pythonascii-artconsolecross-platform
    View on GitHub↗4,310
  • c-bata/go-promptc-bata avatar

    c-bata/go-prompt

    5,498View on GitHub↗

    go-prompt is a library for building interactive command-line interfaces in Go. It serves as a cross-platform console UI framework and terminal input manager, providing the tools necessary to capture user input and execute commands through a persistent interactive loop. The library features a dedicated auto-completion engine that provides real-time command suggestions. It also supports dynamic prompt prefixes updated via callback functions and a system for managing and recalling command history. The framework covers a broad range of terminal capabilities, including keyboard shortcut mapping,

    Goclicommand-lineinteractive
    View on GitHub↗5,498
  • lzybkr/psreadlinelzybkr avatar

    lzybkr/PSReadLine

    4,304View on GitHub↗

    PSReadLine is a command line editor for PowerShell that provides advanced line editing and command history management. It functions as a suite of tools for enhancing the interactive shell experience through a Bash-inspired implementation of editing, completion, mapping, synchronization, and highlighting. The project includes an interactive completion engine for navigating suggestions via a menu system and a keyboard mapping tool for assigning shortcuts to custom actions. It also features a session history synchronizer that automatically saves and shares command history across multiple active

    C#
    View on GitHub↗4,304
  • snaptoken/kilo-tutorialsnaptoken avatar

    snaptoken/kilo-tutorial

    972View on GitHub↗

    This project is an educational resource designed to teach low-level software development through the incremental construction of a functional terminal-based text editor. It provides a step-by-step curriculum that guides users through the process of building an interactive application from scratch using C and standard terminal input handling. The tutorial distinguishes itself by utilizing an incremental implementation pattern, where each functional milestone builds upon previous code to ensure a manageable learning curve. To support this process, the project includes a command-line utility tha

    View on GitHub↗972
Compare all 30 related projects→