HackerReposA FIELD GUIDE TO OPEN SOURCE
Join with GitHub
← Back to top all-time
dankamongmen
notcurses
C2019–2026
dankamongmen / notcurses

notcurses

blingful character graphics/TUI library. definitely not curses.

30Distinct people
48Mentions
0Explicit recommenders
4.8KGitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

blingful character graphics/TUI library. definitely not curses.

GitHub

Where it is used

No documented product use was verified in the last source check.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

Mentioned in the same Hacker News threads. That is not proof they are substitutes.

This week on Hacker News

Nov 10–Nov 17 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/17/2026, 5:04:17 AM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by year48 dated mentions

Observed mentions: 2019-12-10 13:10:42 UTC to 2026-02-18 15:01:32 UTC.

0510152019-01-01 00:00:00 UTC to 2020-01-01 00:00:00 UTC (exclusive): 1 mentions; 1 submissions, 0 comments20192020-01-01 00:00:00 UTC to 2021-01-01 00:00:00 UTC (exclusive): 8 mentions; 3 submissions, 5 comments2021-01-01 00:00:00 UTC to 2022-01-01 00:00:00 UTC (exclusive): 15 mentions; 4 submissions, 11 comments2022-01-01 00:00:00 UTC to 2023-01-01 00:00:00 UTC (exclusive): 12 mentions; 0 submissions, 12 comments20222023-01-01 00:00:00 UTC to 2024-01-01 00:00:00 UTC (exclusive): 5 mentions; 0 submissions, 5 comments2024-01-01 00:00:00 UTC to 2025-01-01 00:00:00 UTC (exclusive): 5 mentions; 3 submissions, 2 comments2025-01-01 00:00:00 UTC to 2026-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2026-01-01 00:00:00 UTC to 2027-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments. Incomplete calendar period.2026*

* An incomplete calendar period is marked with an outlined bar. Its count is not directly comparable with a full period.

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
20192019-01-01 00:00:00 UTC2020-01-01 00:00:00 UTC110
20202020-01-01 00:00:00 UTC2021-01-01 00:00:00 UTC835
20212021-01-01 00:00:00 UTC2022-01-01 00:00:00 UTC15411
20222022-01-01 00:00:00 UTC2023-01-01 00:00:00 UTC12012
20232023-01-01 00:00:00 UTC2024-01-01 00:00:00 UTC505
20242024-01-01 00:00:00 UTC2025-01-01 00:00:00 UTC532
20252025-01-01 00:00:00 UTC2026-01-01 00:00:00 UTC101
2026 (partial)2026-01-01 00:00:00 UTC2027-01-01 00:00:00 UTC101

From the project README

An excerpt from the repository, fetched Nov 13, 2026.

