frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Minilith – A zero-dependency CMS stored inside a PNG file

https://blog.minilith.site/#posts/minilith-architecture
4•a_bytecycle•24m ago
I enjoy the constraints of retro development. While building games in PICO-8, I took a interest in the way it packs data into the virtual cartridge. I dug into steganography and started thinking: could I apply the same logic to a content management system? Do we really need all the bloat just to host a micro blog?

Minilith is a database free CMS where the entire state (posts, pages, and settings) are compressed and stored directly in the pixels of a 256xd256 PNG file.

Minilith has zero dependencies. There is no Node, no bundlers, and no external DBs. It relies entirely on browser APIs to compress, secure, and render a site directly from the image.

The Minilith Architectural Lifecycle

Instead of a traditional backend and database, the flow looks like this:

1. Payload Creation: The editor data (JSON) is signed with a private key and compressed using the browser's native deflate algorithms.

2. Injection: The compressed bits are injected into the image's RGB channels using steganography. A raw tEXt chunk is injected right before the IEND marker to wrap the extraction script, turning the image into an executable polyglot.

3. Distribution: The result is a single image file. It can either be pushed directly to Cloudflare KV or downloaded locally.

4. Extraction & Rendering: A client side loader fetches the image, draws it to a hidden canvas, extracts the bits, verifies the signature and visual fingerprint, and runs the decompressed payload.

Since the entire database is just a picture, deployment and portability are extremely simple:

- Cloudflare Edge: Publish directly from the editor to Cloudflare KV, overwriting a single key-value pair for instant updates.

- Self Hosting: Generate a .zip archive from the editor and host on any basic web server.

- Offline Portability: The editor utilizes service workers. Once you have visited the editor once it is cached. You can view, edit, and generate new images completely offline.

The obvious flaw is aggressive image processing and optimization destroying the polyglot logic and data. (Though fun fact: texting the raw image over iMessage preserves the payload)

The code is experimental and the linked post is my architectural breakdown of the process. I'd love feedback and to hear your thoughts and ideas.

Comments

a_bytecycle•17m ago
You can view and create a Minilith with the editor here: https://minilith.site/

New Social Network

https://vulpine.pw/
1•AJesdizahozao•16s ago•1 comments

Mullvad Shuts Down Public Encrypted DNS Servers and Sponsors Quad9 Instead

https://digitalescapetools.com/2026/09/mullvad-shutting-down-dns-quad9.html
1•xabd•18s ago•0 comments

Replacing a Rust Enum with a 64-Bit Word Made My Interpreter 17% Faster

https://pointersgonewild.com/2026-08-25-replacing-a-rust-enum-with-a-64-bit-word/
1•metrofun•2m ago•0 comments

Nvidia is driving the AI boom. Good

https://www.economist.com/leaders/2026/09/03/nvidia-is-driving-the-ai-boom-good
1•Anon84•3m ago•0 comments

Terminal.army

https://terminal.army/
1•ncdlek•4m ago•1 comments

The jobs apocalypse is postponed. An AI jobs boom is here

https://www.economist.com/finance-and-economics/2026/09/04/the-jobs-apocalypse-is-postponed-an-ai...
1•Anon84•4m ago•0 comments

Microsoft Project Zenith: A ready-to-code Windows setup for developers

https://blogs.windows.com/windowsdeveloper/2026/09/04/announcing-project-zenith-the-ready-to-code...
1•CoderLim110•6m ago•0 comments

A bizarre Commodore 64 peripheral, a mime, and some pretty bad ads

https://buttondown.com/suchbadtechads/archive/spartan-and-the-mime/
1•rfarley04•10m ago•0 comments

Gleam and BEAM- Looking beyond the JVM [video]

https://vimeo.com/1223666800
1•kamilap•11m ago•0 comments

SchedBlame: Culprit-Attributed CPU Contention on Stock Kernels

https://arxiv.org/abs/2609.02052
1•torsi0n•11m ago•0 comments

Self Aware Models Win

https://paperclips.blog/dario-is-most-self-aware
1•andytratt•14m ago•1 comments

Juraslip Park

https://github.com/panglesd/slipshow/releases/tag/v0.13.0
1•panglesd•15m ago•0 comments

New method predicts where earthquakes will strike

https://news.ucr.edu/articles/2026/09/04/new-method-predicts-where-massive-earthquakes-will-strike
1•geox•16m ago•0 comments

Xxcancel.com – redirect to a working nitter instance

3•DavCreator•17m ago•0 comments

Billionaires Are Funding 'Anti AI' Content [video]

https://www.youtube.com/watch?v=mzlu4FSXBNw
1•blurbleblurble•17m ago•0 comments

StackKit – In-depth index of low-exposure open-source dev tools

https://stackkit.website/
1•StackKit•19m ago•0 comments

I Found a Self-Propagating Worm Hiding Inside [.vscode] in My Own Commits

https://medium.com/@simongideon918/i-found-a-self-propagating-worm-hiding-inside-vscode-my-own-co...
2•syumei•21m ago•0 comments

Show HN: Minilith – A zero-dependency CMS stored inside a PNG file

https://blog.minilith.site/#posts/minilith-architecture
4•a_bytecycle•24m ago•1 comments

Implementation of GCC's Nested Functions (vs. C++ Lambdas)

https://uecker.codeberg.page/2026-09-05.html
1•uecker•25m ago•0 comments

Release 0.12.10 · astral-sh/uv

https://github.com/astral-sh/uv/releases/tag/0.12.10
1•kyisaiah47•25m ago•0 comments

AI-Generated Code to Production-Ready Software

https://geekyants.com/guide/building-an-ai-native-delivery-partnership-turning-ai-generated-code-...
2•jamessmith789•27m ago•0 comments

75% of resumes are rejected by ATS" statistic are wrong

https://www.resumeadapter.com/ats-statistics
1•acjm•28m ago•0 comments

Homelabbing in Nepal

https://berojgarengineer.com/blog/homelab-in-nepal/
1•rbbcap•30m ago•0 comments

Qtyuo

1•cngtu•30m ago•0 comments

Agents need to be more selfish

https://nonlineartransform.substack.com/publish/post/214182359
1•program_whiz•34m ago•0 comments

After the Offline Write: Durable Server Work in Syncular

https://syncular.dev/blog/durable-server-work/
1•quambo•36m ago•0 comments

The Dead-Internet Theory Is Back

https://www.theatlantic.com/technology/2026/09/chatgpt-imessage-ai-texting/688507/
2•ike_usawa•39m ago•0 comments

The Fate of the Riemann Hypothesis [pdf]

https://www.math.brown.edu/reschwar/Stories/AI.pdf
1•_jcrossley•43m ago•1 comments

Upload Better – Opera-style "Easy Files" upload popup for Chrome

https://chromewebstore.google.com/detail/upload-better-clipboard-u/hjcjljinhoneonjajdnjjdbdfppgjkpm
3•vinsoncg•44m ago•0 comments

Mapping 14 disclosed AI incidents between April 25 and July 26

https://smalldocs.org/s/y9F2ELRVZMPZoSK7_pqosy#k=mDQF3CV7APK8mOSfmeCoTinzzC6b3uEA-UnDQcN_Eyw
1•FailMore•44m ago•0 comments