HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
leejet
stable-diffusion.cpp
C++2023–2026
leejet / stable-diffusion.cpp

stable-diffusion.cpp

Diffusion model(SD,Flux,Wan,Qwen Image,Z-Image,Minimax H3,...) inference in pure C/C++

16Distinct people
16Mentions
0Explicit recommenders
8KGitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

Diffusion model(SD,Flux,Wan,Qwen Image,Z-Image,Minimax H3,...) inference in pure C/C++

GitHub

Where it is used

No documented product use was verified in the last source check.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 6:01:08 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by year16 dated mentions

Observed mentions: 2023-08-16 05:46:18 UTC to 2026-09-20 16:39:07 UTC.

02462023-01-01 00:00:00 UTC to 2024-01-01 00:00:00 UTC (exclusive): 5 mentions; 3 submissions, 2 comments20232024-01-01 00:00:00 UTC to 2025-01-01 00:00:00 UTC (exclusive): 2 mentions; 1 submissions, 1 comments20242025-01-01 00:00:00 UTC to 2026-01-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments2026-01-01 00:00:00 UTC to 2027-01-01 00:00:00 UTC (exclusive): 7 mentions; 1 submissions, 6 comments. Incomplete calendar period.2026*

* An incomplete calendar period is marked with an outlined bar. Its count is not directly comparable with a full period.

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
20232023-01-01 00:00:00 UTC2024-01-01 00:00:00 UTC532
20242024-01-01 00:00:00 UTC2025-01-01 00:00:00 UTC211
20252025-01-01 00:00:00 UTC2026-01-01 00:00:00 UTC202
2026 (partial)2026-01-01 00:00:00 UTC2027-01-01 00:00:00 UTC716

What Hacker News says

7 sources
I've set it up on my local machine just now, as my first local image diffuser. I can confirm it's very easy. I tried stable-diffusion.cpp, following its compile guide here[0], and its Qwen Image-2.1 specific instructions here[1]. It works out of the box. I made a test pelican[2]. It took 3 minutes on a CPU. [0] https://github.com/leejet/stable-diffusion.cpp/blob/master/d... [1] https://github.com/leejet/stable-diffusion.cpp/blob/master/d... [2] https://i.ibb.co/yMknC2K/output.png
In Qwen Image 2.1
krakato·May 7, 2026Submission

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

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 mod
Read the rest
els. 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.
1 points · Open discussion

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.