Skip to content
ToolOpen-source agent

gogs

Self-hosted Git service you can run as one binary on very modest hardware

Visit gogs.io

gogs is an open-source AI tool for developer tools. It is available on Linux, macOS, Windows, Web, API and Self-hosted.

Pricing
Open source
Platforms
Linux, macOS, Windows
GitHub stars
48K
Last commit
Language
Go
License
MIT

Similar tools

About gogs

The README describes Gogs as a self-hosted Git service meant to be set up with as little effort as possible. It ships as a single binary for every platform the Go toolchain supports, and a Docker image is also available, so the same server can run on a small Linux box, a Raspberry Pi or a Windows machine.

Beyond Git hosting over SSH and HTTP(S), it bundles issues, pull requests with several merge styles, wikis, releases, organizations and team permissions. Code can be browsed and edited in the browser, searched across repositories, and previewed in formats such as Markdown, Jupyter notebooks and PDFs. Some items in the feature list, such as Actions, packages and GitHub two-way sync, are marked as still in development.

The project suits teams that want their own code hosting with local control over repositories and sign-in. Authentication can use LDAP, SMTP, PAM, a reverse proxy, passkeys or two-factor codes, and the database can be PostgreSQL, MySQL or SQLite3.

What it does

Single binary deployment
Runs as one executable or a Docker container on Linux, macOS, Windows and ARM systems.
Git over SSH and HTTP
Supports Git protocol v2 with a built-in SSH server, deploy keys and LFS storage.
Pull requests and issues
Offers merge, rebase and squash merges along with issue templates and forms.
In-browser code browsing
Lets users browse, edit and search code, and preview Markdown, notebooks and diagrams.
Flexible authentication
Sign-in works with LDAP, SMTP, PAM, reverse proxy, passkeys and multi-factor codes.
Operational tooling
Includes OpenTelemetry tracing, Prometheus metrics and command-line backup and restore.

Good for

  • Hosting private Git repositories on a small server or home lab
  • Giving a small team its own code hosting without a cloud subscription
  • Running Git hosting on low-cost hardware such as a Raspberry Pi
  • Connecting a self-hosted code service to existing LDAP or SSO logins

Pricing

Open source

Free and open source under the MIT License; self-hosted.

Prices change. Check gogs.io before you buy.

gogs FAQ

What license is Gogs released under?

The README says it is under the MIT License, and the website states it has been MIT-licensed since 2014.

How can Gogs be installed?

The website says you can run the binary or run it as a Docker container.

Which databases does Gogs support?

The README lists PostgreSQL, MySQL or SQLite3.

How much hardware does gogs need?

The README says a Raspberry Pi or a $5 DigitalOcean Droplet is enough to start, and 2 CPU cores with 512MB RAM is the baseline for teamwork.

Is gogs free?

Yes. gogs is open source, so you can use and self-host it for free.

What are the best alternatives to gogs?

The closest alternatives to gogs are Figstack, Codiga, CodiumAI, graphify and Orgo.

Where this comes from

  • Description: written from the project's README and the project's website.