TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Marriage of ffmpeg and terminal TUIs, notcurses 1.1.0

1 pointsby dankamongmenover 5 years ago
I just cut 1.1.0 of my new(ish) TUI library, notcurses. I started work on it back in November, and it&#x27;s now IMHO pretty fit for general use.<p>1.1.0 demo: https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=-H1WkopWJNM<p>github: https:&#x2F;&#x2F;github.com&#x2F;dankamongmen&#x2F;notcurses<p>wiki: https:&#x2F;&#x2F;nick-black.com&#x2F;dankwiki&#x2F;index.php&#x2F;Notcurses<p>notcurses is an obvious intellectual descendant of NCURSES, which Thomas E. Dickey has masterfully developed and maintained for decades. notcurses breaks away from the prelapsarian X&#x2F;Open Curses API, but its interface will be quite familiar to experienced NCURSES programmers. For new TUI developers, I hope that notcurses has fewer gotchas than NCURSES. notcurses supports 24-bit DirectColor RGB as its primary color specification (though palette indexed color is also supported, for its bandwidth benefits).<p>Almost anything you can do in NCURSES can be done in notcurses, though a few things (most especially menus) must currently be handrolled. In addition, there&#x27;s rich support for various types of transparency&#x2F;color blending, image rendering, fades, giant virtual planes, z-axis depths of thousands of planes, and other good stuff.<p>Experimental Python wrappers are included in this release. I hope to cut C++ and Rust wrappers soon.<p>Please take a look, and give the demo a local run if you&#x27;ve the time. Feedback and&#x2F;or bug reports would both be invaluable.<p>If you&#x27;d like to see a real app using notcurses, my growlight tool has been adapted to it:<p>https:&#x2F;&#x2F;github.com&#x2F;dankamongmen&#x2F;growlight<p>This was several thousand lines of NCURSES UI code. Switching it to notcurses was a generally painless procedure of a few hours.

no comments

no comments