frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

I built a minimal terminal image viewer in C with true RGB and no dependencies

https://github.com/Ferki-git-creator/phono-in-terminal-image-viewer-rgb-c-textmode
2•FerkiHN•4h ago

Comments

FerkiHN•4h ago
I recently built a project called PIT (Phono In Terminal) — a terminal image viewer written in C that renders .png/.jpg images using actual RGB colors in your terminal (with optional 256-color fallback).

What makes it different?

Zero dependencies (just stb_image.h)

Works even on very old or embedded systems

Fully cross-platform (Linux, macOS, WSL, Windows Terminal, Termux, etc.)

Compiles down to ~250 KB

CLI options for zoom, flip, resize, offset, background fill, and more

Doesn’t require X11, SDL, or curses

Here's a screenshot from Termux showing Tux inside a text-mode terminal (demoed using ANSI blocks and real RGB shading): (HN doesn't support images, but you can try it yourself from the repo)

Comparison with tiv: tiv is an excellent and mature tool (C++ + ImageMagick), optimized for Unicode and quality. PIT, on the other hand, is hyper-minimal — no dependencies, fully embeddable, and runs even in initramfs or micro distros.

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

Would love to hear your feedback or ideas!

Datacenters feeling the heat as climate risk boils over

https://www.theregister.com/2025/07/11/climate_change_datacenters/
1•rntn•55s ago•0 comments

I still care about the code

https://martinfowler.com/articles/exploring-gen-ai/i-still-care-about-the-code.html
1•mpweiher•1m ago•0 comments

A Mental Model for C++ Coroutine

https://uvdn7.github.io/cpp-coro/
1•uvdn7•2m ago•0 comments

Win, lose, or draw: trends in English football match results

https://blog.engora.com/2025/06/english-football-data.html
1•Vermin2000•2m ago•0 comments

Hilbert spaces, Ricci traces: the singularity we should attend to

1•glitchprince•3m ago•0 comments

jank Is C++

https://jank-lang.org/blog/2025-07-11-jank-is-cpp/
1•Jeaye•4m ago•0 comments

Bay Area biotech co Jasper Therapeutics drug mishap leads to layoffs

https://www.sfgate.com/tech/article/bay-area-biotech-company-layoffs-drug-mishap-20765300.php
2•randycupertino•5m ago•0 comments

Building a Simple Router with OpenBSD

https://btxx.org/posts/openbsd-router/
2•Bogdanp•5m ago•0 comments

Get My SaaS to "Go Viral"

1•chany2•6m ago•0 comments

Spec Engineering and the New Code – Sgrove from OpenAI [video]

https://www.youtube.com/watch?v=8rABwKRsec4
1•dhorthy•8m ago•1 comments

Wacky history of Computer Scrabble [video]

https://www.youtube.com/watch?v=HP90knHlYqc
1•indrora•8m ago•0 comments

Show HN: Free app to estimate calories burn based on MET

https://burnmeter.swimpeaks.com
1•bacdor•9m ago•0 comments

Air India Probe Puts Early Focus on Pilots' Actions and Plane's Fuel Switches

https://www.wsj.com/business/airlines/air-india-crash-probe-fuel-cut-3a711f39
1•cebert•11m ago•1 comments

Ask HN: What makes an AI system an "agent" vs. just software with if-then logic?

1•Jimmc414•11m ago•0 comments

Pythonic Guardrails for MCP Servers

https://github.com/codeintegrity-ai/tramlines-gateway
1•coderinsan•12m ago•0 comments

Stop Converting Your REST APIs to MCP

https://www.jlowin.dev/blog/stop-converting-rest-apis-to-mcp
2•cicdw•14m ago•0 comments

Subnautica studio co-founder says he's suing parent company Krafton

https://www.engadget.com/gaming/subnautica-studio-co-founder-says-hes-suing-parent-company-krafton-153412484.html
1•jtanderson•17m ago•0 comments

The Analog Art

https://www.joostrekveld.net/?p=1409
1•joebig•19m ago•0 comments

Ancient trees are dying faster than expected in Eastern Oregon

https://phys.org/news/2025-07-ancient-trees-dying-faster-eastern.html
1•bikenaga•21m ago•0 comments

Indeed and Glassdoor are cutting more than 1k jobs

https://www.engadget.com/ai/indeed-and-glassdoor-are-cutting-more-than-1000-jobs-190128210.html
3•taubek•22m ago•2 comments

Show HN: Infragram – C4 style interactive architecture diagrams for Terraform

https://marketplace.visualstudio.com/items?itemName=infragram.infragram
2•aqula•23m ago•0 comments

Gemini 2.5 Flash default time to first token increased from 2.0

https://www.thoughteddies.com/notes/2025/gemini-hidden-reasoning/
1•danielcorin•23m ago•0 comments

DotLisp

https://dotlisp.sourceforge.net/
1•janetacarr•26m ago•1 comments

Metadata Shows the FBI's 'Raw' Jeffrey Epstein Prison Video Was Likely Modified

https://www.wired.com/story/metadata-shows-the-dojs-raw-jeffrey-epstein-prison-video-was-likely-modified/
3•mdhb•27m ago•0 comments

Show HN: Indilingo – AI for learning any Indian language from Indian language

https://www.indilingo.in
1•Jaygala223•28m ago•0 comments

Physics Limits Interposer Line Lengths

https://semiengineering.com/physics-limits-interposer-line-lengths/
1•PaulHoule•29m ago•0 comments

Don't Rank Grok

https://www.runtime.news/dont-rank-grok/
3•coloneltcb•29m ago•0 comments

Jamie Dimon has a blunt message for Europe: 'You're losing'

https://www.cnbc.com/2025/07/11/jamie-dimon-has-a-blunt-message-for-europe-youre-losing.html
3•dmitrygr•29m ago•0 comments

Tests reveal Grok 4 answers appear to align with Elon Musk's personal opinions

https://www.engadget.com/ai/grok-4-reportedly-checks-elon-musks-views-before-offering-its-opinion-130016794.html
5•ck2•30m ago•0 comments

Generating prototypes from game design document with Cursor, Zed and LÖVE

https://blog.luden.io/generating-prototypes-from-game-design-document-with-cursor-zed-and-l%C3%B6ve-7b8d932194d7
3•gamescodedogs•30m ago•0 comments