frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Self-updating screenshots

https://interblah.net/self-updating-screenshots
69•bjhess•19h ago

Comments

immanuwell•18h ago
nice, embedding the capture instructions right in the markdown as comments is a dead-simple solution that'll age way better than any fancy external tooling
efortis•16h ago
same here, but linking to the screenshots used for pixel diffing, which get committed to the repo.

https://github.com/ericfortis/mockaton/tree/main/pixaton-tes...

LeoDaVibeci•12h ago
I've needed this so many times. BTW this should be a meme: "I think this might be the neatest thing I’ve built in X that nobody will ever notice."
taspeotis•1h ago
I’ve wondered about doing screenshots from the e2e test run, even keeping docs/ all together in the same repo so when you update the documentation and need a new screenshot you add a new test
furyofantares•55m ago
Very cool.

For the small casual games I've been vibe coding, I always start from a place where the application has a CLI where it can run headless, rendering to offscreen texture, with a a screenshot command as well as performance instrumentation. It takes no time to include all this, and gives the agent a way to automate the ui and inspect important things. It also lets me trivially have the agent update screenshots.

Not as neat as being part of the build process, but I will now add that.

est•53m ago
I maintain an internal wiki, the contents were generated by each CI/CD and always reflects from latest running code.
CyberShadow•52m ago
Same, I've added a .#screenshots derivation. High up-front effort but almost zero maintenance afterwards.

Bonus: since you're generating screenshots programmatically anyway, you can generate a pair of each with your app's light/dark theme, and swap them in/out depending on prefers-color-scheme: dark. <picture> elements work in GitHub READMEs, too: https://github.com/CyberShadow/CyDo#readme

3eb7988a1663•47m ago
shot-scraper is another project in this vein.

https://github.com/simonw/shot-scraper

irishcoffee•28m ago
I wrote a gui app once that ran on a safety-critical platform. I ended up stuffing a rendering of the gui (rendered offscreen) into shmem at I think 24hz, and rendered that screenshot into the safety critical application. I passed clicks (no typing for this gui) back from the statically rendered image updating on a cadence, to the offscreen GUI.

Worked well. Not quite the same as this, but that’s what this reminds me of.

schneems•28m ago
This is neat. I wrote https://github.com/zombocom/rundoc. It has a similar feature. The main driver is to produce tutorials so it also puts the output of commands run back in the document.
maderalabs•7m ago
Nice! I actually started to build this exact thing a couple years back, and ended up abstracting it out to something more generic with https://picshift.io/. That said, I still love the screenshot use case - the original name of this project was ScreenSync ;)

I bought Friendster for $30k – Here's what I'm doing with it

https://ca98am79.medium.com/i-bought-friendster-for-30k-heres-what-i-m-doing-with-it-d5e8ddb3991d
425•ca98am79•5h ago•244 comments

Self-updating screenshots

https://interblah.net/self-updating-screenshots
69•bjhess•19h ago•11 comments

Three constraints before I build anything

https://jordanlord.co.uk/blog/3-constraints/
49•nervous_north•1d ago•9 comments

Fast16: High-precision software sabotage 5 years before Stuxnet

https://www.sentinelone.com/labs/fast16-mystery-shadowbrokers-reference-reveals-high-precision-so...
162•dd23•6h ago•42 comments

Show HN: The Unix Magic poster, annotated (updated)

https://github.com/drio/unixmagic
6•drio•52m ago•0 comments

Box to save memory in Rust

https://dystroy.org/blog/box-to-save-memory/
70•emschwartz•3d ago•11 comments

Google banks on AI edge to catch up to cloud rivals Amazon and Microsoft

https://www.ft.com/content/2429f0f0-b685-4747-b425-bf8001a2e94c
63•donsupreme•1h ago•26 comments

Butterflies are in decline across North America, a look at the Western Monarch

https://www.smithsonianmag.com/science-nature/butterflies-are-in-dramatic-decline-across-north-am...
133•1659447091•5h ago•40 comments

SWE-bench Verified no longer measures frontier coding capabilities

https://openai.com/index/why-we-no-longer-evaluate-swe-bench-verified/
253•kmdupree•12h ago•144 comments

When the cheap one is the cool one

https://arun.is/blog/cheap-cool/
20•ddrmaxgt37•1d ago•8 comments

AI should elevate your thinking, not replace it

https://www.koshyjohn.com/blog/ai-should-elevate-your-thinking-not-replace-it/
291•koshyjohn•6h ago•246 comments

Show HN: AI memory with biological decay (52% recall)

https://github.com/sachitrafa/YourMemory
63•SachitRafa•5h ago•30 comments

Sawe becomes first athlete to run a sub-two-hour marathon in a competitive race

https://www.bbc.com/sport/athletics/articles/crm1m7e0zwzo
262•berkeleyjunk•5h ago•199 comments

The fastest Linux timestamps

https://www.hmpcabral.com/2026/04/26/the-fastest-linux-timestamps/
19•hmpc•13h ago•5 comments

Lessons from building multiplayer browsers

https://www.alejandro.pe/writing/sail-muddy-lessons
11•alejandrohacks•11h ago•4 comments

Quirks of Human Anatomy

https://www.sdbonline.org/sites/fly/lewheldquirk/figlegq6.htm
92•gurjeet•1d ago•58 comments

Music of the BBC Microcomputer System

https://www.acornelectron.co.uk/eug/72/a-musi.html
9•eightb•1d ago•1 comments

Magic: The Gathering took me from N2 to Japanese fluency

https://www.tokyodev.com/articles/how-magic-the-gathering-took-me-from-n2-to-japanese-fluency
88•pwim•3d ago•31 comments

Running Bare-Metal Rust Alongside ESP-IDF on the ESP32-S3's Second Core

https://tingouw.com/blog/embedded/esp32/run_rust_on_app_core
35•MrBuddyCasino•2d ago•7 comments

XOXO Festival Archive

https://xoxofest.com/
44•surprisetalk•2d ago•9 comments

MoQ Boy

https://moq.dev/blog/moq-boy/
39•mmcclure•5h ago•4 comments

The Visible Zorker: Zork 1

https://eblong.com/infocom/visi/zork1/
108•PLenz•9h ago•19 comments

Clay PCB Tutorial

https://feministhackerspaces.cargo.site/Clay-PCB-Tutorial
195•j0r0b0•10h ago•121 comments

FreeBSD Device Drivers Book

https://github.com/ebrandi/FDD-book
16•myth_drannon•3h ago•1 comments

Chernobyl wildlife forty years on

https://www.bbc.com/future/article/20260424-chernobyl-wildlife-forty-years-on
46•reconnecting•6h ago•2 comments

An AI agent deleted our production database. The agent's confession is below

https://twitter.com/lifeof_jer/status/2048103471019434248
466•jeremyccrane•9h ago•643 comments

Statecharts: hierarchical state machines

https://statecharts.dev/
283•sph•16h ago•79 comments

Show HN: Free textbook on engineering thermodynamics

https://thermodynamicsbook.com/
110•2DcAf•11h ago•29 comments

Show HN: Startup Equity Adventure Game

https://options-game-polymathrobotics.pythonanywhere.com/
16•iliabara•4h ago•7 comments

The QEII garden – built from its own ruins – opens in Regent's Park

https://www.ianvisits.co.uk/articles/a-garden-built-from-its-own-ruins-opens-in-regents-park-89152/
9•zeristor•1d ago•2 comments