Back to directory

Developer Tools · Version Control & Collaboration

Gogs

A small, cross platform Git service built for straightforward deployment

Gogs is a lightweight self hosted Git service for people and teams that want repositories, issues, review, accounts, and automation without a large server footprint. It is MIT licensed and distributed as binaries and containers. The project documents self hosting rather than a first party paid cloud plan, so hosted use generally comes from an operator or third party.

Key facts

License
MIT
Main language
Go, JavaScript, HTML, CSS
Maintainer
Gogs authors and community
First released
2014
Latest release
v0.14.3, June 7, 2026
GitHub stars
about 48k, October 2026
Hosted option
None; third-party hosting available

What Gogs is

Gogs began in 2014 with the goal of making a simple, stable, extensible Git service that can run from an independent binary. The project is maintained by the Gogs authors and community, with the official repository showing about 48,000 GitHub stars. Its first release year is 2014. Gogs is closely associated with the early lightweight self hosted forge movement and later became the ancestor of Gitea. Stars indicate a large public audience, though they do not show current installations. The project publishes its source under MIT and presents low resource use as a central design goal. For operators, this combination means evaluation can begin with a modest test machine before production sizing and service planning.

How it works

Gogs covers the basic forge workflow from repository creation through push, browsing, issues, pull requests, releases, and administration. Organizations can create teams, assign repository permissions, and manage deploy keys. Users can configure webhooks, Git LFS, mirrors, access tokens, email, and external authentication. The bundled API follows a GitHub style REST shape under version one. Custom templates and localization support let administrators adjust presentation. The product focuses on essential Git collaboration rather than reproducing every planning, security, package, or CI feature found in larger commercial platforms. Teams should therefore map required integrations before migration and identify which surrounding services will provide missing capabilities.

Architecture and recent releases

Gogs is implemented in Go and distributed as platform specific binaries, with support for Linux, macOS, Windows, and ARM systems. Required database choices include MySQL, MariaDB, PostgreSQL, or SQLite, and the installation guide also requires Git and an SSH server. Redis can be used for session storage. The observed stable release was v0.14.3, published 7 June 2026. Its release notes describe security focused next generation Docker images, with the latest tag intended to move to that image line in a later release. The changelog also records configuration improvements, tag comparison, and TLS support for Redis sessions. Administrators should test deployment changes and review release notes before production upgrades.

License and pricing

Gogs is released under the MIT license, allowing commercial use, modification, redistribution, and hosted operation while retaining the license notice. The project does not publish a first party cloud price in the documentation reviewed. Users can run the binary, use Docker, or obtain packages, and service providers can host it under the permissive license. This keeps direct software cost at zero for self hosting, but operators remain responsible for machines, databases, SSH, storage, mail, monitoring, backups, and upgrades. Companies needing a contract, managed operations, or enterprise support should evaluate a commercial provider separately. Budgeting should include these operational responsibilities rather than treating licensing as the complete cost.

Limitations and how it compares

Gogs remains a sensible choice for a small installation that values a tiny footprint and a familiar Git service. Its limitations are clear: the API is documented as early and subject to change, the integrated package and CI story is narrower than Gitea or GitLab, and administrators must assemble more surrounding services. Gitea is the closest open source comparison and has a broader current feature set. GitLab Community Edition provides deeper planning and CI, while GitHub Enterprise provides a larger hosted integration catalog. Pick Gogs for simplicity, modest hardware, and direct control of a focused Git service. Before adoption, confirm that required workflows fit its core feature set and operational model.

Main features

  • Git repositories. Host public or private repositories, browse commits and files, manage branches, create releases, and work through SSH or HTTP.
  • Issue tracking. Create issues, comments, labels, milestones, assignments, and pull requests within repositories and organizations.
  • Organizations and teams. Group repositories under organizations, create teams, and assign members permissions appropriate to collaborative projects.
  • Mirrors and hooks. Synchronize repositories and send webhooks for repository events to external build, deployment, or notification services.
  • Git LFS. Store large binary assets through Git Large File Storage when the server and client configuration enables the feature.
  • REST API. Use the bundled version one JSON API for repository, issue, organization, user, release, and administration operations.

Self-hosting Gogs

Gogs can be installed by downloading an official binary, running its Docker image, building from source, or using community packages such as Arch packages. The installation guide requires Git 1.8.3 or newer, an SSH server, and one database: MySQL 5.7 or newer, MariaDB 10.3 or newer, PostgreSQL 9.6 or newer, or SQLite 3. Redis is optional for sessions. The project describes extremely low starting resource use, including 64 MiB of RAM and a quarter of a virtual CPU, but workload size determines practical capacity. Run it as a service, place it behind HTTPS, back up repositories, database, configuration, attachments, and LFS data, and read release notes before upgrades. Operators should also document ownership, recovery procedures, mail settings, and external integrations so routine maintenance does not depend on one administrator.

Strengths

  • MIT licensing permits commercial use and private hosted deployments.
  • Independent binaries support Linux, macOS, Windows, and ARM platforms.
  • The documented starting footprint is unusually small for a Git forge.
  • Core repository, issue, organization, hook, mirror, and API functions are included.

Drawbacks

  • The API documentation warns that version one endpoints remain early and may change.
  • Package registry and integrated CI capabilities are narrower than newer forge platforms.
  • Self hosting requires operators to handle SSH, database, backups, and security updates.

What teams replace with it

Teams usually evaluate Gogs when they want to move off GitHub Enterprise, Bitbucket Server, GitLab Enterprise.

For side-by-side commercial comparisons, browse our alternatives hub.

Open-source alternatives to Gogs

Frequently asked questions

Is Gogs free?

Yes. Gogs is MIT licensed open source software and the project publishes binaries and container options without a software subscription. Self hosting still has infrastructure costs, including a server, database, storage, backups, mail, and network access. The project documentation reviewed does not describe a first party paid cloud service.

Can Gogs be used commercially?

The MIT license permits commercial use, modification, redistribution, and operation as a hosted service. Copies or substantial portions should retain the copyright and license notice. A business can run an internal instance, offer a managed instance, or modify the code, while remaining responsible for its own security, support, and compliance duties.

What are the Gogs system requirements?

Gogs requires Git 1.8.3 or newer, an SSH server, and MySQL, MariaDB, PostgreSQL, or SQLite. Redis is optional for sessions. The introduction describes a starting point of 64 MiB RAM and one quarter of a virtual CPU, though repositories, users, hooks, LFS files, and concurrent activity can require more capacity.

How does Gogs compare with Gitea?

Both are Go based MIT licensed Git forges and both descend from the early lightweight self hosted model. Gitea currently presents a broader integrated set of package registry, Actions, audit, and administration features. Gogs emphasizes a small core and straightforward deployment. Choose Gogs for minimalism, or Gitea when built in platform breadth matters more.

Can administrators keep Gogs data private?

A self hosted Gogs installation keeps repositories and account data on infrastructure controlled by its operator unless mirrors, webhooks, external authentication, or other integrations send data elsewhere. Privacy depends on server access controls, HTTPS, SSH configuration, secrets, backups, patching, and user permissions. The operator should also protect database and LFS storage.

Similar projects to compare

Sources

Last updated 2026-10-22.