Hacker GitHub

← All repos

antirez/linenoise

View on GitHub ↗ ★ 4,370 C

A small self-contained alternative to readline and libedit

16 mentions on Hacker News by 16 people: 5 stories, 11 comments · first 2010-03-22 · latest 2026-01-21

Mentions per year 16 mentions · busiest year 2010 (3)
20082026
  1. …examples of code, so lets do that. He mentions adding utf-8 to his toy terminal input project -> https://github.com/antirez/linenoise/commit/c12b66d25508bd70... It's a very useful feature to add, without a doubt! His library is better than…
  2. …code antirez described in the OP, if you want to see what expert usage of Claude Code looks like: https://github.com/antirez/linenoise/commit/c12b66d25508bd70... and https://github.com/antirez/linenoise/commit/a7b86c17444227aa...
    comment by simonw · 2026-01-11 · in Don't fall into the anti-AI hype
  3. …for example. Way better than one might expect! [1]: https://github.com/kkawakam/rustyline [2]: https://github.com/antirez/linenoise [3]: https://github.com/nushell/reedline
    comment by xpe · 2026-01-05 · in I switched from VSCode to Zed
  4. ….com/prompt-toolkit/python-prompt-toolkit ), * chalk ( https://github.com/chalk/chalk ), * linenose ( https://github.com/antirez/linenoise ), and * plenty of other random programs. Please, let's just stop doing things this way. I…
    comment by quotemstr · 2025-02-09 · in Some terminal frustrations
  5. In a similar vein there's also Linenoise form the creator of Redis. https://github.com/antirez/linenoise
    comment by g0xA52A2A · 2022-11-29 · in Keyboard shortcuts for GNU Readline
  6. …alternative to readline and libedit written by antirez who also wrote something called Redis. 0: https://github.com/antirez/linenoise
    comment by unmole · 2019-08-23 · in Things to Know About GNU Readline
  7. …project that you don't want to be "infected" by the GPL, take a look at anitrez' Linenoise project: https://github.com/antirez/linenoise It doesn't have all the bells and whistles as Readline, but chances are, you won't miss them anyway.
    comment by cbm-vic-20 · 2019-05-14 · in The Missing Readline Primer
  8. The last REPL I wrote used linenoise ( https://github.com/antirez/linenoise ) instead of readline, and it worked great for us. You may need more of readline's features than we did, but it's worth a look.
  9. …readline in some smallish utility is that it's a pretty big library, so that might help out. 1: https://github.com/antirez/linenoise
    comment by kemayo · 2011-08-06 · in Designing command-line interfaces
  10. …old GNU readline in about 400 lines of C for only the 99.99% of users who are on VT100 terminals. http://github.com/antirez/linenoise
    comment by lsb · 2010-06-08 · in The LLDB Debugger
  11. There is linenoise ( http://github.com/antirez/linenoise ) but not Redis ( http://github.com/antirez/redis ). Looks very strange :)
    comment by antirez · 2010-06-01 · in Top 50 GitHub Projects on Twitter