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 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-10

    If 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

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

    CodeRabbit logo
  3. chi

    lightweight, idiomatic and composable router for building Go HTTP services

    Project mention: Gerando Pagamentos via Pix com a AbacatePay | dev.to | 2025-04-16
  4. Gotify

    A simple server for sending and receiving messages in real-time per WebSocket. (Includes a sleek web-ui) (by gotify)

  5. Tyk

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

    Project mention: Dito – an advanced Layer 7 reverse proxy server written in Go | news.ycombinator.com | 2024-10-09
  6. GoSwagger

    Swagger 2.0 implementation for go

  7. Encore

    Open Source Development Platform for building robust type-safe distributed systems with declarative infrastructure

    Project mention: Build a Production-Ready SaaS Application | dev.to | 2025-03-18

    Star Encore on GitHub

  8. gotenberg

    A developer-friendly API for converting numerous document formats into PDF files, and more!

    Project mention: 5 Free Open-Source Tools to Make Your Next Project Easier | dev.to | 2024-12-26
  9. InfluxDB

    InfluxDB high-performance time series database. Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.

    InfluxDB logo
  10. up

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

  11. keploy

    Unit, API & Integration Testing Agent for Developers. Generate tests, mocks/stubs for your APIs that actually work!

    Project mention: Best Opensource Coding Ai | dev.to | 2025-04-17

    To know more about Keploy: https://keploy.io

  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 11 Open Source Internal Tools with the Most GitHub Stars | dev.to | 2024-09-03

    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 /

  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.

    Project mention: IBM to Acquire HashiCorp, Inc | news.ycombinator.com | 2024-04-24

    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.

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

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

  17. go-backend-clean-architecture

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

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

    🔨 Fast and idiomatic client-driven REST APIs.

  20. goku_lite

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

  21. faasd

    Lightweight and portable version of OpenFaaS

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

  23. OliveTin

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

  24. kin-openapi

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

  25. janus

    An API Gateway written in Go (by motiv-labs)

  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

Log in or Post with

Go API related posts

  • Best Opensource Coding Ai

    4 projects | dev.to | 17 Apr 2025
  • Best Browser for Mac in 2025: Top Picks for Speed, Security & Developer Tools

    1 project | dev.to | 17 Apr 2025
  • VSCode vs Cursor: Which One Should You Choose?

    1 project | dev.to | 17 Apr 2025
  • Inside The Java Native Interface (Jni)

    1 project | dev.to | 16 Apr 2025
  • Shifting Gears: Why the API World is Moving Toward GraphQL

    1 project | dev.to | 16 Apr 2025
  • Best Browser For Mac In 2025: Top Picks For Speed, Privacy & Features

    1 project | dev.to | 14 Apr 2025
  • Coder Testing: Why It Matters and How to Get It Right

    1 project | dev.to | 9 Apr 2025
  • A note from our sponsor - InfluxDB
    influxdata.com | 19 Apr 2025
    Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems. Learn more →

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

Sponsored
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.
coderabbit.ai

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