Go MongoDB

Open-source Go projects categorized as MongoDB

Top 23 Go MongoDB Projects

  1. migrate

    Database migrations. CLI and Golang library.

    Project mention: Mastering Database Migrations in Go with golang-migrate and SQLite | dev.to | 2025-04-14

    Managing database changes is critical for any software project. This guide walks you through using golang-migrate with SQLite in Go to handle migrations cleanly and consistently.

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

    A truly Open Source MongoDB alternative

    Project mention: You Can Make Postgres Scale | news.ycombinator.com | 2025-03-14
  4. mongo-go-driver

    The Official Golang driver for MongoDB

  5. machinery

    Machinery is an asynchronous task queue/job queue based on distributed message passing.

  6. space-cloud

    Open source Firebase + Heroku to develop, scale and secure serverless apps on Kubernetes

  7. upper.io/db

    Data Access Layer (DAL) for PostgreSQL, CockroachDB, MySQL, SQLite and MongoDB with ORM-like features.

  8. goxygen

    Generate a modern Web project with Go and Angular, React, or Vue in seconds 🎲

  9. 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
  10. wal-g

    Archival and Restoration for databases in the Cloud

  11. kubeblocks

    KubeBlocks is an open-source control plane software that runs and manages databases, message queues and other stateful applications on K8s.

    Project mention: KubeBlocks – Run production-grade databases easily on Kubernetes | news.ycombinator.com | 2025-03-14
  12. prisma-client-go

    Prisma Client Go is an auto-generated and fully type-safe database client

    Project mention: I made SQL easy in Go | dev.to | 2025-02-02

    When I've used it in projects in the past its been through libraries like prisma-client-go. This is a really cool package. You define your schema, and run 1 command and you instantly have fully typed Go code to work with. I even used it to create a monitoring mobile app called Cronus.

  13. eventhorizon

    Event Sourcing for Go!

  14. tsbs

    Time Series Benchmark Suite, a tool for comparing and evaluating databases for time series data

    Project mention: InfluxDB 3.0 vs 1.8: A Surprising Decline in Ingestion Speed | dev.to | 2025-03-05

    To prove how much better InfluxDB 3.0 performs, we decided to compare it against InfluxDB 1.8 using the Time Series Benchmark Suite (TSBS) originally developed by InfluxData and now maintained, to some extent, by Timescale. Because InfluxDB 3.0 supports InfluxQL and InfluxDB’s line protocol, in theory the test suite for 1.8 should be able to run on the new public alpha. In fact, we did run into several compatibility issues during the testing process and had to find workarounds; this is discussed in the Methodology section below.

  15. qmgo

    Qmgo - The Go driver for MongoDB. It‘s based on official mongo-go-driver but easier to use like Mgo.

  16. mongodb_exporter

    A Prometheus exporter for MongoDB including sharding, replication and storage engines

  17. tigris

    Tigris is an Open Source Serverless NoSQL Database and Search Platform.

    Project mention: Hetzner Object Storage | news.ycombinator.com | 2024-10-07

    I should mention Tigris[0] here. They're also a new Object Storage service, but they have this two-way replication facility with another S3-compatible service. The primary purpose they built it for is to mirror files from your existing S3 to Tigris as files are requested.

    However they also have an option to copy files that are added to Tigris, to S3 automatically [1] (`--shadow-write-through`). I asked their founder if it's okay to use it as an extra redundancy continuously instead of a one-time migration, and they said they have no issues with it.

    [0] https://www.tigrisdata.com

  18. gokv

    Simple key-value store abstraction and implementations for Go (Redis, Consul, etcd, bbolt, BadgerDB, LevelDB, Memcached, DynamoDB, S3, PostgreSQL, MongoDB, CockroachDB and many more)

  19. mgm

    Mongo Go Models (mgm) is a fast and simple MongoDB ODM for Go (based on official Mongo Go Driver) (by Kamva)

  20. wait4x

    Wait4X allows you to wait for a port or a service to enter the requested state. (by wait4x)

    Project mention: Ensuring Service Availability in Modern Infrastructure with Wait4X's TCP Checker | dev.to | 2025-03-24

    Wait4X is a lightweight, zero-dependency tool designed to wait for services to be ready before continuing. It's a Swiss Army knife for service readiness checks, supporting multiple protocols and integrations including TCP, HTTP, DNS, and various databases.

  21. components-contrib

    Community driven, reusable components for distributed apps

  22. lungo

    A MongoDB compatible embeddable database and toolkit for Go.

  23. cachego

    Golang Cache component - Multiple drivers

  24. nosqli

    NoSql Injection CLI tool, for finding vulnerable websites using MongoDB.

  25. local-docker-db

    A bunch o' Docker Compose files used to quickly spin up local databases.

  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 MongoDB discussion

Log in or Post with

Go MongoDB related posts

  • go-wait VS Wait4X - a user suggested alternative

    2 projects | 19 Mar 2025
  • KubeBlocks – Run production-grade databases easily on Kubernetes

    1 project | news.ycombinator.com | 14 Mar 2025
  • InfluxDB 3.0 vs 1.8: A Surprising Decline in Ingestion Speed

    2 projects | dev.to | 5 Mar 2025
  • Simulate an IoT sensor dataset

    1 project | dev.to | 26 Feb 2025
  • KubeBlocks: Open-source operator helps for running any database on K8s

    1 project | news.ycombinator.com | 22 Jan 2025
  • Ask HN: Any one know good AI SRE for Kubernetes?

    1 project | news.ycombinator.com | 8 Jan 2025
  • FerretDB: Use PostgreSQL with MongoDB Drivers

    1 project | news.ycombinator.com | 26 Nov 2024
  • A note from our sponsor - SaaSHub
    www.saashub.com | 19 Apr 2025
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

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

# Project Stars
1 migrate 16,442
2 FerretDB 10,037
3 mongo-go-driver 8,308
4 machinery 7,702
5 space-cloud 3,967
6 upper.io/db 3,585
7 goxygen 3,572
8 wal-g 3,493
9 kubeblocks 2,650
10 prisma-client-go 2,284
11 eventhorizon 1,611
12 tsbs 1,355
13 qmgo 1,321
14 mongodb_exporter 1,245
15 tigris 934
16 gokv 779
17 mgm 761
18 wait4x 578
19 components-contrib 564
20 lungo 470
21 cachego 374
22 nosqli 371
23 local-docker-db 296

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

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