TermGL
chafa
TermGL | chafa | |
---|---|---|
7 | 31 | |
274 | 2,626 | |
- | - | |
7.1 | 9.0 | |
10 months ago | 14 days ago | |
C | C | |
MIT License | GNU Lesser General Public License v3.0 only |
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.
TermGL
-
Stop scanf from waiting for the user input
Non-blocking IO is probably your best bet. As someone who's spent a while programming for the command-line, I actually implemented a non-blocking read function for both windows and *nix, the output of which could simply be passed to sscanf. Take a look at the tglutil_read function from line 1092 here
- I created TermGL: A Cross-Platform 2D & 3D Graphics Library in the Terminal
- TermGL Release 1.0: Cross-Platform Graphics in the Terminal
-
I'm giving out microgrants to open source projects for the third year in a row! Brag about your projects here so I can see them, big or small!
TermGL is my open-source terminal graphics library, capable of both 2D and 3D color ASCII graphics in the terminal. It's written in C and only uses the standard library, so using it is really is as simple as importing the source files and compiling them.
- Created a terminal-based 3D graphics library written in C (/r/C_Programming)
- Peeps I found a cool use for your GPU accelerated terminals!!!
- Created a terminal-based 3D graphics library written in C
chafa
-
what terminal emulator would you recommend?
Like some people here and under this post said, I like Kitty and would recommend it to anyone who uses/used Alacritty, as they are very similar in surface. I actually switch between Alacritty and Kitty pretty often, depending on my "mood". I recently went back to Kitty for image support (through chafa though, for better compatibility across terminal emulators). However, Wayland support is poor and I have some issues with fonts being too bold, although it could just be my config...
-
ASCII-Gen, a Rust CLI tool that converts images to ASCII art
If you use a more modern terminal you can also use stuff like:
https://hpjansson.org/chafa/
-
UPDATE: image.nvim - Color Support
There's also https://github.com/princejoogie/chafa.nvim, which wraps https://github.com/hpjansson/chafa Did you know about that? I wonder what the differences between your plugin and that one are?
-
chafa.py - Terminal graphics with Python
Hello r/Python! I'm here to introduce you to a project I've been working on called chafa.py source. These are Python bindings for the amazing terminal image visualizer Chafa.
-
preview images directly in neovim
this is a plugin that wraps the functionality of chafa into neovim. chafa is a way to display images in the terminal by converting it into ANSI escape sequences.
-
Terminal Image and PDF Not Rendered Right/Blocky
I guess it is using https://github.com/hpjansson/chafa for that, and it needs to be using https://github.com/seebye/ueberzug/tree/2c55173878906c3b221cdef16cf083f0c412bb58
- Does someone have an idea how one could create such an effect?
-
Hacker News top posts: Sep 13, 2022
Chafa: Terminal Graphics for the 21st Century\ (13 comments)
- Terminal Graphics for the 21st Century
-
ANSIArt
See also https://github.com/hpjansson/chafa which is an image -> ANSI art library written in C. I built it into my BBS so users can embed images in their posts. Some turn out better than others but it gives the board a unique feel at least.
What are some alternatives?
IBM3161-font - The monospaced bitmap font from IBM's 1985 'ASCII Display Station' (terminal), the IBM 3161. Includes versions for a multitude of devices and platforms. (Also on gitlab: https://gitlab.com/wyatt8740/IBM3161-font)
imgcat - It's like cat, but for images.
Understanding-Unix-Linux-Programming - Source code of Understanding Unix/Linux Programming. The book provides example code in C, I would like to replicate it in Rust.
mpv-image-viewer - Configuration, scripts and tips for using mpv as an image viewer
RenderFlow - Visualize fluid simulation result with graphics API
vifm - Vifm is a file manager with curses interface, which provides Vim-like environment for managing objects within file systems, extended with some useful ideas from mutt.
TrippyGL - A simple, lightweight yet highly versatile OpenGL graphics library
ranger - A VIM-inspired filemanager for the console
plutonem - A C, C++, Rust and COBOL library to draw graphics with pixels in the terminal
libsixel - A SIXEL encoder/decoder implementation derived from kmiya's sixel (https://github.com/saitoha/sixel).
keepassxc - KeePassXC is a cross-platform community-driven port of the Windows application “Keepass Password Safe”.
zellij - A terminal workspace with batteries included