Read the project’s introduction
Notcurses: blingful TUIs and character graphics What it is: a library facilitating complex TUIs on modern terminal emulators, supporting vivid colors, multimedia, threads, and Unicode to the maximum degree possible. Things can be done with Notcurses that simply can't be done with NCURSES. It is furthermore fast as shit. What it is not: a source-compatible X/Open Curses implementation, nor a replacement for NCURSES on existing systems. for more information, see dankwiki and the man pages. in addition, there is Doxygen output. i wrote a coherent guidebook, which is available for free download (or paperback purchase). i've not yet added many documented examples, but src/poc/ and src/pocpp/ contain many small C and C++ programs respectively. notcurses-demo covers most of the functionality of Notcurses. If you're running Notcurses applications in a Docker, please consult "Environment notes" below. Introduction Notcurses abandons the X/Open Curses API bundled as part of the Single UNIX Specification. For some necessary background, consult Thomas E. Dickey's superb and authoritative NCURSES FAQ. As such, Notcurses is not a drop-in Curses replacement. Wherever possible, Notcurses makes use of the Terminfo library shipped with NCURSES, benefiting greatly from its portability and thoroughness. Notcurses opens up advanced functionality for the interactive user on workstations, phones, laptops, and tablets, possibly at the expense of e.g. some industrial and retail terminals. Fundamentally, Curses assumes the minimum and allows you (with effort) to step up, whereas Notcurses assumes the maximum and steps down (by itself) when necessary. The latter approach probably breaks on some older hardware, but the former approach results in new software looking like old hardware. Why use this non-standard library? Thread safety, and efficient use in parallel programs, has been a design consideration from the beginning. A more orderly surface than that codified by X/Open: Exported identifiers are prefixed to avoid common namespace collisions. Where reasonable, static inline header-only code is used. This facilitates compiler optimizations, and reduces loader time. Notcurses can be built without its multimedia functionality, requiring a significantly lesser set of dependencies. All APIs natively support the Universal Character Set (Unicode). The nccell API is based around Unicode's Extended Grapheme Cluster concept. Visual features including images, fonts, video, high-contrast text, sprites, and transparent regions. All APIs natively support 24-bit color, quantized down as necessary for the terminal. Portable support for bitmapped graphics, using Sixel, Kitty, and even the Linux framebuffer console. Support for unambiguous keyboard protocols. "TUI mode" facilitates high-performance, non-scrolling, full-screen applications. "CLI mode" supports scrolling output for shell utilities, but with the full power of Notcurses. It's Apache2-licensed in its entirety, as opposed to the drama in several acts that is the NCURSES license (the latter is summarized as "a restatement of MIT-X11"). Much of the above can be had with NCURSES, but they're not what NCURSES was designed for. On the other hand, if you're targeting industrial or critical applications, or wish to benefit from time-tested reliability and portability, you should by all means use that fine library. Requirements Minimum versions generally indicate the oldest version I've tested with; it may well be possible to use still older versions. Let me know of any successes! (build) CMake 3.21.0+ and a C17 compiler (OPTIONAL) (OpenImageIO, testing, C++ bindings): A C++17 compiler (build+runtime) From NCURSES: terminfo 6.1+ (build+runtime) GNU libunistring 0.9.10+ (OPTIONAL) (build+runtime) libgpm 1.20+ (OPTIONAL) (build+runtime) From QR-Code-generator: libqrcodegen 1.5.0+ (OPTIONAL) (build+runtime) From FFmpeg: libswscale 5.0+, libavformat 57.0+, libavutil 56.0+, libavdevice 57.0+ (OPTIONAL) (build+runtime) OpenImageIO 2.15.0+, requires C++ (OPTIONAL) (testing) Doctest 2.3.5+ (OPTIONAL) (documentation) pandoc 1.19.2+ (OPTIONAL) (python bindings): Python 3.7+, CFFI 1.13.2+, pypandoc 1.5+ (runtime) Linux 2.6+, FreeBSD 11+, DragonFly BSD 5.9+, Windows 10 v1093+, or macOS 11.4+ More information on building and installation is available in INSTALL.md. Wrappers If you wish to use a language other than C to work with Notcurses, numerous wrappers are available. Several are included in this repository, while others are external. Language Lead(s) Repository Ada Jeremy Grosser JeremyGrosser/notcursesada C++ Marek Habersack, nick black internal Dart Nelson Fernandez kascote/dart_notcurses Julia Dheepak Krishnamurthy kdheepak/Notcurses.jl Nim Michael S. Bradley, Jr. michaelsbradleyjr/nim-notcurses Python nick black internal Python igo95862 internal Rust José Luis Cruz dankamongmen/libnotcurses-sys Zig Jakub Dundalek dundalek/notcurses-zig-example Raku Matt Doughty m-doughty/Notcurses-Native Included tools Nine executables are installed as part of Notcurses: ncls: an ls that displays multimedia in the terminal ncneofetch: a neofetch ripoff ncplayer: renders visual media (images/videos) nctetris: a tetris clone notcurses-demo: some demonstration code notcurses-info: detect and print terminal capabilities/diagnostics notcurses-input: decode and print keypresses notcurses-tester: unit testing tfman: a swank manual browser To run notcurses-demo from a checkout, provide the data directory via the -p argument. Demos requiring data files will otherwise abort. The base delay used in notcurses-demo can be changed with -d, accepting a floating-point multiplier. Values less than 1 will speed up the demo, while values greater than 1 will slow it down. notcurses-tester likewise requires that data, populated with the necessary data files, be specified with -p. It can be run by itself, or via make test. Documentation With -DUSE_PAND
Read the full README on GitHub

