frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Gosd: High-performance Stable Diffusion inference in pure Go(no CGO)

https://github.com/l8bloom/gosd
1•krakato•1h ago
Hello everyone,

I'm building a multimodal AI inference platform in Go and needed Stable Diffusion support for image/video generation.

Existing Go bindings for stable-diffusion.cpp were either outdated or no longer maintained, so I decided to build my own.

gosd is a set of Pure Go(no CGO - ffi-based) bindings for stable-diffusion.cpp. It is cross-platform(regularly tested on Win, Linux, Mac) and integrates seamlessly to existing Go-based codebases and applications(no C++ compiler needed for your builds).

You can generate images, videos, edit images, preprocess images with Canny, watch images/videos being generated after every step in the inference loop and much more.

Around a dozen of models can be used for generation(Wan2.2, Flux...) - please have a look at https://github.com/leejet/stable-diffusion.cpp for the full list of compatible models.

On my local setup with Radeon 7900XTX, a full HD image can be generated in about 10-30sec. You don't need a GPU for generation, CPU alone will be fine(although 10-100x slower).

The library is MIT licensed so you can use it pretty much however you want it.

I'd appreciate any feedback - hopefully you'll have as much fun with gosd as I have.

Authorities say Flock cameras' data allegedly used for immigration enforcement

https://www.ohio.news/stories/dayton-authorities-say-that-flock-cameras-data-allegedly-used-for-i...
1•pseudolus•52s ago•0 comments

Hardening Firefox with Claude Mythos Preview

https://hacks.mozilla.org/2026/05/behind-the-scenes-hardening-firefox/
1•HieronymusBosch•1m ago•0 comments

AI helps translate one OpenAPI spec into seven idiomatic SDKs

https://workos.com/blog/autogenerating-sdks-with-ai
1•gjtorikian•1m ago•0 comments

OpenAI violated Canadians' privacy, watchdogs say in call for legal reform

https://globalnews.ca/news/11836689/report-on-openai-expected-from-federal-provincial-privacy-wat...
1•rolph•2m ago•0 comments

Why Are Software Developers Still in Demand?

https://galratner.substack.com/p/why-are-software-developers-still
1•neogodless•3m ago•0 comments

I switched from Mac to a Lenovo Chromebook, and you can too

https://blog.johnozbay.com/i-left-apples-ecosystem-for-a-lenovo-chromebook-and-you-can-too.html
2•speckx•5m ago•0 comments

How to limit unauthorized AI us in the classroom

https://hollisrobbinsanecdotal.substack.com/p/how-to-limit-unauthorized-ai-use
2•HR01•7m ago•0 comments

The dark fascist secret hidden beneath one of Europe's largest railway stations

https://www.cnn.com/travel/milan-stazione-centrale-binario-21-shoah-memorial
3•bwb•7m ago•1 comments

Fortum has started heat production at two large data centre sites in Finland

https://www.fortum.com/en/media/2026/05/fortum-has-started-heat-production-two-large-data-centre-...
2•ep_jhu•8m ago•0 comments

Chrome removes claim of On-device Al not sending data to Google Servers

https://old.reddit.com/r/chrome/comments/1t5qayz/chrome_removes_claim_of_ondevice_al_not_sending/
4•newsoftheday•10m ago•0 comments

Energy-Based Transformers

https://blog.serendeep.tech
1•serendope•10m ago•0 comments

Need expert help without the endless back-and-forth? – GigsPool

1•nucleas•11m ago•0 comments

The surprisingly complex journey to text-selectable client-side generated PDFs

https://sdocs.dev/blogs/journey-to-pdf-generation
1•FailMore•11m ago•0 comments

Show HN: Drumforge – Free open-source interactive drum exercises

https://drumforge.app/
1•narghev•11m ago•0 comments

How to Choose Better Chocolate

https://chof.nl/how-to-choose-chocolate
1•felipevb•11m ago•0 comments

The Frame-Dependent Mind

https://softmax.com/blog/the-frame-dependent-mind
1•tosh•12m ago•0 comments

Honey, I Shrunk the Circuits

https://tokenbender.com/posts/honey-i-shrunk-the-circuits/
1•dejavucoder•12m ago•0 comments

Thefacebook.com's Darker Side (2004)

http://web.archive.org/web/20041101143311/http://www.stanforddaily.com/tempo?page=content&id=1349...
1•downbad_•12m ago•1 comments

The AI-free site builder for genius founders

https://fraude.design
1•cdrnsf•13m ago•0 comments

The Intolerable Hypocrisy of Cyberlibertarianism

https://matduggan.com/the-intolerable-hypocrisy-of-cyberlibertarianism/
1•brycewray•13m ago•0 comments

Building my own embedded WebKit macOS browser with dark reader

https://wkdomains.com/2026/may/on-the-dark-side/
1•andrewfromx•14m ago•0 comments

Mining WhatsApp, WeChat, Alibaba, Gmail to Create a Unified Supplier Dashboard

https://theautomatedoperator.substack.com/p/mining-whatsapp-wechat-alibaba-and
1•idopmstuff•15m ago•0 comments

Show HW: Vectors.Space – An free service for embeddings

https://vectors.space
1•marcobambini•15m ago•0 comments

What's Next for IVF

https://www.technologyreview.com/2026/05/07/1136946/whats-next-for-ivf-ai-robot-pgt-gene-editing/
1•Brajeshwar•16m ago•0 comments

Informity AI – Chat with your documents locally on your Mac (MIT, free)

https://www.informity.ai/
1•informity•17m ago•0 comments

Giga Launches Realtime Hallucination Correction

https://giga.ai/hallucinations
1•varunvummadi•17m ago•0 comments

DS4, a specialized inference engine for DeepSeek v4 Flash

https://twitter.com/antirez/status/2052405820235678175
4•tosh•18m ago•1 comments

Use the Hyper Key

https://brianlovin.com/writing/use-the-hyper-key-o5ozwGC
1•surprisetalk•21m ago•1 comments

Security Debt We Never Created

https://www.formal.ai/blog/security-debt-we-never-created/
4•saligrama•21m ago•1 comments

A card that gives some purchases for free

https://twitter.com/itstuyo/status/2052404971979550871
1•alexperezpaya•22m ago•0 comments