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•5h 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•5h 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•5h 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•5h 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)?

I switched to a flip phone, and I'm never going back

https://www.sfgate.com/sf-culture/article/swapped-iphone-for-flip-phone-never-going-back-20762858.php
1•pilingual•52s ago•0 comments

I built a AI transcription app because my girlfriend needed one for uni

1•ebukao•2m ago•0 comments

Pentagon to Take Stake in Rare-Earth Company, Challenging China's Control

https://www.wsj.com/business/mp-materials-enters-multibillion-dollar-partnership-with-defense-dept-c8f9f806
1•sandwichsphinx•5m ago•0 comments

Optimization Culture Is Making Us Fragile

https://bradstulberg.substack.com/p/optimization-culture-is-making-us
1•mikestew•7m ago•0 comments

Show HN: asyncmcp – SNS/SQS based custom transport layer for MCP

https://github.com/bh-rat/asyncmcp
2•bharatgel•9m ago•0 comments

Chat with 19 Years of HN Data

https://camelai.com/hackernews/
1•oldfuture•11m ago•0 comments

Press Replay on Your Dreams with the Dream Recorder

https://design-milk.com/press-replay-on-your-dreams-with-the-dream-recorder/
1•Bluestein•12m ago•0 comments

Running a static website in AWS for $0.55

https://www.cottongeeks.com/articles/2025-07-10-running-a-static-website-in-aws-for-55-cents
1•deepakjois•12m ago•0 comments

Writing Bounds-Safe Code in C with Arrays

https://uecker.codeberg.page/2025-07-09.html
1•uecker•12m ago•0 comments

The Code Inflation

https://blog.hermesloom.org/p/the-code-inflation
1•sigalor•12m ago•0 comments

A New Era of Stack Overflow – Stack Overflow

https://stackoverflow.blog/2025/07/10/a-new-era-of-stack-overflow/
2•ulrischa•14m ago•0 comments

Kagi Discover: Find articles, research, videos, code, more that match interests

https://prism.kagi.com/
1•miles•16m ago•0 comments

Why Americans Can't Buy the World's Best Electric Car

https://www.nytimes.com/2025/07/08/opinion/byd-china-car-ev.html
5•bookofjoe•17m ago•1 comments

Infinitic Tac Toe - There’s always a winner

https://maxwellito.github.io/infinitictactoe/
1•susam•17m ago•0 comments

The Problem with Microsoft

https://www.trevornestor.com/post/the-problem-with-microsoft
2•SamuelAdams•18m ago•0 comments

Woman and three teenagers arrested over M&S, Co-op and Harrods cyber attacks

https://news.sky.com/story/woman-and-three-teenagers-arrested-over-mands-co-op-and-harrods-cyber-attacks-13385738
2•austinallegro•18m ago•0 comments

The Big Bang myth – Our origins will always elude us

https://unherd.com/2025/06/the-big-bang-myth/?us
1•voxleone•20m ago•0 comments

Specification Grounding: The Missing Link in Vibe Coding

https://unstract.com/blog/specification-grounding-vibe-coding/
3•constantinum•20m ago•0 comments

Astronomers Have Traced Our New Interstellar Comet's Origin, and It's a First

https://www.sciencealert.com/astronomers-have-traced-our-new-interstellar-comets-origin-and-its-a-first
1•speckx•20m ago•0 comments

Google revamps its AI tool that lets you learn endangered languages

https://www.neowin.net/news/google-revamps-its-ai-tool-that-lets-you-learn-endangered-languages/
6•Bluestein•22m ago•0 comments

Bitcoin Transcripts v2: FOSS Archive of Bitcoin Tech Talks

https://btctranscripts.com/
1•ahoyasoy•23m ago•0 comments

Jamsocket (W22) Is Joining Modal

https://jamsocket.com/blog/jamsocket-is-joining-modal
3•paulgb•25m ago•0 comments

Australia to Saudi Arabia, these cities are getting smarter by design

https://www.businessinsider.com/sc/how-smart-cities-are-transforming-urban-living
6•Bluestein•26m ago•0 comments

Vibe Coding Casino: Rise of programming by slot machine

https://evrim.zone/blog/opinion/vibes_casino
2•evrimoztamur•27m ago•1 comments

Show HN: Endorphin AI–Run browser E2E tests from plain English with QA AI agent

https://endorphinai.dev
3•papapin777•28m ago•0 comments

Low-cost carbon capture? Bury wood debris in managed forests

https://phys.org/news/2025-06-carbon-capture-wood-debris-forests.html
2•PaulHoule•29m ago•0 comments

Solar Balloon

https://en.wikipedia.org/wiki/Solar_balloon
1•simonebrunozzi•30m ago•0 comments

Startups are using Nvidia's AI GPUs as collateral to secure loans up to $10B

https://www.pcgamer.com/hardware/startups-are-using-nvidias-ai-gpus-as-collateral-to-secure-loans-of-up-to-usd10-billion-from-financial-institutions/
2•speckx•31m ago•0 comments

Scripting News: I hate CSS

http://scripting.com/2025/07/08/162603.html?title=iHateCss
1•MaysonL•32m ago•0 comments

Grok 4 is now the top-performing publicly available model on ARC-AGI

https://twitter.com/GregKamradt/status/1943169631491100856
2•tosh•33m ago•1 comments