frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: SnackBase – Open-source, GxP-compliant back end for Python teams

https://snackbase.dev
30•lalitgehani•3h ago
Hi HN, I’m the creator of SnackBase.

I built this because I work in Healthcare and Life Sciences domain and was tired of spending months building the same "compliant" infrastructure (Audit Logs, Row-Level Security, PII Masking, Auth) before writing any actual product code.

The Problem: Existing BaaS tools (Supabase, Appwrite) are amazing, but they are hard to validate for GxP (FDA regulations) and often force you into a JS/Go ecosystem. I wanted something native to the Python tools I already use.

The Solution: SnackBase is a self-hosted Python (FastAPI + SQLAlchemy) backend that includes:

Compliance Core: Immutable audit logs with blockchain-style hashing (prev_hash) for integrity.

Native Python Hooks: You can write business logic in pure Python (no webhooks or JS runtimes required).

Clean Architecture: Strict separation of layers. No business logic in the API routes.

The Stack:

Python 3.12 + FastAPI

SQLAlchemy 2.0 (Async)

React 19 (Admin UI)

Links:

Live Demo: https://demo.snackbase.dev

Repo: https://github.com/lalitgehani/snackbase

The demo resets every hour. I’d love feedback on the DSL implementation or the audit logging approach.

Comments

dkoy•28m ago
Briefly checked out the repo and demo, looks neat!

Bookmarked to keep a tab on for future reference.

I noticed that SQLAlchemy (an ORM) is part of the stack, and that “Postgres support” is in the roadmap. For people coming from Supabase and the like which is Postgres-first, some upfront clarification around which database is already supported, would be helpful.

lalitgehani•10m ago
Thanks for the kind words and the bookmark!

You're right. Since I use SQLAlchemy, the core is already database agnostic. Swapping the connection string to Postgres actually works for most features right now.

I listed it as "Roadmap" only because I haven't finished the full end-to-end test suite for Postgres yet, and I wanted the default "Quick Start" to be a zero dependency SQLite setup. I am also working on native read/write splitting so that the system can properly leverage scaling architectures (like Amazon Aurora's single-writer / multi-reader clusters) out of the box.

I'll make sure to clarify in the docs that it's currently "experimental" rather than missing. Appreciate the feedback!

mring33621•12m ago
I'm not sure the AGPL license is a good choice for this.

None of Django, Rails, Pocketbase or Supabase, which I think count as competitors, use AGPL.

Unless you can clarify that custom hooks and schemas are outside of the AGPL license, SnackBase may be a non-starter for commercial use.

Local Journalism Is How Democracy Shows Up Close to Home

https://buckscountybeacon.com/2026/01/opinion-local-journalism-is-how-democracy-shows-up-close-to...
167•mooreds•2h ago•77 comments

Anthropic has made a large contribution to the Python Software Foundation

https://discuss.python.org/t/anthropic-has-made-a-large-contribution-to-the-python-software-found...
71•ayhanfuat•54m ago•25 comments

Apple Creator Studio

https://www.apple.com/newsroom/2026/01/introducing-apple-creator-studio-an-inspiring-collection-o...
201•lemonlime227•1h ago•180 comments

What a year of solar and batteries saved us in 2025

https://scotthelme.co.uk/what-a-year-of-solar-and-batteries-really-saved-us-in-2025/
3•MattSayar•8m ago•0 comments

Cowork: Claude Code for the rest of your work

https://claude.com/blog/cowork-research-preview
1126•adocomplete•20h ago•489 comments

Text-based web browsers

https://cssence.com/2026/text-based-web-browsers/
192•pabs3•10h ago•70 comments

Stop Digging and Start Building: Why We Need Lego Parts, Not Deeper Type Systems

https://programmingsimplicity.substack.com/p/stop-digging-and-start-building-why
13•mpweiher•51m ago•3 comments

TimeCapsuleLLM: LLM trained only on data from 1800-1875

