Go API

Open-source Go projects categorized as API

Top 23 Go API Projects

  1. 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

    Project mention: 7 AI Devtools to Watch This December | dev.to | 2025-12-09
  2. 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.

    Stream logo
  3. chi

    lightweight, idiomatic and composable router for building Go HTTP services

    Project mention: Go full stack web app tutorial with sqlc and htmx. Part 1 | dev.to | 2025-11-25

    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.

  4. 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-29

    I 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/

  5. 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-18

    Integration 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.

  6. Encore

    Open source framework for building robust type-safe distributed systems with declarative infrastructure

    Project mention: Building on AWS with Cursor | dev.to | 2025-12-12

    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.

  7. 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
  8. Tyk

    Tyk Open Source API Gateway written in Go, supporting REST, GraphQL, TCP and gRPC protocols

  9. 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.

    InfluxDB logo
  10. GoSwagger

    Swagger 2.0 implementation for go

    Project mention: MERN Stack Alternatives in Golang | dev.to | 2025-09-22

    go-swagger: A toolkit to generate and validate Swagger/OpenAPI specs and build RESTful APIs in Go.

  11. up

    Deploy infinitely scalable serverless apps, apis, and sites in seconds to AWS.

  12. 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.

    Project mention: Top 5 Open-Source AI Internal Tools on GitHub | dev.to | 2025-12-05

    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.

  13. go-gin-example

    An example of gin

  14. 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.

  15. 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.

  16. go-backend-clean-architecture

    A Go (Golang) Backend Clean Architecture project with Gin, MongoDB, JWT Authentication Middleware, Test, and Docker.

  17. qor

    QOR is a set of libraries written in Go that abstracts common features needed for business applications, CMSs, and E-commerce systems.

  18. Mercure

    🪽 An open, easy, fast, reliable and battery-efficient solution for real-time communications

    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.

  19. huma

    A modern, simple, fast & flexible micro framework for building HTTP REST/RPC APIs in Go backed by OpenAPI 3 and JSON Schema.

    Project mention: Automated Documentation for APIs | dev.to | 2025-04-07

    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.

  20. vulcain

    🔨 Fast and idiomatic client-driven REST APIs.

  21. OliveTin

    OliveTin gives safe and simple access to predefined shell commands from a web interface.

  22. faasd

    Lightweight and portable version of OpenFaaS

  23. goku_lite

    A Powerful HTTP API Gateway in pure golang!Goku API Gateway (中文名:悟空 API 网关)是一个基于 Golang开发的微服务网关,能够实现高性能 HTTP API 转发、服务编排、多租户管理、API 访问权限控制等目的,拥有强大的自定义插件系统可以自行扩展,并且提供友好的图形化配置界面,能够快速帮助企业进行 API 服务治理、提高 API 服务的稳定性和安全性。

  24. kin-openapi

    OpenAPI 3.0 (and Swagger v2) implementation for Go (parsing, converting, validation, and more)

    Project mention: Professional Testing Experience in Golang | dev.to | 2025-12-19

    kin-openapi: Library to manipulate OpenAPI 3.1 specs

  25. vikunja

    The to-do app to organize your life.

    Project mention: Kan.bn – An open-source alterative to Trello | news.ycombinator.com | 2025-06-02

    Or this one that I've been self-hosting for my team: https://vikunja.io/

  26. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Go API discussion

Go API related posts

  • Show HN: I open-sourced my Go and Next B2B SaaS Starter (deploy anywhere, MIT)

    6 projects | news.ycombinator.com | 19 Dec 2025
  • Regression Testing Metrics That Actually Indicate Release Readiness

    1 project | dev.to | 18 Dec 2025
  • Build Production-Ready Go APIs 10x Faster in 2026: The AI-First Developer’s Guide

    2 projects | dev.to | 17 Dec 2025
  • Using Resend with Encore

    1 project | dev.to | 10 Dec 2025
  • News: S3 Connector Added to Emmer

    1 project | news.ycombinator.com | 8 Dec 2025
  • Creating, Running, and Managing Python Projects in Visual Studio

    1 project | dev.to | 8 Dec 2025
  • What Is A Test Script In Software Testing?

    1 project | dev.to | 27 Nov 2025
  • A note from our sponsor - SaaSHub
    www.saashub.com | 21 Dec 2025
    SaaSHub helps you find the best software and product alternatives Learn more →

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

Sponsored
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.
getstream.io

Did you know that Go is
the 3rd most popular programming language
based on number of references?