Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems. Learn more →
Top 23 Go API Projects
-
LocalAI
:robot: The free, Open Source alternative to OpenAI, Claude and others. Self-hosted and local-first. Drop-in replacement for OpenAI, running on consumer-grade hardware. No GPU required. Runs gguf, transformers, diffusers and many more models architectures. Features: Generate Text, Audio, Video, Images, Voice Cloning, Distributed, P2P inference
Project mention: Nvidia on NixOS WSL – Ollama up 24/7 on your gaming PC | news.ycombinator.com | 2025-04-10If you're going to run Ollama in Windows anyway, why not use the native build? And if you want to use WSL, then I'd sugggest using something like LocalAI which gives you a lot more control and support for additional formats (GGML, GGUF, GPTQ, ONNX, etc).
https://github.com/mudler/LocalAI
-
CodeRabbit
CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
-
-
Gotify
A simple server for sending and receiving messages in real-time per WebSocket. (Includes a sleek web-ui) (by gotify)
-
Project mention: Dito – an advanced Layer 7 reverse proxy server written in Go | news.ycombinator.com | 2024-10-09
-
-
Encore
Open Source Development Platform for building robust type-safe distributed systems with declarative infrastructure
Star Encore on GitHub
-
gotenberg
A developer-friendly API for converting numerous document formats into PDF files, and more!
-
InfluxDB
InfluxDB high-performance time series database. Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.
-
-
keploy
Unit, API & Integration Testing Agent for Developers. Generate tests, mocks/stubs for your APIs that actually work!
To know more about Keploy: https://keploy.io
-
yao
✨ Yao is an all-in-one application engine that enables developers to create web apps, REST APIs, business applications, and more, with AI as a development partner.
GitHub https://github.com/YaoApp/yao GitHub Star 7.1k GitHub Fork 650k GitHub Issue 76 GitHub Pull Request / GitHub Contributor 9 Most Recent Update on GitHub Within one day Open Source License Apache-2.0 Official Website https://yaoapps.com/ Documentation /
-
-
goa
Design-first Go framework that generates API code, documentation, and clients. Define once in an elegant DSL, deploy as HTTP and gRPC services with zero drift between code and docs.
My experience of Golang is that dependency injection doesn't really have much benefit. It felt like a square peg in a round hole exercise when my team considered it. The team was almost exclusively Java/Typescript Devs so it was something that we thought we needed but I don't believe we actually missed once we decided to not pursue it.
If you are looking at OpenAPI in Golang I can recommend having a look at https://goa.design/. It's a DSL that generates OpenAPI specs and provides an implementation of the endpoints described. Can also generate gRPC from the same definitions.
We found this removed the need to write almost all of the API layer and a lot of the associated validation. We found the generated code including the server element to be production ready from the get go.
-
Ponzu
Headless CMS with automatic JSON API. Featuring auto-HTTPS from Let's Encrypt, HTTP/2 Server Push, and flexible server framework written in Go.
-
qor
QOR is a set of libraries written in Go that abstracts common features needed for business applications, CMSs, and E-commerce systems.
-
go-backend-clean-architecture
A Go (Golang) Backend Clean Architecture project with Gin, MongoDB, JWT Authentication Middleware, Test, and Docker.
-
Project mention: Mercure: A WebSocket alternative for server-sent events | news.ycombinator.com | 2025-01-01
The site offers a little more detail:
https://mercure.rocks/
Basically its server sent events with some stuff on top:
https://developer.mozilla.org/en-US/docs/Web/API/Server-sent...
One big benefit of SSE is that you can put them behind a CDN, making scaling a lot easier. No idea about what Mercure brings there, though.
-
-
goku_lite
A Powerful HTTP API Gateway in pure golang!Goku API Gateway (中文名:悟空 API 网关)是一个基于 Golang开发的微服务网关,能够实现高性能 HTTP API 转发、服务编排、多租户管理、API 访问权限控制等目的,拥有强大的自定义插件系统可以自行扩展,并且提供友好的图形化配置界面,能够快速帮助企业进行 API 服务治理、提高 API 服务的稳定性和安全性。
-
-
huma
A modern, simple, fast & flexible micro framework for building HTTP REST/RPC APIs in Go backed by OpenAPI 3 and JSON Schema.
Solutions to this problem generate API documentation automatically. Libraries such as drf-spectacular use code structure and semantics in back-end frameworks to infer API contracts. API frameworks such as FastAPI and Huma generate OpenAPI specifications as a built-in feature. Tools like mitmproxy2swagger generate documentation from HAR files. Finally, companies such as Akita Software/Postman use network traffic metadata.
-
-
kin-openapi
OpenAPI 3.0 (and Swagger v2) implementation for Go (parsing, converting, validation, and more)
-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Go API discussion
Go API related posts
-
Best Opensource Coding Ai
-
Best Browser for Mac in 2025: Top Picks for Speed, Security & Developer Tools
-
VSCode vs Cursor: Which One Should You Choose?
-
Inside The Java Native Interface (Jni)
-
Shifting Gears: Why the API World is Moving Toward GraphQL
-
Best Browser For Mac In 2025: Top Picks For Speed, Privacy & Features
-
Coder Testing: Why It Matters and How to Get It Right
-
A note from our sponsor - InfluxDB
influxdata.com | 19 Apr 2025
Index
What are some of the best open-source API projects in Go? This list will help you:
# | Project | Stars |
---|---|---|
1 | LocalAI | 31,809 |
2 | chi | 19,526 |
3 | Gotify | 12,349 |
4 | Tyk | 10,044 |
5 | GoSwagger | 9,714 |
6 | Encore | 9,658 |
7 | gotenberg | 9,035 |
8 | up | 8,807 |
9 | keploy | 7,857 |
10 | yao | 7,266 |
11 | go-gin-example | 6,988 |
12 | goa | 5,820 |
13 | Ponzu | 5,739 |
14 | qor | 5,322 |
15 | go-backend-clean-architecture | 5,158 |
16 | Mercure | 4,892 |
17 | vulcain | 3,534 |
18 | goku_lite | 3,127 |
19 | faasd | 3,108 |
20 | huma | 2,913 |
21 | OliveTin | 2,889 |
22 | kin-openapi | 2,834 |
23 | janus | 2,826 |