https://github.com/haykgrigo3/TimeCapsuleLLM
679•admp•23h ago•278 comments

Git Rebase for the Terrified

https://www.brethorsting.com/blog/2026/01/git-rebase-for-the-terrified/
96•aaronbrethorst•5d ago•104 comments

Show HN: SnackBase – Open-source, GxP-compliant back end for Python teams

https://snackbase.dev
30•lalitgehani•3h ago•4 comments

Designing an IPv6-native P2P transport – lessons from building I6P

https://theushen.medium.com/designing-an-ipv6-native-p2p-transport-lessons-from-building-i6p-b8ca...
48•TheusHen•4d ago•37 comments

Postal Arbitrage

https://walzr.com/postal-arbitrage
475•The28thDuck•22h ago•247 comments

Floppy disks turn out to be the greatest TV remote for kids

https://blog.smartere.dk/2026/01/floppy-disks-the-best-tv-remote-for-kids/
701•mchro•1d ago•398 comments

Why Stoicism is one of the best mind hacks ever devised

https://aeon.co/essays/why-stoicism-is-one-of-the-best-mind-hacks-ever-devised
111•suioir•1h ago•114 comments

The chess bot on Delta Air Lines will destroy you (2024) [video]

https://www.youtube.com/watch?v=c0mLhHDcY3I
287•cjaackie•20h ago•257 comments

Unauthenticated remote code execution in OpenCode

https://cy.md/opencode-rce/
389•CyberShadow•1d ago•130 comments

Scott Adams has passed away

https://www.youtube.com/watch?v=Rs_JrOIo3SE
144•ekianjo•39m ago•95 comments

Date is out, Temporal is in

https://piccalil.li/blog/date-is-out-and-temporal-is-in/
428•alexanderameye•1d ago•176 comments

Some ecologists fear their field is losing touch with nature

https://www.nature.com/articles/d41586-025-04150-w
142•Growtika•5d ago•69 comments

FOSS in times of war, scarcity and (adversarial) AI [video]

https://fosdem.org/2026/schedule/event/FE7ULY-foss-in-times-of-war-scarcity-and-ai/
116•maelito•6h ago•77 comments

Robotopia: A 3D, first-person, talking simulator

https://elbowgreasegames.substack.com/p/introducing-robotopia-a-3d-first
76•psawaya•4d ago•32 comments

Fabrice Bellard's TS Zip (2024)

https://www.bellard.org/ts_zip/
196•everlier•19h ago•81 comments

NASA topples towers used to test Saturn rockets, space shuttle

https://arstechnica.com/space/2026/01/nasa-topples-towers-used-to-test-saturn-rockets-space-shuttle/
32•bookofjoe•2h ago•5 comments

Apple picks Gemini to power Siri

https://www.cnbc.com/2026/01/12/apple-google-ai-siri-gemini.html
953•stygiansonic•1d ago•584 comments

The Cray-1 Computer System (1977) [pdf]

https://s3data.computerhistory.org/brochures/cray.cray1.1977.102638650.pdf
115•LordGrey•3d ago•66 comments

LLVM: The bad parts

https://www.npopov.com/2026/01/11/LLVM-The-bad-parts.html
365•vitaut•1d ago•75 comments

Implementing a web server in a single printf() call (2014)

https://tinyhack.com/2014/03/12/implementing-a-web-server-in-a-single-printf-call/
67•nateb2022•4d ago•8 comments

Chromium Has Merged JpegXL

https://chromium-review.googlesource.com/c/chromium/src/+/7184969
261•thunderbong•9h ago•80 comments

Learning Retro Computer Electronics Fault Finding and Restoration

https://retrogamecoders.com/learning-retrocomputer-electronics/
12•ibobev•3d ago•0 comments

F2 (YC S25) Is Hiring

https://www.ycombinator.com/companies/f2/jobs/cJsc7Fe-product-designer
1•arctech•17h ago