plotext
sixel-tmux
plotext | sixel-tmux | |
---|---|---|
8 | 34 | |
1,645 | 455 | |
- | - | |
7.1 | 0.0 | |
4 months ago | 8 days ago | |
Python | C | |
MIT License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
plotext
-
Visualizing Data in the Terminal: A Simple Guide to Building a Customized Data Visualization Tool
To plot the graph, we will use a python package called plotext. Plotext lets you plot scatter, line, bar, histogram, and date-time plots (including candlesticks) directly on the terminal. First, we need to install this package.
-
A command line tool that draw plots on the terminal
Plotext works similar but isn't as magical.
https://github.com/piccolomo/plotext
-
Show HN: Simple tool for creating commandline bar charts
nice little project :)
on a tangent I was playing with https://github.com/piccolomo/plotext for a bit (especially on a data analysis server connected over ssh it's quite useful, if you don't have the bandwidth to start a jupyter notebook).
-
Zettelkasten Using Vim and Github
I have shared my Zettelkasten before, but I stumbled across plotext today. It creates plots and displays them directly in the terminal. I wrote a little python script that parses all my notes, aggregates them according to the month they were written and then plots them in a time series. Super fun little project. If your notes are file names formatted as `yyyymmddHHMM` the script should work for you as well. Hopefully someone else finds this useful.
- piccolomo/plotext: plotting on terminal
-
plotext: plotting on terminal
There’s a ticket for that https://github.com/piccolomo/plotext/issues/26
- Plotext – Python Plotting on the Terminal
sixel-tmux
-
Show HN: a Rust Based CLI tool 'imgcatr' for displaying images
It's not really that strange that tmux doesn't support sixels. It's quite a bit more complicated and resource-intensive than ANSI Escape Codes or ncurses.
It might be fine for local[1] multiplexing but over the network it is not as fast as even something like VNC or RDP.
[1] https://github.com/csdvrx/sixel-tmux/
-
Zellij – A terminal workspace with batteries included (tmux alternative)
After having spent too much time trying to get the simple https://github.com/csdvrx/sixel-tmux/ features into mainline tmux (last November https://github.com/tmux/tmux/issues/3753), maybe it'd be easier to jump ship as use zellij?
Could anyone offer recommendations on "riced" zellij configuations, or just a demo where it shows doing with (say charts of disk usage per folder), watching a movie with mpv + keeping a vim to type on?
-
I Just Wanted Emacs to Look Nice – Using 24-Bit Color in Terminals
Your approach looks very sound!
A fork of terminfo may be needed if the description of modern terminal capabilities can't be added -- or if old and deprecated attributes repurposed for that job (like in your padding example): if you're automating the correction/creation of terminfos in ~/, IMHO, it may be better to piggyback on tic as much as possible.
Anyway, to backport modern terminal descriptions to legacy programs, creating correct binary terminfos in ~/.terminfo seems the best practice. You can also invent new TERM. When I wanted to have italics etc about everywhere, personally that's just what I did for sixel-tmux: https://github.com/csdvrx/sixel-tmux/?tab=readme-ov-file#ste... : just declare a new $TERM you know to be right, and use that in the apps that let you use a little logic in their configuration file
I do that in my .vimrc:
" If Vim doesn't know the escape codes to switch to italic
-
Terminal Graphics Protocol
You can have that functionality integrated within tmux with https://github.com/csdvrx/sixel-tmux/ : if you terminal doesn't support sixels, you'll at least see something close to the picture they represent.
Then of course it's not pixel-perfect unless you make your terminal very large (like 800x240 instead of 80x24) but something being better than nothing, I'd argue it's for the better if all you can do is 80x24 with no pictures otherwise.
-
How would you work effectively with an extremely slow 56Kbps connection?
sixel-tmux can help you have both: https://github.com/csdvrx/sixel-tmux/
-
Are We Sixel Yet
See also rant[1] of sixel-tmux author.
> It's 2021, and we should be able to do litterate programming in the console, with full graphical support.
Yeah. We are stuck cosplaying computers from the sixties.
What's even funnier, even if you find a modern terminal emulator that supports features like ligatures, graphics, emoji etc. you still will be blocked by tmux. Sure - not everyone needs tmux. If you never work on remote machines, you can live without it.
But I work on remote machines all the time. I also use Kakoune text editor that defers window management to external tools (WM or tmux, but to be honest, tmux is much better). Zellij is more of r/unixporn bait than usable tool for now. So I'm stuck with text only interface.
[1]: https://github.com/csdvrx/sixel-tmux/blob/main/RANTS.md
-
UnicodePlots
> Some terminal emulators have support for images, which fit most of the use cases here but not the one I described.
That what sixel-tmux is for, when you're in a hurry and needs images with your current terminal emulator: https://github.com/csdvrx/sixel-tmux
- Some maintainers are holding users hostage to favor their preferred formats
-
Anyone know a Prefixed based terminal emulator that supports Image Preview of some sort? Tmux style keybindings, for splits, tabs, and sessions
Maybe tmux-sixel does that tmux sixel
-
Switched Back to Windows After a Year and a Half of Linux
If you want some crazy shit like sixels or italics and ligatures, try msys2 that's what I've used for the screenshot. The only thing comparable on Linux in term of features is xterm and, that's another story.
What are some alternatives?
barchart - Make bar charts on the terminal.
sixvid - Simple script for animated GIF viewing using sixels
gnuplotlib - gnuplot for numpy
viu - Terminal image viewer with native support for iTerm and Kitty
feedgnuplot - Tool to plot realtime and stored data from the commandline, using gnuplot.
Windows Terminal - The new Windows Terminal and the original Windows console host, all in the same place!
matplotlib-terminal - Matplotlib backend to plot in terminal using matrach/img2unicode
iterm2
UnicodePlots.jl - Unicode-based scientific plotting for working in the terminal
mpv - 🎥 Command line video player
Zettelkasten - My personal zettelkasten.
FFmpeg-SIXEL - Experimental fork git://source.ffmpeg.org/ffmpeg.git