frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Mori – Test against production data, without ever touching production

https://github.com/psrth/mori
1•psrth•1h ago
Mori is an open-source database proxy that lets you run your application locally against real production data without risking writes to production. It connects to your production database, clones the schema locally, and intercepts queries: - Reads come from production - Writes / migrations / deletes are executed only in a local shadow database - Results are merged in real time so your app thinks the changes happened in production

So you (and your AI agents) can safely test your code in a verifiable environment (real production data) locally before you're ready to push.

Links: - Demo -> https://moridb.sh/demo - Repository -> https://github.com/psrth/mori - Docs -> https://moridb.sh/docs

Motivation: Most people ask Santa for a bicycle; every year, I've been asking for the ability to test in prod. The existing alternatives (branching, snapshots, seed dbs, staging dbs, good old pg_dump) are one or more of: (a) out of sync, (b) expensive to run (time and cost), (c) cloud / managed provider only. But as AI agents continue to write more code, our local testing frameworks need to keep up. Writing code shouldn't be artificially bottlenecked or a literal leap of faith.

Implementation: The docs have a lot more information, but a summary: - Support for PSQL/MySQL/SQLite + 6 more engines, each with custom AST-level query classification and rewriting - In-flight cross-DB merging of prod data with local modifications - Collision-free PK generation and support for foreign keys - Full transaction support including CTEs, nested transactions, and savepoints - MCP support: plug-and-play into Claude Code, Cursor, or wherever you get your tokens - Exhaustive E2E test suite per engine

Safety: I want to specifically call out the core design principle — that production should never be writable through Mori. This is enforced through four independent layers:

1. Query classification — every statement is parsed and classified as read or write before routing 2. Routing rules — writes are deterministically routed to the local shadow database, never forwarded 3. Shadow execution enforcement — even if classification is bypassed, the execution layer rejects any write targeting the production connection 4. Raw byte inspection — finally, outbound bytes on the production socket are inspected to ensure no write operation ever reaches prod

If any layer fails to classify a query, Mori refuses the statement entirely rather than risking a pass-through.

Note: While I've validated (and extensively tested against our production database) all of the supported queries, there may (and will) be edge cases that I haven't discovered yet. If you hit an edge case, please open an issue - expanding the current coverage is my top priority!

If you want to see if this repo is a good fit for your workflow, you can checkout > https://www.moridb.sh/docs/resources/compatibility.

Or, in the true spirit of this project, just go for it :) > curl -fsSL https://moridb.sh/install.sh | sh

BallotGuessr

https://www.ballotguessr.com/
1•colinprince•1m ago•0 comments

Amygdala: Prompt a topic, get a footnoted report from experts in seconds

https://amygdala.eu/research
1•JoranCornelisse•2m ago•0 comments

Microsoft EVP Rajesh Jha is retiring

https://www.businessinsider.com/microsoft-executive-rajesh-jha-retiring-read-memos-2026-3
1•DarkCrusader2•3m ago•1 comments

Military AI as 'Abnormal' Technology

https://www.lawfaremedia.org/article/military-ai-as--abnormal--technology
2•hn_acker•3m ago•0 comments

Use Neovim's server capabilities on your local machine

https://github.com/mhinz/neovim-remote
1•RobTonino•3m ago•0 comments

UK to drop historic figures from banknotes and change them to images of wildlife

https://brusselssignal.eu/2026/03/uk-to-drop-historic-figures-from-banknotes-and-change-them-to-i...
2•thunderbong•4m ago•0 comments

2026 AI Adoption and Workforce Performance Benchmarks

https://www.activtrak.com/resources/state-of-the-workplace/
1•ptrhvns•4m ago•0 comments

Runtime Safety Infrastructure for AI Agents

https://nono.sh
1•TheTaytay•5m ago•0 comments

Show HN: OneCLI – Vault for AI Agents in Rust

https://github.com/onecli/onecli
2•guyb3•6m ago•0 comments

Finland Is Ready for Russia. Is Anyone Else?

https://www.bloomberg.com/graphics/2026-opinion-finland-is-ready-russia-arctic/
1•RyanShook•7m ago•0 comments

Get ready for takeoff with Uber and Joby

https://www.uber.com/us/en/newsroom/uber-air/
1•r-bt•7m ago•0 comments

Live AI Session Summaries in a Two-Line Tmux Status Bar

https://quickchat.ai/post/tmux-session-summaries-for-parallel-ai-agents
1•piotrgrudzien•7m ago•0 comments

Reversing memory loss via gut-brain communication

https://med.stanford.edu/news/all-news/2026/03/gut-brain-cognitive-decline.html
1•mustaphah•8m ago•0 comments

Should Sam Altman fear token compression?

3•Gillesray•10m ago•0 comments

Show HN: Open-Source GTM Skills for Claude Code, Codex, and Cursor

https://github.com/athina-ai/goose-skills
1•hbamoria•10m ago•0 comments

DesiPeeps

https://desipeeps.com
1•saibuilds•11m ago•0 comments

Should Sam Altman fear token compression?

https://www.edgee.ai/blog/posts/2026-03-12-should-sam-altman-fear-token-compression-technology-or...
1•Gillesray•12m ago•1 comments

I wrote Gitleaks, now I'm maintaining Betterleaks

https://www.aikido.dev/blog/betterleaks-gitleaks-successor
4•zricethezav•12m ago•1 comments

Nvidia Fork of Godot Engine

https://github.com/NVIDIA-RTX/godot
2•throwaway2027•13m ago•0 comments

Hegger

https://hegger.party
2•davedx•14m ago•0 comments

Ask HN: Which DNS based ad blocker do you suggest?

2•SoftwareEn2•14m ago•1 comments

Save the Student Essay

https://openquestionsblog.substack.com/p/save-the-student-essay
1•voxleone•15m ago•0 comments

Show HN: BoltzPay – fetch() that pays for AI agents (x402 and L402)

https://github.com/leventilo/boltzpay
1•leventilo•16m ago•0 comments

Show HN: Stop AI Debugging with Print(). Use a Debugger

https://github.com/AlmogBaku/debug-skill
1•almogbaku•17m ago•0 comments

Show HN: Claude Status

https://github.com/gmr/claude-status
1•crad•18m ago•0 comments

AI isn't digital anymore. It's a 1-GW power problem

1•TheBottlenecker•18m ago•0 comments

Show HN: OpenTabs – Your AI calls Slack's internal API through the browser

https://github.com/opentabs-dev/opentabs
1•Jbced•18m ago•0 comments

What we learned building 100 API integrations with OpenCode

https://nango.dev/blog/learned-building-100-api-integrations-with-opencode
1•rguldener•20m ago•0 comments

Important Updates to GitHub Copilot for Students

https://github.com/orgs/community/discussions/189268
2•archb•20m ago•1 comments

We will come to regret our every use of AI

https://libresolutions.network/articles/ai-regret/
3•paulnpace•21m ago•0 comments