Go Postgres

Open-source Go projects categorized as Postgres

Top 23 Go Postgre Projects

  • Gravitational Teleport

    The easiest, and most secure way to access and protect all of your infrastructure.

  • Project mention: List of ngrok/Cloudflare Tunnel alternatives and other tunneling software and services. Focus on self-hosting. | dev.to | 2024-04-30

    Teleport - Comprehensive control plane tool, but also supports accessing apps behind NATs. Written in Go.

  • migrate

    Database migrations. CLI and Golang library.

  • Project mention: Using migrations with Golang | dev.to | 2024-04-17

    Go does not natively support the use of migrations, but we could use the ORM that has this functionality, such as GORM which is the most used by the community, but We can use migrations without using an ORM, for this we will use the golang-migrate package.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • bytebase

    The GitLab/GitHub for database DevOps. World's most advanced database DevOps and CI/CD for Developer, DBA and Platform Engineering teams.

  • Project mention: Ask HN: What tool(s) do you use to code review and deploy SQL scripts? | news.ycombinator.com | 2024-04-14

    We have been building https://github.com/bytebase/bytebase for 3+ years. You can think it of as GitHub/GitLab for SQL changes, with integrated GitOps, code review and deployment.

    You can further check out this tutorial to get a feel of our GitOps solution

    https://www.bytebase.com/docs/tutorials/database-change-mana...

  • usql

    Universal command-line interface for SQL databases

  • Project mention: xo/usql: Universal command-line interface for SQL databases | /r/devel | 2023-06-08
  • FerretDB

    A truly Open Source MongoDB alternative

  • Project mention: Figma's Databases team lived to tell the scale | news.ycombinator.com | 2024-03-14

    if you have postgres, just use https://github.com/FerretDB/FerretDB

  • SQLBoiler

    Generate a Go ORM tailored to your database schema.

  • Project mention: Go ORMs Compared | dev.to | 2024-01-18

    SQLBoiler takes a database-first approach, generating Go code from your database schema. This means it creates highly optimized and custom-tailored code for your specific database schema. SQLBoiler is great for applications where the database schema is well-defined and changes infrequently. However, like sqlc, it requires regenerating the code when the database schema changes. It's well-suited for projects where performance is a key concern and the database design is stable​.

  • goose

    A database migration tool. Supports SQL migrations and Go functions.

  • Project mention: Recent improvements to the pressly/goose migration tool | /r/golang | 2023-11-14

    In v3.16.0 we added a new Provider feature that unlocks the ability to implement a lot of highly requested features. More details in the blog post:

  • SaaSHub

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

    SaaSHub logo
  • dbmate

    :rocket: A lightweight, framework-agnostic database migration tool.

  • Project mention: Ask HN: What tool(s) do you use to code review and deploy SQL scripts? | news.ycombinator.com | 2024-04-14

    A regular code repo with the scripts (with pull/merge requests for review) and then a CI job that builds containers with something like dbmate https://github.com/amacneil/dbmate that can then be run against any staging/prod environment.

  • pREST

    PostgreSQL ➕ REST, low-code, simplify and accelerate development, ⚡ instant, realtime, high-performance on any Postgres application, existing or new

  • postgres-operator

    Postgres operator creates and manages PostgreSQL clusters running in Kubernetes

  • Project mention: Run PostgreSQL. The Kubernetes Way | news.ycombinator.com | 2023-09-22

    yes, precisely. It's UI part that's broken, which cannot list snapshots. Issue is here, no fix since 2020, sadly: https://github.com/zalando/postgres-operator/issues/937

  • space-cloud

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

  • Project mention: ⚡⚡ Level Up Your Cloud Experience with These 7 Open Source Projects 🌩️ | /r/Cloud | 2023-12-07

    Space Cloud

  • postgres-operator

    Production PostgreSQL for Kubernetes, from high availability Postgres clusters to full-scale database-as-a-service. (by CrunchyData)

  • Project mention: No disk space crashloop but pod healthy · Issue #3788 · CrunchyData/postgres-operator | /r/Health2020 | 2023-12-09
  • cloudnative-pg

    CloudNativePG is a comprehensive platform designed to seamlessly manage PostgreSQL databases within Kubernetes environments, covering the entire operational lifecycle from initial deployment to ongoing maintenance

  • Project mention: Homelab: Running Postgres on Kubernetes | news.ycombinator.com | 2024-01-02

    My holiday project was doing another pass at my Homelab Kubernetes cluster, part of which involved switching to a proper operator to manage Postgres. Coincidentally, I setup cloudnative-pg (https://github.com/cloudnative-pg/cloudnative-pg) yesterday.

  • wal-g

    Archival and Restoration for databases in the Cloud

  • Project mention: WAL-G 3.0.0 – fast disaster recovery for Postgres | news.ycombinator.com | 2024-03-17
  • pgroll

    PostgreSQL zero-downtime migrations made easy

  • Project mention: How not to change PostgreSQL column type | news.ycombinator.com | 2024-05-07

    My thoughts exactly. It's surprising that external online schema change tools for Postgres have only become a thing fairly recently! The only two I'm aware of are:

    * pgroll: Written in Golang, first commits June 2023. https://github.com/xataio/pgroll

    * pg-osc: Written in Ruby, first commits Dec 2021. https://github.com/shayonj/pg-osc

    Meanwhile over in the MySQL and MariaDB ecosystem, external OSC tools have been around for quite some time, starting with oak-online-alter-table over 15 years ago. The most popular options today are pt-online-schema-change or gh-ost, but other battle-tested solutions include fb-osc, LHM, and the latest entry Spirit.

  • goqu

    SQL builder and query library for golang

  • Project mention: newbie here looking for a framework | /r/golang | 2023-10-03

    For SQL, I'd probably go with goqu http://doug-martin.github.io/goqu/

  • go-oauth2-server

    A standalone, specification-compliant, OAuth2 server written in Golang.

  • jet

    Type safe SQL builder with code generation and automatic query result data mapping

  • Project mention: Use Rails | news.ycombinator.com | 2024-05-07

    "I can make a JS or Go program perform the same way. In fact the exact same thing happened in my shop with Go/Gorm. The key question is: how do you compute the 5mb of JSON? The devil is in those details. We changed the way we computed ours, and the issue was gone."

    The problem is ActiveRecord in my case. The data layout is not great (lots of joins through relationships, I thik 12 tables or so). What do you use (except raw sql) in Ruby if you cannot use ActiveRecord? I actually reimplemented the same API endpoint in Go using https://github.com/go-jet/jet and measured 10MB of allocations and essentially zero overhead over queries itself, a 50x speedup.

  • river

    Fast and reliable background jobs in Go (by riverqueue)

  • Project mention: Show HN: An SQS Alternative on Postgres | news.ycombinator.com | 2024-05-09
  • peerdb

    Fast, Simple and a cost effective tool to replicate data from Postgres to Data Warehouses, Queues and Storage

  • Project mention: PeerDB Streams – Simple, Native Postgres Change Data Capture | news.ycombinator.com | 2024-05-06
  • go-base

    Go RESTful API Boilerplate with JWT Authentication backed by PostgreSQL

  • gnomock

    Test your code without writing mocks with ephemeral Docker containers 📦 Setup popular services with just a couple lines of code ⏱️ No bash, no yaml, only code 💻

  • kubegres

    Kubegres is a Kubernetes operator allowing to deploy one or many clusters of PostgreSql instances and manage databases replication, failover and backup.

  • Project mention: Homelab: Running Postgres on Kubernetes | news.ycombinator.com | 2024-01-02
  • 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 Postgres related posts

  • Using migrations with Golang

    5 projects | dev.to | 17 Apr 2024
  • Supabase Auth now supports Anonymous Sign-ins

    2 projects | dev.to | 17 Apr 2024
  • 11 Planetscale alternatives with free tiers

    8 projects | dev.to | 11 Apr 2024
  • Breaking the Myth: Scalable, Multi-Region, Low-Latency App Exists And Will Not Cost You A Kidney.

    4 projects | dev.to | 11 Apr 2024
  • WAL-G 3.0.0 – fast disaster recovery for Postgres

    1 project | news.ycombinator.com | 17 Mar 2024
  • Parsing the Postgres protocol – logging executed statements

    5 projects | news.ycombinator.com | 14 Mar 2024
  • No More Free Tier on PlanetScale, Here Are Free Alternatives

    3 projects | dev.to | 8 Mar 2024
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 10 May 2024
    Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality. Learn more →

Index

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

Project Stars
1 Gravitational Teleport 16,647
2 migrate 14,062
3 bytebase 10,107
4 usql 8,634
5 FerretDB 8,577
6 SQLBoiler 6,453
7 goose 5,802
8 dbmate 4,378
9 pREST 4,103
10 postgres-operator 3,989
11 space-cloud 3,903
12 postgres-operator 3,737
13 cloudnative-pg 3,425
14 wal-g 3,053
15 pgroll 2,549
16 goqu 2,245
17 go-oauth2-server 2,097
18 jet 2,076
19 river 1,972
20 peerdb 1,816
21 go-base 1,422
22 gnomock 1,308
23 kubegres 1,291

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com