← All open source projects

Gogs

gogs/gogs

Gogs is a lightweight Go Git service for hosting repositories, users, issues, and basic team development on your own server.

Forks 5,075
Author gogs
Language Go
License MIT
Synced 2026-06-10

What it is

Gogs is a lightweight Git service that can run on your own server. It provides a web interface for repositories, users, organizations, issues, wiki, and basic team development, with low hardware requirements.

The repository appeared in 2014. Its idea is to make running a private Git service simple and cheap, which matters for small teams, labs, home servers, and closed networks where a full GitLab installation may be too heavy.

What is inside the repository

Inside are the Go application, web interface, Git integration, SQLite/MySQL/PostgreSQL support, Docker images, configuration, and documentation. The project also documents hardware requirements and browser support.

Compose-style start

This example shows a typical local service definition with ports and a persistent data directory. Production still needs domain setup, backups, and access control.

Language: Plain text
services:
  gogs:
    image: gogs/gogs
    ports:
      - "3000:3000"
      - "10022:22"
    volumes:
      - ./gogs:/data

Where it is useful

Gogs is useful when a team needs simple Git hosting without a large platform: a personal server, classroom, small team, closed network, or Raspberry Pi.

Strengths and limits

The light footprint means fewer enterprise features. If a team needs complex CI/CD, advanced security policies, a large integration ecosystem, or scaling for many teams, Gogs should be compared with Gitea, Forgejo, GitLab, and hosted services.