Live data from Hacker News

Notcurses: Blingful character graphics/TUI library

github.com

31–40 of 49 posts

Re: Notcurses: Blingful character graphics/TUI library

#31
post #22

The same primary author just recently published a novel as well. If you enjoy the writing style of the readme/faq you may enjoy it too. Feels like it might be a good vacation read. midnight's simulacra https://a.co/d/8tcx82V

Posting an affiliate link is frowned upon, btw.

Link without affiliate tracking: https://www.amazon.com/dp/B0CRP2MM28

Re: Notcurses: Blingful character graphics/TUI library

#32

this guy is clearly some sort of genius. i love this so much. incredible.

His Bio on Amazon:

Computer scientist, nuclear engineer, clandestine chemist, novelist. nick black holds numerous degrees from Georgia Tech, and has worked at Nvidia, Google, and Intel, in addition to founding several companies. He's currently a principal engineer on Microsoft's Orbital space team.

https://www.amazon.com/stores/author/B086T64DLG/about

Re: Notcurses: Blingful character graphics/TUI library

#33
post #4

For the handful slightly fancy TUI applications I wrote, I had some fun in just using raw escape sequences. I really like the buildkit output style, I couldn't figure out how to do something like this – multiline output without a full-term application – with curses, so I did it myself.

I suppose you don't worry about the termcap madness and just rely on terminals being compatible enough?

Re: Notcurses: Blingful character graphics/TUI library

#34
post #10

The FAQ has some interesting entries: Can I use Notcurses in my closed-source program? Notcurses is licensed under Apache2, a demonstration that I have transcended your petty world of material goods, fiat currencies, and closed sources. Implement Microsoft Bob in it. Charge rubes for it. Put it in your ballistic missiles so that you have a nice LED display of said missile's speed and projected yield; right before imp…

Someone clearly understands what open source is about. It's a pet peeve of mine when devs pick permissive licenses and then act all appalled when it's inevitably not taken as do-no-evil copyleft.

If you have expectations, spell them out! We are not mind readers, different people and projects happen in very different contexts and backgrounds. Assuming or even worse, asserting, that there are some common principles or standards beyond whats written down is just narrowminded and maybe even hypocritical.

Re: Notcurses: Blingful character graphics/TUI library

#35
post #33
post #4

For the handful slightly fancy TUI applications I wrote, I had some fun in just using raw escape sequences. I really like the buildkit output style, I couldn't figure out how to do something like this – multiline output without a full-term application – with curses, so I did it myself.

I suppose you don't worry about the termcap madness and just rely on terminals being compatible enough?

Absolutely, yes, should've mentioned that. Most of these tools are for internal use at my company and I know what terminals they run in – even better: I can just test it.

But honestly, some of these run in tmux on my machine and in the Windows Terminal in production and both do the same thing. I guess if you assume modern, emulated terminals and don't do exotic stuff (I mostly move the cursor and clear lines), you can go some way without termcap. It's a tool from a time when terminals where physical machines.

Re: Notcurses: Blingful character graphics/TUI library

#36
post #22

The same primary author just recently published a novel as well. If you enjoy the writing style of the readme/faq you may enjoy it too. Feels like it might be a good vacation read. midnight's simulacra https://a.co/d/8tcx82V

Posting an affiliate link is frowned upon, btw.

No affiliate link there (at least not intentionally) that’s the link that Amazon app brings up with share/copy link functionality. Mods feel free to alter/delete as needed.

Re: Notcurses: Blingful character graphics/TUI library

#37
I remember when I decided I wanted to create a TUI for ROS2, I went through tens of libraries trying to figure out which would be best suited for what I wanted. I remember stumbling upon Nick's book "Hacking the planet with Notcurses". I Loved his attitude and passion, and felt it was fitting for what I was working on.

I was always impressed by how clean and consistent Notcurses was, I never found myself wanting for functionality or power. It was always performant and stayed out of my way when I was doing the un-orthodox. I consider it a shining example of the kind of culture that got me into this sort of thing. I look forward to working with it again when I find the excuse!

Re: Notcurses: Blingful character graphics/TUI library

#40
post #20
post #5

Earlier quoted context omitted.

There’s also a yt video showing a demo that can be run after installing notcurses: https://www.youtube.com/watch?v=dcjkezf1ARY Pretty hefty.

Is it able to show actual videos or is that just to make the demo more interesting and inserted externally? I would like to combine something like this with https://github.com/runvnc/tersenet or some of those ideas.

It can show actual videos using the Sixel protocol. You already have terminals that support it too. Just run `xterm -ti 340`. In that terminal, run an application such as Gnuplot:

    gnuplot -e "set terminal sixelgd;set hidden3d;set view 62, 30, 1.1, 1.2;set samples 50, 50;set isosamples 51;set contour base;set cntrparam order 8;set cntrparam bspline;splot [-12:12.01] [-12:12.01] 2*sin(sqrt(x**2+y**2)) / sqrt(x**2+y**2)+x/53+y/37"
Post reply on HN