{
 "schema_version": 1,
 "generated": "2026-10-26",
 "repo": "goccy/go-llama",
 "name": "go-llama",
 "owner": "goccy",
 "slug": "goccy-go-llama",
 "github": "https://github.com/goccy/go-llama",
 "what": "go-llama is a Go library that runs GGUF language models through llama.cpp compiled to WebAssembly and translated to Go, with no cgo or shared library needed.",
 "why": "171 stars, launched 86 days ago",
 "language": "Go",
 "requirements": [
  "A Go toolchain installed on your machine",
  "A GGUF model file, such as model.gguf",
  "Enough memory for the model weights and KV cache, since the README notes wasm32 caps linear memory at 4 GiB"
 ],
 "audience_note": "Written for Go developers who want to run local GGUF models inside a Go program or service without cgo.",
 "risk": "none",
 "section": "earlier",
 "weekly_rank": null,
 "category": "Software and DevOps",
 "url": "https://dedupedai.com/use-cases/goccy-go-llama/",
 "use_case_count": 4,
 "use_cases": [
  {
   "id": "goccy-go-llama--embed-gguf-model-in-go-service",
   "title": "Add local GGUF text generation to a Go program",
   "best": true,
   "url": "https://dedupedai.com/use-cases/goccy-go-llama/embed-gguf-model-in-go-service/",
   "json": "https://dedupedai.com/use-cases/u/goccy-go-llama/embed-gguf-model-in-go-service.json"
  },
  {
   "id": "goccy-go-llama--stream-tokens-to-live-output",
   "title": "Show model output token by token as it generates",
   "best": false,
   "url": "https://dedupedai.com/use-cases/goccy-go-llama/stream-tokens-to-live-output/",
   "json": "https://dedupedai.com/use-cases/u/goccy-go-llama/stream-tokens-to-live-output.json"
  },
  {
   "id": "goccy-go-llama--serve-many-conversations-from-one-model",
   "title": "Run separate chat sessions on one loaded model",
   "best": false,
   "url": "https://dedupedai.com/use-cases/goccy-go-llama/serve-many-conversations-from-one-model/",
   "json": "https://dedupedai.com/use-cases/u/goccy-go-llama/serve-many-conversations-from-one-model.json"
  },
  {
   "id": "goccy-go-llama--run-untrusted-gguf-in-sandbox",
   "title": "Run a third-party GGUF model with limited file and memory access",
   "best": false,
   "url": "https://dedupedai.com/use-cases/goccy-go-llama/run-untrusted-gguf-in-sandbox/",
   "json": "https://dedupedai.com/use-cases/u/goccy-go-llama/run-untrusted-gguf-in-sandbox.json"
  }
 ],
 "disclaimer": "Third-party repos we don't own or vouch for. AI-generated use cases can be wrong: review everything and run at your own risk."
}
