Go API

Open-source Go projects categorized as API | Edit details

Top 23 Go API Projects

  • GitHub repo micro

    Micro is an operating system for the cloud (by micro)

    Project mention: Migrating from PHP to Go | reddit.com/r/golang | 2021-09-30

    https://micro.mu/ - a framework based approach that selects the core stuff you need.

  • GitHub repo chi

    lightweight, idiomatic and composable router for building Go HTTP services

    Project mention: Release v2.20.0 · gofiber/fiber | reddit.com/r/golang | 2021-10-06

    I really like chi. Feels like an extension for the go http lib

  • Nanos

    Run Linux Software Faster and Safer than Linux with Unikernels.

  • GitHub repo up

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

    Project mention: Ask HN: Does anyone else find the AWS Lambda developer experience poor? | news.ycombinator.com | 2021-04-18

    I can also recommend serverless.com framework for local development and running lambdas offline.

    AWS provides a docker image for emulating DynamoDB which works great for local dev and will commonly be paired with lambdas.

    Another option I have used recently for implementing node web services is https://github.com/apex/up which also has a nice local dev experience.

  • GitHub repo GoSwagger

    Swagger 2.0 implementation for go

    Project mention: Looking for help with Azure Autorest | reddit.com/r/golang | 2021-10-04

    You may have better luck with go-swagger or OpenAPI Generator to generate Go code.

  • GitHub repo Tyk

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

    Project mention: Microservices Design - API Gateway Pattern | dev.to | 2021-01-01

    Amazon API Gateway AWS provides fully managed service for creating, publishing, maintaining, monitoring, and securing REST, HTTP, and WebSocket where developers can create APIs that access AWS or other web services, as well as data stored in the AWS Cloud. Kong API Gateway Kong Gateway is an open-source, lightweight API gateway optimized for microservices, delivering unparalleled latency performance and scalability. If you just want the basics, this option will work for you. It is scalable easily horizontally by adding more nodes. It supports large and variable workloads with very low latency. Other API Gateways Apigee API Gateway MuleSoft Tyk.io Akana SwaggerHub Azure API Gateway Express API Gateway Karken D Choosing the right API gateway Some of the common baseline for evaluation criteria include simplicity, open-source vs propriety, scalability & flexibility, security, features, community, administrative (support, monitoring & deployment), environment provisioning(installation, configuration, hosting offering), pricing, and documentation. API Composition / Aggregation Some API requests in API Gateway map directly to single service API which can be served by routing request to the corresponding microservice. However, in the case of complex API operations that requires results from several microservices can be served by API composition/aggregation (a scatter-gather mechanism). In case of dependency of one another service where synchronous communication is required, the chained composition pattern has to be followed. The composition layer has to support a significant portion of ESB/integration capabilities such as transformations, orchestration, resiliency, and stability patterns. A root container is deployed with the special distributor and aggregator functionalities (or microservices). The distributor is responsible for breaking down into granular tasks and distributing those tasks to microservice instances. The aggregator is responsible for aggregating the results derived by business workflow from composed microservice. API Gateway and Aggregation API gateway with added features results in overambitious gateways that encourage designs that continue to be difficult to test and deploy. It is highly recommended to avoid aggregation and data transformation in the API Gateway. Domain smarts are better suited to be done in application code that follows the defined software development practices. Netflix API Gateway, Zuul 2 removed a lot of the business logic from Gateway that they had in Zuul to origin systems. For more details, refer here. Service Mesh and API Gateway Service mesh in microservices is a configurable network infrastructure layer that handles interprocess communication. This is akin to what is often termed as sidecar proxy or sidecar gateway. It provides a lot of functionalities such as:

  • GitHub repo Gotify

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

    Project mention: A simple server for sending and receiving messages in real-time per WebSocket. | reddit.com/r/golang | 2021-10-16
  • GitHub repo 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.

    Project mention: To Drupal or not to Drupal… Putting my foot down in the Webform module's issue queue | reddit.com/r/drupal | 2021-04-26
  • Scout APM

    Scout APM: A developer's best friend. Try free for 14-days. Scout APM uses tracing logic that ties bottlenecks to source code so you know the exact line of code causing performance issues and can get back to building a great product faster.

  • GitHub repo qor

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

  • GitHub repo goa

    Design-based APIs and microservices in Go

    Project mention: Can you recommend a good design tool for golang? | reddit.com/r/golang | 2021-08-05

    I looked for some cloud uml tools, goa.design Not sure currently, I haven't tried them yet. Want some recommendation for our agile dev team.

  • GitHub repo gotenberg

    A Docker-powered stateless API for PDF files.

    Project mention: PDF Invoice generator best deployment platform | reddit.com/r/node | 2021-08-12

    you can use this service with docker https://gotenberg.dev/

  • GitHub repo Mercure

    Server-sent live updates: protocol and reference implementation

    Project mention: We Got to LiveView | news.ycombinator.com | 2021-09-22

    The Symfony community has been going for Server Sent Events rather than websockets, via https://mercure.rocks/. I don't understand the benefit when every other framework wanting interactivity is still going for websockets.

    As you say SSE seem more suitable for notifications rather than bi-directional communication.

  • GitHub repo encore

    The Cloud Native Development Platform built for Go

    Project mention: Jolie, the service-oriented programming language | news.ycombinator.com | 2021-05-17

    Super interesting! We're doing something similar with Encore [1], but instead of building a whole new language we let you program using Go. Looking forward to see where this goes :)

    [1] https://github.com/encoredev/encore

  • GitHub repo golang-gin-realworld-example-app

    Exemplary real world application built with Golang + Gin

    Project mention: Can someone recommend me a Golang complete repo | reddit.com/r/golang | 2021-06-14
  • GitHub repo gock

    HTTP traffic mocking and testing made easy in Go ༼ʘ̚ل͜ʘ̚༽

    Project mention: Go Package for Mocking HTTP Traffic: github.com/h2non/gock | dev.to | 2021-04-16

    Last time I covered testing in Go I mentioned a package used for testing equality called github.com/google/go-cmp, this time I will share with you a way to mock HTTP traffic using the package github.com/h2non/gock.

  • GitHub repo hprose

    Hprose is a cross-language RPC. This project is Hprose for Golang.

  • GitHub repo REST Layer

    REST Layer, Go (golang) REST API framework

  • GitHub repo kin-openapi

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

    Project mention: What are your favorite packages to use? | reddit.com/r/golang | 2021-08-15

    oklog/ulid to generate IDs. coreos/go-oidc for validating JWTs I get from auth. google/go-cmp for comparing structs in tests (unless the project is already using Testify). spf13/pflag because life's too short for Go's flag handling. getkin/kin-openapi for validating reqests/responses against my OpenAPI spec (in tests).

  • GitHub repo Goyave

    🍐 Elegant Golang REST API Framework

    Project mention: Noob here. Need recommendation for best REST API framework. | reddit.com/r/golang | 2021-07-19

    Hello, I am working on an opinionated REST API framework called Goyave. Check it out and PM me if you have any question.

  • GitHub repo drago

    ☁️ Securely connect anything with WireGuard® and manage all your networks from a single place.

    Project mention: Looking for a good guide for deploying WireGuard with a GUI | reddit.com/r/selfhosted | 2021-10-13

    Great list, I'd add Drago as well, though it may be for more advanced use.

  • GitHub repo go-binance

    A Go SDK for Binance API

    Project mention: Binance Trading Robot | reddit.com/r/golang | 2021-10-04
  • GitHub repo PassWall

    Passwall Server is the core backend infrastructure for Passwall platform

  • GitHub repo Gearbox

    Gearbox :gear: is a web framework written in Go with a focus on high performance

  • GitHub repo kapow

    Kapow! If you can script it, you can HTTP it.

    Project mention: minimal site analytics? | reddit.com/r/suckless | 2021-03-28
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). The latest post mention was on 2021-10-16.

Index

What are some of the best open-source API projects in Go? This list will help you:

Project Stars
1 micro 10,457
2 chi 10,220
3 up 8,373
4 GoSwagger 6,862
5 Tyk 6,747
6 Gotify 6,199
7 Ponzu 5,328
8 qor 4,864
9 goa 4,396
10 gotenberg 2,955
11 Mercure 2,558
12 encore 2,359
13 golang-gin-realworld-example-app 1,713
14 gock 1,498
15 hprose 1,180
16 REST Layer 1,106
17 kin-openapi 1,065
18 Goyave 903
19 drago 776
20 go-binance 729
21 PassWall 581
22 Gearbox 566
23 kapow 546
Find remote API jobs at our new job board 99remotejobs.com. There are 3 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com