frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Kanna – Go generators for DI, queries, internationalization and more

https://github.com/go-kanna/kanna
1•mickamy•13m ago
I kept writing constructor wiring up, domain types and API types conversions, test fixtures, DB row scans, bra-bra-brah by my hands. I know that libraries those use reflections may help, but they fails on runtime and we cannot see what is happening without reading code. So I decided to create a project in oposite hand. Generate code and put it in our repository. The code is ordinary Go code, so that we can review, watch diffs and also debug it.

For instance, when we have the following code,

func NewDB() DB { return &DB{} }

func NewUser(db

DB) User { return User{db: db} }

type Container struct { User User `di:""` }

it generates...

func NewContainer() *Container { db := NewDB() user := NewUser(db) return &Container{User: user} }

No providers, just scan packages and find them.

There are 5 generators.

1. DI

2. Struct to struct mapping (for protubf and so on)

3. Test fixtures (from model to them)

4. SQL queries (like an sqlc but without SQL and more like GORM)

5. Type safe i18n

All we need is just a struct and tags.

Project is just started and just hit v0.0.1. Any feedbacks are very welcome.

Pine AI getting 75.4% (SoTA) on τ³-Voice Leaderboard

http://taubench.com/leaderboard/
1•danielglh•2m ago•0 comments

Znuny: OTRS OSS

https://www.znuny.org/en
1•sts153•5m ago•1 comments

Show HN: Ideal Weight, BMI and Body Fat Calculator Tool

https://www.globaltoolsbox.online/2026/08/ideal-weight-calculator-bmi-body-fat.html
1•solangiwaqas•5m ago•0 comments

Structural Predictions for the AI Era

https://www.newnex.io/news/12-structural-predictions-for-the-ai-era-ai-object-framework-aof
1•afr99•6m ago•1 comments

Show HN: Fail CI when your stack runs end-of-life software

https://github.com/endoflife-ai/eol-check
2•ScottUbiquitous•7m ago•0 comments

Risk Engineering

https://risk-engineering.org/
1•throwaw12•7m ago•0 comments

Whoop replacement noop 10.5 released

https://github.com/ryanbr/noop
1•mp3geek•10m ago•0 comments

Why AGI Is Impossible

https://substack.com/@vinialva/note/c-312693792
3•vinialva•10m ago•0 comments

The stories of the international soldiers who serve in Ukraine

https://www.youtube.com/@ILDUkraine
1•Erikun•11m ago•0 comments

Watch Directory

https://fewer.directory/
1•scholaronroad•12m ago•0 comments

Comments that go into code vs. those that go into the pull request description

https://devblogs.microsoft.com/oldnewthing/20260812-00/?p=112607
1•csmantle•12m ago•0 comments

Show HN: Kanna – Go generators for DI, queries, internationalization and more

https://github.com/go-kanna/kanna
1•mickamy•13m ago•0 comments

NextJS Mailtrap SaaS Starter

https://github.com/mailtrap/nextjs-saas-starter
2•aliobm•15m ago•0 comments

Splunk patches 9.1 CVSS RCE in MCP Server and 9 flaws in AI Toolkit

https://cyberupdates365.com/splunk-mcp-server-rce-patch/
1•udayhero•16m ago•0 comments

AliExpress runs silent WebAudio fingerprinting that breaks Bluetooth multipoint

https://blog.laserphile.com/2026/08/aliexpress-webpage-keeping-multipoint.html
4•emctech•18m ago•3 comments

Fancy Filtering Examples

https://trac.ffmpeg.org/wiki/FancyFilteringExamples
1•1317•19m ago•0 comments

Mastodon 5.0: Laying the Foundation

https://blog.joinmastodon.org/2026/08/5.0-laying-the-foundation/
2•birdculture•19m ago•0 comments

The Generative AI Learning Penalty: Evidence from Chinese Secondary Education

https://papers.ssrn.com/sol3/papers.cfm?abstract_id=6868618
2•_____k•20m ago•0 comments

Warren Buffett on the stock market (1999) [pdf]

https://www.berkshirehathaway.com/1999ar/FortuneMagazine.pdf
2•rzk•21m ago•0 comments

India Country Brief: The Anthropic Economic Index

https://www.anthropic.com/research/india-brief-economic-index
1•ms7892•22m ago•0 comments

Climate change is cooking Europe's oceans, scientists find

https://www.politico.eu/article/climate-change-is-cooking-europes-oceans-world-weather-attributio...
2•robtherobber•23m ago•0 comments

XLibre- community-managed display server for the X11

https://xlibre.net/
3•nalinidash•24m ago•0 comments

Show HN: A Dynamic video creator for free

https://video.samriddhi.shop/
1•suniljaindvg•24m ago•0 comments

A library to make GNN work on binary code

https://blog.quarkslab.com/from-p-code-to-gnn-extract-binary-code-semantics.html
1•shangoue•27m ago•0 comments

The Pinecone DAISY-1 is a fantasy 8-bit computer that exists in reality

https://blog.arduino.cc/2026/06/02/the-pinecone-daisy-1-is-a-fantasy-8-bit-computer-that-exists-i...
3•PPBear•31m ago•0 comments

Junghans Force Mega Solar

https://junghans-shop.com
1•tellwilhelm•31m ago•0 comments

AI is entertainment's scarlet letter

https://www.axios.com/2026/08/08/generative-ai-accusations-hank-green-jerry-falade
3•feraloink•34m ago•1 comments

GeoLibre: An open-source GIS that runs in the browser

https://github.com/opengeos/GeoLibre
1•Nina_antalpha•35m ago•0 comments

From "default dead" to living the future of cancer care

https://cancerletter.com/guest-editorial/20260814_2/
1•tchalla•36m ago•0 comments

Made the best alarm clock for myself

https://endothermalsystems.com/work/cinderclock.html
2•Aknazar•38m ago•0 comments