frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Chafa: Terminal Graphics for the 21st Century

https://hpjansson.org/chafa/
79•birdculture•5h ago

Comments

joouha•3h ago
I use chafa extensively, and it really is the best tool for terminal graphics in my opinion.

I use it as a fallback option for terminals without proper terminal graphics support in my TUI Jupyter client, euporie.

There are Python bindings available: https://github.com/GuardKenzie/chafa.py

wonger_•3h ago
And JS bindings: https://github.com/hectorm/chafa-wasm

And I'm half-working on Rust bindings...

hectorm•23m ago
Author of the JS bindings here. I also have a browser demo: https://ansi-o-matic.molinero.dev
tasuki•1h ago
> and it really is the best tool for terminal graphics in my opinion

Not sixel or kitty graphics?

hecanjog•1h ago
What interests me about it is the unicode mosaic output format that looks higher quality than the usual upper half block or braille character approaches without needing to support a special protocol.
robot-wrangler•35m ago
Setting aside the usual compatibility issues with those things.. neither are available from your buildbot. Also while Jupyter does supports images other notebooking ecosystems may not, and anyway you need a file whereas chafa can work with streams.
lawlessone•58m ago
i'm curious do you work entirely with a terminal and no desktop?

Chafa looks cool, i'd feel cool using it when i use a terminal but if really wanted to see an image id just open it in a image viewer.

n0um3n4•1h ago
qué chafa!! all jokes aside, this provides infinite posibilities for my obsession with text-based apps/CLI.
XorNot•1h ago
Discovered this recently when I wanted to set my perfect retro feeling company logo onto the MOTD of some hardware so we'd have it on the serial port.
atulvi•39m ago
Why can't we have proper graphics on terminal? years ago I remember being able to use graphics.h to draw on MS-DOS terminal and print letters on it (text mode).
d-lisp•23m ago
Did you try notcurses ? [0]

[0] https://notcurses.com/

duffyjp•21m ago
I threw together a utility for this with just the half character in 2018, I don't even remember why.

https://rubygems.org/gems/barf

The name does imply the image quality, fyi.

My solution is also multithreaded, in Ruby. :D

jazzyjackson•19m ago
I learned about Chafa when I found a video editor that runs in the command line with keyboard control - vic - it just lets you insert split markers and when you exit the video is sliced up into the portions. I really like the low-fi nature of scrobbling through the video, it has low brain overhead.

https://github.com/wong-justin/vic

carterschonwald•13m ago
If you want some hilarious insanity: t try explaining ascii/terminal rendering to a text llm and see how it struggles

Microsoft will kill obsolete cipher that has wreaked decades of havoc

https://arstechnica.com/security/2025/12/microsoft-will-finally-kill-obsolete-cipher-that-has-wre...
1•smurda•44s ago•0 comments

Elite Capture

https://en.wikipedia.org/wiki/Elite_capture
1•exceptione•1m ago•0 comments

Claude Resource Directory – Free

https://www.claudedirectory.co/
1•quietinnovator•1m ago•1 comments

Reflection in C++ 20

https://github.com/johnagrillo/meta_h
1•johnagrillo•1m ago•1 comments

Orbital vs. Ground Compute Simulator

https://astrocompute.dev/
1•CaptP•2m ago•0 comments

Quieter Streets Linked to Increase in Home Prices

https://www.wsj.com/real-estate/home-prices-traffic-noise-b68466d8
1•bookofjoe•3m ago•1 comments

Recent H5N1 bird flu variants show increased ability to infect dairy cattle

https://phys.org/news/2025-12-h5n1-bird-flu-variants-ability.html
1•bikenaga•7m ago•0 comments

Google AI summaries are ruining recipe writers: 'It's an extinction event'

https://www.theguardian.com/technology/2025/dec/15/google-ai-recipes-food-bloggers
2•robaato•7m ago•0 comments

Hegseth Introduces Department to New AI Tool

https://www.war.gov/News/News-Stories/Article/Article/4355797/hegseth-introduces-department-to-ne...
1•sonicrocketman•9m ago•1 comments

In the UK the Free Press is for Adults Only

https://www.thefp.com/p/in-the-uk-the-free-press-is-adults-only
1•barry-cotter•10m ago•0 comments

The Lost Generation

https://www.compactmag.com/article/the-lost-generation/
1•gmays•12m ago•0 comments

A man inhaled chlorinated gas in his workshop and it was instantly over [video]

https://www.youtube.com/watch?v=rp6JyEdfjAQ
1•fortran77•13m ago•0 comments

Show HN: Lunette – auditing agents for evals and environments

https://fulcrumresearch.ai/2025/12/15/lunette.html
1•etherio•15m ago•0 comments

Merriam-Webster's human editors have chosen 'slop' as the 2025 Word of the Year

https://bsky.app/profile/merriam-webster.com/post/3m7zskzxxms2r
4•choult•20m ago•1 comments

I built a self-improving agent with dynamic context and continuous learning

https://www.ashpreetbedi.com/articles/sql-agent
1•bediashpreet•20m ago•0 comments

Spotlighting Vector: How Joshua Perk Is Rewriting the GTM Playbook [video]

https://www.youtube.com/watch?v=xp1rllGqZ4w
1•rchachra•22m ago•1 comments

Mistral 3 Large uses the exact DeepSeek V3 architecture

https://old.reddit.com/r/LocalLLaMA/comments/1plpc6h/mistral_3_large_is_deepseek_v3/
2•nkko•23m ago•0 comments

Scientists Develop New Fish-Inspired Filter That Removes 99% of Microplastics

https://scitechdaily.com/scientists-develop-new-fish-inspired-filter-that-removes-over-99-of-micr...
2•tapper•25m ago•0 comments

Instacart director says she was fired for Democratic congressional campaign

https://www.washingtonpost.com/politics/2025/12/15/instacart-congress-campaign-democrat/
6•reaperducer•28m ago•0 comments

Powered by mushrooms, living computers are on the rise

https://news.osu.edu/powered-by-mushrooms-living-computers-are-on-the-rise/
1•ohjeez•28m ago•1 comments

Clickhouse.build

https://github.com/ClickHouse/clickhouse.build
1•clickpiper-pete•29m ago•0 comments

How to Style Talbots Pieces Without Looking Dated

https://fashionablyfifty.substack.com/p/how-to-style-talbots-pieces-without
1•MaxwellJ•32m ago•0 comments

The code is disposable. The specification is permanent

https://recursiveai.net/articles/code-is-disposable/
2•devy•33m ago•1 comments

Starting Infinite

https://www.nvs.xyz/writing/starting-infinite
2•_nvs•34m ago•0 comments

Monthly Roundup #37: December 2026

https://thezvi.substack.com/p/monthly-roundup-37-december-2026
1•paulpauper•36m ago•0 comments

Is "Negative Reinforcement" (fear of banning) a valid strategy for learning?

1•shrutisingh18•37m ago•1 comments

GPT-5.2 Is Frontier Only for the Frontier

https://thezvi.substack.com/p/gpt-52-is-frontier-only-for-the-frontier
1•paulpauper•37m ago•0 comments

Statistical Learning Theory and ChatGPT

https://kamalikachaudhuri.substack.com/p/statistical-learning-theory-and-chat
1•jxmorris12•38m ago•0 comments

50%+ of researchers now use AI for peer review – often against guidance

https://www.nature.com/articles/d41586-025-04066-5
2•gnabgib•41m ago•0 comments

Against Scale

https://tante.cc/2025/01/26/against-scale/
2•mrzool•42m ago•0 comments