Llmconfig – configfile and CLI for local LLM
One YAML config for three backends when Ollama already handles llama.cpp alone.
Pure Go bindings for stable-diffusion.cpp
Pure Go Stable Diffusion bindings that skip CGO headaches entirely.
Go developers building AI applications
go-stable-diffusion · stable-diffusion.cpp
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.
One YAML config for three backends when Ollama already handles llama.cpp alone.
90x faster incremental parsing in pure Go—tree-sitter without C toolchain friction.
Everything you type and generate stays on your machine — model downloads, LoRA mixing, upscaling via Real-ESRGAN and inference run locally while the app shows real-time progress and backend logs. The app leans into practical UX (hardware-based model recommendations, visual memory allocation, generation history) which makes setup and iteration less painful. It isn't reinventing the local-UI wheel — AUTOMATIC1111 and ComfyUI still dominate — but ExoGen is a tidy, approachable alternative for people who want a desktop, privacy-first experience.
CGO-free Go GUI wrapper around Gio with 8 stars and no forks yet.
Pure Go MLS with no CGO—interop-verified against mlspp and OpenMLS.
GPT-2 inference in pure C# allocating zero bytes per token beats ONNX Runtime.