CR News
A full-stack publication and a secure newsroom CMS for Cockroach Republic News, built for content integrity under legal pressure.
Not a website. Infrastructure built for content integrity.
Cockroach Republic News is an independent Indian digital newsroom focused on power accountability: the stories powerful people would rather not see published. CR Desk, the internal CMS, was built alongside the public site in a single Next.js application on Supabase and Vercel.
It needed a system that could survive a legal notice without panicking, maintain an unalterable revision record, and stay online through the failure modes that knock small newsrooms offline. The CMS had to behave as though a hostile actor was already looking for a way in.
- 01
Survive a legal notice without panicking.
- 02
Keep an unalterable revision record.
- 03
Stay online through the failure modes that knock small newsrooms offline.
- 04
Behave as though a hostile actor was already looking for a way in.
Built for journalism that will not back down.
How it was verified
Every story says how it was verified: the documents behind it and the right of reply, on the page.
Sources inline
Every claim carries its source inline, in the body of the story.
Two keys to publish
Publishing takes two keys, and the database enforces it. The person who clears the gate can never be the story's author.
One editor should never be the only lock.
The two-key publish gate is enforced by a database trigger, not by policy. Publishing requires a cleared charter checklist and a second person who is not the author.
- 01
The author files
The story is written and filed in CR Desk.
- 02
Charter checklist
A 6-of-6 charter checklist must be cleared.
- 03 · Second key
Cleared by someone else
The person who clears the gate can never be the story's author.
- 04
Database trigger
The gate is enforced by the database, not by policy.
- 05
Archived on publish
Archived to the Wayback Machine on publish, and again on every update.
No record can be overwritten, only appended: a timestamped chain of evidence.
For published assets.
Source materials stay private until publication, behind MFA-mandatory sign-in for every desk user.
- 01
A legal notice is a test of the archive
Every published story is archived to the Wayback Machine automatically on publish, and again on every update. The revision history is insert-only at the database level: no record can be overwritten, only appended. A legal challenge meets a timestamped chain of evidence it cannot unravel.
Infrastructure - 02
A single editor cannot be the only lock
The two-key publish gate is enforced by a database trigger, not by policy. Publishing requires a 6-of-6 charter checklist to be cleared, and the person who clears the gate can never be the story's author.
Data architecture - 03
Evidence private until publication, then permanent
Two storage systems: a public media bucket for published assets, and a private evidence locker for source materials, behind MFA-mandatory authentication for every desk user.
Security
When the lights come on, they scatter.
Archivo Expanded, 125 width, 900 · masthead and headlines
Investigation · Courts & Law
Source Serif 4 · article body / IBM Plex Mono · kickers, labels, documents
#110C08
#F9F6F2
#F2D42D
#983D1F
#2B7440
#B3241F
#AD7300
#2A669F
A claim in the body of a story, with its source set inline (document, page, date).
- Primary document, with page reference
- Right of reply: when it was sent, when it was answered
Components · verdict badges, inline citation, verification box
Rules, not boxes · square corners · one hard offset shadow
What the story said.
What is correct, and when it was fixed.
Newsprint
What the story said.
What is correct, and when it was fixed.
Blackout, the dark theme
Up next
Building something similar? Tell us about it.