frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Flora – Compile-time Dependency Injection for Go without reflection

https://github.com/soner3/flora
2•soner3•19h ago

Comments

soner3•19h ago
Hi HN,

I've been building scaling Go backend services and got increasingly frustrated with the current Dependency Injection ecosystem. I love the pure compile-time safety of tools like Google Wire, but manually maintaining massive ProviderSets becomes a tedious chore. On the other hand, convenient runtime tools (like Uber Fx) rely heavily on reflection, which sacrifices strict compile-time safety and risks runtime panics (One of the reasons that forced me to leave Java).

To solve this, I built Flora (v1.0.0).

It acts as an AST parser. You simply tag your structs or config functions, and Flora auto-discovers the dependency graph. Under the hood, it generates a strongly-typed, reflection-free DI container using Google Wire. The result: 0% runtime overhead, 100% compile-time safety.

A big priority for me was supporting Clean Architecture / DDD. I didn't want framework structs polluting my core domain logic, so Flora natively resolves go/types aliases (e.g., type DIComponent = flora.Component). This keeps the domain completely free of external framework imports.

I also wrote a deep dive on the architecture and the "Zero Boilerplate / Zero Reflection" concept here: https://medium.com/@astansoner/a-dependency-injection-tool-f...

I would love to hear your brutally honest feedback on this AST-driven approach! Happy to answer any questions about the implementation.

Show HN: Skir – like Protocol Buffer but better

https://skir.build/
64•gepheum•10h ago•42 comments

Show HN: AlphaPerch – Track product execution for companies you follow using AI

https://alphaperch.com
2•sebasnar•57m ago•0 comments

Show HN: I built a real-time OSINT dashboard pulling 15 live global feeds

https://github.com/BigBodyCobain/Shadowbroker
187•vancecookcobxin•8h ago•84 comments

Show HN: OpenMeters – A fast and free audio metering/visualization suite

https://github.com/httpsworldview/openmeters
4•httpsworldview•3h ago•0 comments

Show HN: WolfStack – Proxmox-like server management in a single Rust binary

https://wolfscale.org/
20•wolfsoftware•9h ago•0 comments

Show HN: I built a site where strangers leave kind voice notes for each other

https://kindvoicenotes.com
7•thepaulthomson•5h ago•5 comments

Show HN: Eyot, A programming language where the GPU is just another thread

https://cowleyforniastudios.com/2026/03/08/announcing-eyot/
65•steeleduncan•16h ago•13 comments

Show HN: OxiMedia – Pure Rust Reconstruction of FFmpeg and OpenCV

https://github.com/cool-japan/oximedia
4•kitasan•5h ago•0 comments

Show HN: Environment Variable Checker

https://github.com/Chrilleweb/dotenv-diff
4•chrillemn•5h ago•0 comments

Show HN: Curiosity – DIY 6" Newtonian Reflector Telescope

https://curiosity-telescope.vercel.app/
77•big_Brain69•20h ago•18 comments

Show HN: A weird thing that detects your pulse from the browser video

https://pulsefeedback.io/
115•kilroy123•4d ago•51 comments

Show HN: Lobster.js – Extended Markdown with layout blocks and footnotes

https://github.com/Hacknock/lobsterjs
4•Kyome22•9h ago•3 comments

Show HN: ANSI-Saver – A macOS Screensaver

https://github.com/lardissone/ansi-saver
102•lardissone•1d ago•36 comments

Show HN: µJS, a 5KB alternative to Htmx and Turbo with zero dependencies

https://mujs.org
151•amaury_bouchard•1d ago•77 comments

Show HN: VoiceFlow – Sub-second (0.3s-0.6s) voice-to-text built in Rust

https://voiceflow.szymonwira.pl
3•con4ig000•9h ago•1 comments

Show HN: Reverse-engineering Shockwave to save early 2000s web games (Rust/WASM)

https://github.com/igorlira/dirplayer-rs/
9•igorlira•13h ago•0 comments

Show HN: System R – Risk intelligence API for autonomous trading agents

https://github.com/System-R-AI/demo-trading-agent
2•ashimnandi•10h ago•0 comments

Show HN: Complying with California's AB 1043 via signal fusion, not ID uploads

https://www.a3api.io
3•digital-arcadia•10h ago•0 comments

Show HN: A PS4-inspired portfolio UI (requires laptop or larger screensize)

https://www.musnom.com/psme
3•MustafaN786•10h ago•2 comments

Show HN: Proxly – Self-hosted tunneling on your own domain in 60 second

3•a1tem•17h ago•0 comments

Show HN: Moongate – Ultima Online server emulator in .NET 10 with Lua scripting

https://github.com/moongate-community/moongatev2
283•squidleon•2d ago•164 comments

Show HN: Kula – Lightweight, self-contained Linux server monitoring tool

https://github.com/c0m4r/kula
88•c0m4r•2d ago•56 comments

Show HN: Astro MD Editor – Schema-aware editor for Astro content collections

https://github.com/bimsina/astro-md-editor
2•bimsina•11h ago•0 comments

Show HN: Claude-replay – A video-like player for Claude Code sessions

https://github.com/es617/claude-replay
100•es617•2d ago•34 comments

Show HN: I open-sourced my Steam game, 100% written in Lua, engine is also open

https://github.com/willtobyte/reprobate
58•delduca•2d ago•22 comments

Show HN: SiClaw – Open-source AIOps with a hypothesis-driven diagnostic engine

https://github.com/scitix/siclaw
9•SherryWong•1d ago•2 comments

Show HN: Agentcheck – Check what an AI agent can access before you run it

https://github.com/Pringled/agentcheck
4•Bibabomas•11h ago•0 comments

Show HN: Lottie – a simple and elegant TUI screenwriting app

https://github.com/coignard/lottie
2•renecoignard•12h ago•0 comments

Show HN: Ket – quantum circuit simulator, TypeScript, 3 back ends, 14 formats

https://github.com/dmvjs/ket
2•dmvjs•12h ago•0 comments

Show HN: Buildcage – Egress filtering for Docker builds (SNI-based, no MitM)

https://github.com/dash14/buildcage
2•dash14•13h ago•0 comments