SaaSHub helps you find the best software and product alternatives 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. Features: Generate Text, MCP, Audio, Video, Images, Voice Cloning, Distributed, P2P and decentralized inference
-
Stream
Stream - Scalable APIs for Chat, Feeds, Moderation, & Video. Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.
-
This list is not exhaustive, but it covers the main technologies that will be used in this series. I may decide to throw bun in as well. And I think that we will have to use some kind of web framework in some point in the future, at least something minimal like Chi. Apart from that I will try to use as minimal different libraries or frameworks as possible, as I am trying to learn Go, not a framework.
-
Gotify
A simple server for sending and receiving messages in real-time per WebSocket. (Includes a sleek web-ui) (by gotify)
Project mention: The EU could be scanning your chats by October 2025 | news.ycombinator.com | 2025-07-29I was reflecting on the whole chat apps and protocols the other day and felt we might just have trapped ourselves artificially.
If I want to casually keep in touch with a friend, I am supposed to have the following options:
- SMS/RCS: no need for an app but is controlled
- WhatsApp: no good to many reasons
- Signal: how can you believe it is not controlled once it becomes the mandatory app in the US Gov.
- Matrix: great but you need to self host a server, create accounts, etc.
- SimpleX: very interesting, but centralised and I feel it might just be the next Signal. Might be a solution since you can exit at some point by self hosting a server and I guess have alternative implementations.
- Delta chat: great but I guess email fall into the mass surveillance target.
Now most people do not have crazy security requirements and just want to be able to send a simple text message to a friend and be notified instantly without participating in mass surveillance. So why even using a formal Chat app that will be target by a regulation like Chat Control or kicked out of the App store?
Something like Gotify [0] or ntfy [1] are almost enough for most users. It has the whole free from Google and Apple push notification system figured out. You would just need to modify a bit the app to exchange keys with a QR code for individual topics (that you would use as contact or groups).
In a way we just need MQTT servers, a client with reliable push notifications and a manual key exchange mechanism. That would be really hard for govs to target.
- [0] https://gotify.net/
- [1] https://ntfy.sh/
-
keploy
API, Integration, E2E Testing Agent for Developers that actually work. Generate tests, mocks/stubs for your APIs!
Project mention: Regression Testing Metrics That Actually Indicate Release Readiness | dev.to | 2025-12-18Integration failures and API behavior changes are common sources of regressions that UI tests alone cannot detect. Tools like Keploy help teams validate real API behavior and detect regressions early, making backend testing signals more reliable without increasing test maintenance overhead.
-
Encore
Open source framework for building robust type-safe distributed systems with declarative infrastructure
Encore works entirely locally if you prefer not to use AWS. Everything runs on your machine with the same 1:1 local-to-production experience. You can also self-host or use the open-source framework without any cloud platform.
-
gotenberg
A developer-friendly API for converting numerous document formats into PDF files, and more!
Project mention: Ask HN: What is nowadays (opensource) way of converting HTML to PDF? | news.ycombinator.com | 2025-09-29 -
-
InfluxDB
InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
-
go-swagger: A toolkit to generate and validate Swagger/OpenAPI specs and build RESTful APIs in Go.
-
-
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.
Additionally, beyond the five major high star projects above, open source tools like Yao and ILLA Builder also maintain strong community activity. Yao provides a full stack application engine that enables rapid construction of models, workflows, and APIs for internal systems. ILLA Builder focuses on visual interface building, making it suitable for quickly creating admin panels and data tools. Both projects also offer basic AI extensions and can be useful complementary options when teams are building internal tools.
-
-
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.
-
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.
-
go-backend-clean-architecture
A Go (Golang) Backend Clean Architecture project with Gin, MongoDB, JWT Authentication Middleware, Test, and Docker.
-
qor
QOR is a set of libraries written in Go that abstracts common features needed for business applications, CMSs, and E-commerce systems.
- 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.
-
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.
-
-
-
-
goku_lite
A Powerful HTTP API Gateway in pure golang!Goku API Gateway (中文名:悟空 API 网关)是一个基于 Golang开发的微服务网关,能够实现高性能 HTTP API 转发、服务编排、多租户管理、API 访问权限控制等目的,拥有强大的自定义插件系统可以自行扩展,并且提供友好的图形化配置界面,能够快速帮助企业进行 API 服务治理、提高 API 服务的稳定性和安全性。
-
kin-openapi
OpenAPI 3.0 (and Swagger v2) implementation for Go (parsing, converting, validation, and more)
kin-openapi: Library to manipulate OpenAPI 3.1 specs
-
Or this one that I've been self-hosting for my team: https://vikunja.io/
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Go API discussion
Go API related posts
-
Show HN: I open-sourced my Go and Next B2B SaaS Starter (deploy anywhere, MIT)
-
Regression Testing Metrics That Actually Indicate Release Readiness
-
Build Production-Ready Go APIs 10x Faster in 2026: The AI-First Developer’s Guide
-
Using Resend with Encore
-
News: S3 Connector Added to Emmer
-
Creating, Running, and Managing Python Projects in Visual Studio
-
What Is A Test Script In Software Testing?
- A note from our sponsor - SaaSHub www.saashub.com | 21 Dec 2025
Index
What are some of the best open-source API projects in Go? This list will help you:
| # | Project | Stars |
|---|---|---|
| 1 | LocalAI | 40,200 |
| 2 | chi | 21,136 |
| 3 | Gotify | 14,271 |
| 4 | keploy | 13,622 |
| 5 | Encore | 11,207 |
| 6 | gotenberg | 10,690 |
| 7 | Tyk | 10,541 |
| 8 | GoSwagger | 9,896 |
| 9 | up | 8,810 |
| 10 | yao | 7,471 |
| 11 | go-gin-example | 7,090 |
| 12 | goa | 6,016 |
| 13 | Ponzu | 5,765 |
| 14 | go-backend-clean-architecture | 5,680 |
| 15 | qor | 5,364 |
| 16 | Mercure | 5,138 |
| 17 | huma | 3,666 |
| 18 | vulcain | 3,564 |
| 19 | OliveTin | 3,324 |
| 20 | faasd | 3,215 |
| 21 | goku_lite | 3,136 |
| 22 | kin-openapi | 3,119 |
| 23 | vikunja | 2,861 |