What Hacker News says

15 sources
For those interested in learning more about terminal emulators and character graphics, checkout Nick Black's book Hacking the Planet (with Notcurses): A Guide to TUIs and Character Graphics[1]. While the overall focus of the book is on programming with Notcurses[2], the author shares a wealth of related info and history throughout its pages. [1] https://nick-black.com/htp-notcurses.pdf [2] https://github.com/dankamongmen/notcurses#readme
In Anatomy of a Terminal Emulator
The issue with Kitty is that its graphics protocol is not widespread yet, so some of the CLI/terminal programs OP uses that can do graphics output may only support sixel. But yea, personally looking forward to Foot terminal implementing one of the fancier graphics protocols, even if it feels more like a toy at the moment (until they are used more). But seriously running the notcurses[0] graphics test with a terminal supporting the kitty graphics protocol is sex, just like the program itself says. [0] https://github.com/dankamongmen/notcurses
In Show HN: Sixel-tmux displays graphics even if your terminal has no Sixel support
The key is ending the device query string with DA1 aka "Primary Device Attributes", which literally every terminal i've managed to test with responds to. Guaranteed that one answer, you completely avoid nasty timeouts. This is required for even VT100 conformance, so it can be expected on even hardware terminals (though not necessarily those outside the DEC family). I tested over 24 terminals personally, and the only one I found which didn't respond to DA1 was Terminology from EFL, which crashed forty ways to a friday anyway so who really cares? i'm glad you asked, as i'm hella proud of this entire system. you can check the code at: https://github.com/dankamongmen/notcurses/blob/master/src/li... and https://github.com/dankamongmen/notcurses/blob/master/src/li... i mean, it's tricky, and you have to think some things out pretty carefully, b
Read the rest
ut it works. everything hinges on DA1. many props to @dknl of the "foot" terminal emulator, who just kicks ass in general and first turned me on to DA1: you can see the history in bugs starting with https://github.com/dankamongmen/notcurses/issues/1469 hack on!
In Notcurses 2.4
> I don't get how you can do smooth scrolling in a terminal interface? Via a terminal bitmap rendering protocol like sixel [0], or KiTTY’s terminal graphics protocol [1]? I wonder if a library like notcurses [2] could allow for efficient rendering of text to a terminal graphics framebuffer? [0] https://saitoha.github.io/libsixel/ [1] https://sw.kovidgoyal.net/kitty/graphics-protocol/ [2] https://github.com/dankamongmen/notcurses
In Nvui: A NeoVim GUI written in C++ and Qt
I love TUIs. They are clear, quick and easy to use. Probably because they require straightforward design. I just read the following links to build up foundation of knowledge first - low-level: http://%CA%9E.cc/irl/term.html https://viewsourcecode.org/snaptoken/kilo/02.enteringRawMode... https://en.wikipedia.org/wiki/ANSI_escape_code#Colors Other libraries: # C, C++, Python and Rust https://github.com/dankamongmen/notcurses # Python, more polished presentation - but I cannot judge the technical foundation https://github.com/willmcgugan/rich
In Writing Programs with Ncurses
TUIs are wonderful. They are easy to grasp, fast and restrict requirements, everyone involved must think about the workflow and efficient usage. Input is focused entirely on the keyboard. Linux overs some modern TUIs e.g. installer, apt-stuff or the kernel config aside from that: https://invisible-island.net/ncurses/ // classic https://github.com/willmcgugan/rich // blingbling https://github.com/dankamongmen/notcurses // hacker For the old stuff I recommend looking close at airports, savings-banks or part-dealers. When it is influenced by mainframes you will notice likely forwards/backwards is done by F7/F8. How do you depict an plane with seats in TUI? I assume an array, 80 rows and 10 columns ;) I'm impressed how flawless elderly co-workers work with TUIs. They read the screen, think and type and the work is done. I guess the straight
Read the rest
workflow, clean user-interface and similarities to paper forms improve usability. I guess modal dialogs, popup warnings, status icons, right click and the modern long press are not an improvement in usability. And the many tiny icons and bars in modern text processors aren't a help either. I think we can learn a lot more from old programmers.
In Notepad++ v8 release

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.