frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Drizzle-docs-generator – Generate database docs from Drizzle schemas

https://github.com/rikeda71/drizzle-docs-generator
1•rikeda71•1h ago
Hey HN,

I've been maintaining drizzle-docs-generator, a CLI tool that auto-generates database documentation from Drizzle ORM schemas. We just released v0.6.0 with some nice improvements, and I wanted to share it with the community.

## What it does:

- Generates DBML and Markdown documentation directly from your Drizzle schema

- Automatically extracts JSDoc comments and includes them in the docs

- Creates beautiful Mermaid ER diagrams

- Supports PostgreSQL, MySQL, and SQLite

- Works with both Drizzle v0 (relations API) and v1 (defineRelations)

## Recent improvements (v0.5.0 → v0.6.0):

- *Auto-relation detection*: No config needed – it finds foreign keys automatically

- *Markdown is now default*: Better user experience for most use cases

- *Nullable foreign keys*: Properly visualized in ER diagrams

- *Flexible ER diagrams*: New --no-columns flag to exclude columns when needed

- *Better coverage*: Improved test coverage from 60% → 80%+

## Why I built this:

Drizzle makes schema definition so smooth in TypeScript, but keeping docs in sync is painful. This tool lets your schema be the source of truth.

## Quick example:

```bash npx drizzle-docs generate ./src/db/schema.ts -d postgresql ```

Outputs organized markdown docs with an ER diagram automatically.

## Links:

GitHub: https://github.com/rikeda71/drizzle-docs-generator

NPM: https://www.npmjs.com/package/drizzle-docs-generator

Examples: https://github.com/rikeda71/drizzle-docs-generator/tree/main...

Would love feedback from folks using Drizzle! Are there features you'd like to see? What pain points in your workflow could this help with?

MIT licensed, happy to discuss the architecture and challenges we solved.

Postman to limit Free plan from 3 users to 1

https://blog.postman.com/new-capabilities-march-2026/
1•wiradikusuma•4m ago•1 comments

Security warning: "CZR Exchange" – avoid connecting wallets or sending funds

1•Morris_•4m ago•0 comments

Netbird a German Tailscale alternative (P2P WireGuard-based overlay network)

https://netbird.io/
1•l1am0•5m ago•0 comments

HashiCorp Vault is overhyped, and Mozilla SOPS with KMS and Git is underrated

https://oteemo.com/blog/hashicorp-vault-is-overhyped-and-mozilla-sops-with-kms-and-git-is-massive...
1•fanf2•7m ago•0 comments

Milton Friedman – I, Pencil [video]

https://www.youtube.com/watch?v=67tHtpac5ws
1•kaizenb•8m ago•0 comments

The Spine Scholar: The Intriguing History of the Term Sacrum [pdf]

https://static1.squarespace.com/static/554037b3e4b0da169013a32f/t/5c06f2141ae6cf9eac24de4b/154395...
1•joebig•15m ago•0 comments

What I learned building an opinionated and minimal coding agent

https://mariozechner.at/posts/2025-11-30-pi-coding-agent/
2•SatvikBeri•15m ago•0 comments

I vibe coded visual application in 6 days with Claude Code

https://strzibny.name/blog/i-fully-vibe-coded-my-first-application
1•strzibny•22m ago•0 comments

Digital Ecosystems and Lobbying

https://imagico.de/blog/en/digital-ecosystems-and-lobbying/
1•jllyhill•22m ago•0 comments

High-Altitude Adventure with a DIY Pico Balloon

https://spectrum.ieee.org/explore-stratosphere-diy-pico-balloon
1•jnord•25m ago•0 comments

Jwl – A Build and Release Tool for Pure-Ruby Gems

https://github.com/duckinator/jwl
1•TheWiggles•26m ago•0 comments

Stock Wars

https://github.com/1carlito/stock-wars
1•1carlito•28m ago•0 comments

We Are Missing a Security Stack for Autonomous Agents

https://adlrocha.substack.com/p/adlrocha-we-are-missing-a-security
1•adlrocha•28m ago•0 comments

Why is Hacker News popular?

1•itsrakesh•28m ago•0 comments

Reflections on Trusting Trust (1984) [pdf]

https://www.cl.cam.ac.uk/teaching/2223/R209/Reflections-Trusting-Trust.pdf
1•tosh•29m ago•0 comments

Claw.events: global real-time pub/sub network for orchestrating OpenClaw agents

https://claw.events
2•capevace•30m ago•1 comments

The 80% Problem in Agentic Coding – Addy Osmani

https://addyo.substack.com/p/the-80-problem-in-agentic-coding
2•birdculture•35m ago•0 comments

Show HN: Sbox – zero intelligence, pure isolation sandbox

https://github.com/CVPaul/sbox
1•xqli•36m ago•0 comments

Show HN: EmuBuddy, Frictionless Emulation Gaming

https://github.com/computerex/EmuBuddy
1•computerex•36m ago•0 comments

Show HN: Kakveda – Failure intelligence and pre-flight warnings for LLM systems

https://github.com/prateekdevisingh/kakveda
1•prateekdalal•37m ago•0 comments

MIT Lied about Aaron Swartz and Jeffrey Epstein

https://www.linkedin.com/pulse/mit-lied-aaron-swartz-jeffrey-epstein-edmund-carlevale-r6ooe
2•mktk1001•37m ago•0 comments

New Dutch government to push for EU social media ban for under-15s

https://www.politico.eu/article/d66-cda-vvd-dutch-government-aims-to-keep-under-15s-off-social-me...
2•DavideNL•47m ago•1 comments

Small accounts now get a chance on X (2026 algorithm changes)

https://medium.com/@loganholdsworth/xs-2026-algorithm-changes-are-here-here-s-how-small-accounts-...
1•bestonearth•48m ago•0 comments

My ESP32S3 Thinks It's a WebCam

https://www.youtube.com/watch?v=zhTTmRQLNws
1•iamflimflam1•57m ago•0 comments

China's genius plan to win the AI race is paying off

https://www.ft.com/content/68f60392-88bf-419c-96c7-c3d580ec9d97
4•Ozzie_osman•1h ago•3 comments

Elon Musk pours millions more into helping Republicans keep Congress

https://www.politico.com/news/2026/01/31/elon-musk-2026-election-donations-00758992
4•zerosizedweasle•1h ago•2 comments

Will we ever regenerate limbs?

https://www.nationalgeographic.com/science/article/will-we-ever-regenerate-limbs
1•maxloh•1h ago•0 comments

AI Churches and Botnet Architecture: A Risk Assessment

https://maciejjankowski.com/2026/02/01/ai-churches-botnet-architecture/
2•mjankowski•1h ago•0 comments

The Machine as Manager

https://bravenewteams.substack.com/p/the-machine-as-manager
2•zauberberg•1h ago•0 comments

Show HN: MoPeD – High-performance workspace with integrated AI

https://moped.base44.app
2•My_team•1h ago•1 comments