eza --icons
is super cool, but a utility that displayed larger file icons using something like #sixel would be crazy cool.
What could #sixel support specifically entail that could be impacted by pledge()? #xterm is still only drawing pixels into pixmaps, sixel mode or otherwise.
Unwillingness to turn on a new (since 2013) not-very-well-tested-until-recently feature, almost certainly. NetBSD delayed turning it on until 2020. (Debian went straight for turning it on in 2013, by contrast.) But I don't see how pledge() would have had any hand in the decision.
This issue mentions that there's a total of two terminal emulators in #OpenBSD that support #sixel, but doesn't say what they are. XD
so, yeah, the other thing i want it to do is pop up a waveform display (#braille #unicode, or maybe #sixel? #whynotboth) to let you cut album rips into tracks. gonna need it for the original content too, since some of that is only archived on #youtube by this point...
i already implemented that feature in #tek, now i just gotta copy it over... ugh, i need motivation, and concentration, and medication!
Gotta give @amin props for turning me on to [Kew], the terminal music player.
This stuff is the cat's meow. It even has smexy #sixel album art and a histogram/visualizer worthy of cava.
Very easy to compile, too. Always a plus.
* R.L. Dane has flashbacks of Chernobyl-like meltdowns while compiling utilities written in Rust, lmao
P.S., @mirabilos you can add smexy to WTF, if you like. XD
I read it on fb one time and it stuck for some silly reason. I don't usually go for neologisms, but that one tickled my brain.
I really love #presenterm #linux console slides tool, it is great does have #sixel support. But I haven’t found reasonable tool for charts. I mean #gnuplot is great, but I find myself impossible for me to produce heatmap there. So I have produced in one or two hours command line tool (read code glue) consuming vega-lite high level grammar of interactive graphics to do the job. So I can plot directly in #terminal and presentern. Now I am afraid to release those about 50 lines of typescript.
Wait... how can #sixel data be so small???
Is there some #RunLengthEncoding going on??
tmp $ alias l='stat -c "%s %n"'
tmp $ l test.png
5072 test.png
tmp $ convert test.png -colors 256 test.bmp
tmp $ l test.bmp
178986 test.bmp
tmp $ img2sixel test.bmp |wc -c
33764
tmp $ #WAT
Reading Wikipedia...
> Sixel also includes a rudimentary form of compression, using run-length encoding (RLE).
Ahhhhhh. Nicely done!
Rendering markdown in terminal is cool, but how about different sizes of text? This tool got you covered!
🪶 **mdfried**: A markdown viewer for the terminal.
🚀 Supports rendering images and big headers.
🦀 Written in Rust & built with @ratatui_rs
⭐ GitHub: https://github.com/benjajaja/mdfried
#rustlang #ratatui #tui #markdown #viewer #sixel #terminal #commandline
xterm -ti vt340 &
> [Use fim (framebuffer image viewer) to] view image attachments of the fediverse even when browsing in a cli-only environment
What about chafa / Sixel?
Albeit not all terminal emulators do support Sixel, and it does not work in the console, AFAIU.
There is a fun with #Linux and also when ancient technology (#sixel) meet modern needs. Also great reusability of Linux tools helps a lot. About 5 minutes of fun and here is very hackish PDF viewer for terminal emulator with sixel support, thanks to #popplerutils and #libsixel, the rest is just wrapping 46 lines of Linux shell.
Microsoft just released 1.22 of the Windows Terminal Preview which adds support for Sixels! 🎉🚀
https://devblogs.microsoft.com/commandline/windows-terminal-preview-1-22-release/
I'm excited to see images in ta-rss showing up in better quality than the Halfblocks option 😎
@nikitonsky I wish we could #sixel or otherwise put images inline with terminals. That might go a long way toward putting diagrams "in" with code.
But using the diagrams for input? At that point it's not just code anymore. There has to be some extra-special tooling to support it. Or a VM. I guess Smalltalk is able to do this. But it certainly changes the nature of code as we typically think of it now. The "side artifact" seems inescapable.
Though maybe something like org-mode fancied up so you could toggle between data representations and diagrams/widgets?
#TIL about #lsix (https://github.com/hackerb9/lsix) and calling #xterm with the option "-ti vt340" to be able to display inline images inside an xterm—thanks to lsix having just arrived in #DebianUnstable: https://packages.debian.org/sid/lsix
These inline images (or the backend used to display them) seem to be called #sixel graphics. And they're said to work transparently through SSH. Maybe better than #chafa or #catimg.
#BloomScrolling on the terminal! 😉
Amazing stuff. Great resource to find #sixel-compatible terminals