frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Show HN: Pit – View PNG/JPG images directly in the terminal (no ASCII art)

2•FerkiHN•8h ago
I often work in the terminal (both Linux and Termux on Android), and I’ve always missed a simple way to view images without launching any GUI. Most tools rely on ASCII-art renderers or require large dependencies.

So I built PIT — a minimal C-based utility that displays real images (PNG/JPG) inside the terminal, using ANSI colors. No ASCII tricks — you actually see the image.

Highlights:

No GUI needed

No dependencies (just raw C + ANSI output)

Works on Linux, Termux (Android), and even Windows

Renders up to 600×600 images, even on older terminals

Demo screenshots: https://github.com/Ferki-git-creator/phono-in-terminal-image...

GitHub: https://github.com/Ferki-git-creator/phono-in-terminal-image...

I’d love to hear your thoughts, ideas for improvements, or feature requests. Thanks!

Comments

FerkiHN•8h ago
terminal-based image viewing something you’ve ever wanted? Do you use Termux or remote Linux sessions where a GUI isn't available?
FerkiHN•8h ago
Technically, PIT doesn’t use ASCII art or pixel blocks — it maps RGB colors directly to 256-color ANSI escape sequences. It’s all written in C with no external libraries. I’d be curious if anyone tried something similar?
FerkiHN•8h ago
Curious how far you can push ANSI rendering? I’m testing image scaling, dither modes, and even animation support. Would you find it useful if the viewer supported image sequences (like GIF frames or simple flipbooks)?

Why, Why, Why, Eliza?

https://www.learningfromexamples.com/p/why-why-why-eliza
4•silt•5m ago•0 comments

Detroit and Baltimore Built Local State Capacity to Bring Crime to New Lows

https://www.governance.fyi/p/two-failed-cities-detroit-and-baltimore
2•guardianbob•6m ago•1 comments

The 800k Hours Career Guide

https://www.boristhebrave.com/2025/07/10/the-800000-hours-career-guide/
1•ibobev•9m ago•0 comments

Icechunk 1.0: Production-Grade Cloud-Native Array Storage Is Here

https://earthmover.io/blog/icechunk-1-0-production-grade-cloud-native-array-storage-is-here
1•rhodysurf•9m ago•0 comments

A Game About Typing the Alphabet

https://www.agameabouttypingthealphabet.com
1•braska•10m ago•1 comments

'Intelligent' copper tariffs will 'wake people up', says mining billionaire

https://www.ft.com/content/bcd9b72d-4ebb-4d07-b20e-3a2e2c014f41
1•petethomas•13m ago•0 comments

Width and Depth: A Mental Model for Clearer Communication

http://productadvisorystudio.com/blog/2025/7/10/harnessing-width-and-depth-a-mental-model-for-clearer-communication-and-smarter-product-design
1•dannyrosen•13m ago•0 comments

WaitGroup.Go() in 1.25

https://appliedgo.net/spotlight/go-1.25-waitgroup-go/
2•semioz•15m ago•0 comments

Humanity's First Recorded Kiss Was Earlier Than We Thought

https://www.smithsonianmag.com/science-nature/humanitys-first-kiss-was-earlier-than-we-thought-180982206/
1•Bluestein•15m ago•0 comments

Finding Compiler Bugs: Cross-Language Code Generator and Differential Testing

https://arxiv.org/abs/2507.06584
1•matt_d•15m ago•0 comments

The AI window is now

https://tynan.com/the-ai-window-is-now/
4•skwee357•20m ago•0 comments

Rimac just snagged another 24 world records the Nevera R, including EV top speed

https://electrek.co/2025/07/10/rimac-snagged-24-world-records-all-electric-nevera-r-video/
1•Bender•20m ago•0 comments

NASA's Most Experienced Staff Are Taking Buyouts

https://www.jalopnik.com/1909012/nasa-most-experienced-staff-taking-trump-buyouts/
4•rntn•21m ago•0 comments

Show HN: FaceBlurify – browser‑only face blurring in <10 s

https://www.faceblurify.com/en/
1•HichamCh•22m ago•0 comments

Yes, Overclocking Can Damage Your CPU – Here Are the Warning Signs

https://www.slashgear.com/1906570/cpu-overclocking-risks-warning-signs/
6•Bluestein•23m ago•0 comments

Mcphub.com Is Officially Launched

https://mcphub.com
2•henryyao•24m ago•0 comments

When the Dutch Tried to Live in Concrete Spheres

https://www.openculture.com/2025/06/when-the-dutch-tried-to-live-in-concrete-spheres.html
1•PaulHoule•26m ago•0 comments

AI-Enabled Trash Trucks Will Scan Your Trash to Scold You About Recycling

https://www.thedrive.com/news/ai-is-coming-to-your-trash-truck-to-make-sure-youve-sorted-the-recycling-right
3•speckx•27m ago•0 comments

Show HN: Cursor Rules Generator

https://cursor-rules-generator.xyz/
2•prasadpilla•27m ago•0 comments

Building an AI app builder with an AI app builder built with an AI app builder

https://www.rhett.info/blog/bolt.new.new.new
3•basketbla•28m ago•1 comments

Mystery AI Hype Theater 3000

https://www.buzzsprout.com/2126417
1•jruohonen•28m ago•0 comments

SpaceX's Starlink Is Now Beaming Wi-Fi to 1k Planes

https://www.pcmag.com/news/spacexs-starlink-is-now-beaming-wi-fi-to-1000-planes
8•Bluestein•29m ago•0 comments

Slow down on building power plants for all those new AI datacenters report warns

https://www.theregister.com/2025/07/10/us_datacenter_growth/
3•Bender•30m ago•0 comments

Holographic memory storage and information processing in Quantum Brain Dynamics

https://www.researchgate.net/publication/381542637_Quantum_Brain_Dynamics_Optical_and_Acoustic_Super-Radiance_via_a_Microtubule
5•felineflock•33m ago•1 comments

Bitchat: notes on the path forward ("yo!")

https://github.com/orgs/permissionlesstech/discussions/139
1•greyface-•33m ago•0 comments

U.S. will review social media for foreign student visa applications

https://www.npr.org/2025/06/19/g-s1-73572/us-resumes-visas-foreign-students-access-social-media
46•BeetleB•34m ago•43 comments

Devanagari

https://en.wikipedia.org/wiki/Devanagari
2•sandwichsphinx•34m ago•0 comments

Yours on Crossword, with Jonathan Wold and Luke Carbis

https://crossword.fm/s09/e13/
1•Bogdanp•35m ago•0 comments

Show HN: Prompt to Spreadsheet

https://www.parseclabs.ai/api-service
2•mpcadosch•35m ago•0 comments

Mastra is now Apache 2.0 licensed

https://mastra.ai/blog/apache-license
1•calcsam•36m ago•0 comments