talira

The painless way to host your own Git service

open sourceMITself-hostablefree

Gogs is a self-hosted Git service written in Go, shipped as a single binary or a Docker image that runs on Linux, macOS, Windows and ARM boards such as a Raspberry Pi, with PostgreSQL, MySQL or SQLite. It hosts repositories over SSH (with a built-in SSH server) and HTTP(S), with deploy keys, Git LFS, forks, mirrors and migration from other hosts, and has a web interface for browsing and editing code, code search, issues with templates, pull requests with merge, rebase and squash, protected branches, wikis, releases, organizations and teams. It integrates through webhooks (Slack, Discord, DingTalk and more), server-side Git hooks and an experimental REST API, and signs users in with passkeys, two-factor authentication, LDAP, SMTP, PAM or reverse-proxy headers. It has been MIT licensed since 2014.

Problems it solves

  • host our own Git repositories on a small server instead of using GitHub
  • a lightweight self-hosted Git server that runs on a Raspberry Pi
  • run a private Git service from a single binary without a big stack
  • pull requests, issues and a wiki for our team's code on our own hardware
  • mirror our GitHub repositories to a server we control
  • sign in to our self-hosted Git server with our company's LDAP accounts
  • self-hosted Git hosting that works with SQLite so we don't need a database server

Features

  • Git over SSH and HTTP(S) with protocol v2 and a built-in SSH server
  • SHA-256 repositories, deploy keys and Git LFS
  • forks, mirrors and migration from other code hosts
  • browse and edit code in the browser; code search across repositories
  • renders Markdown, Jupyter notebooks, PDFs and Mermaid diagrams
  • issues with templates and forms
  • pull requests with merge commit, rebase and squash merges
  • protected branches, wikis and releases
  • organizations, teams and collaborators
  • webhooks for Slack, Discord, DingTalk and more, plus server-side Git hooks
View 7 more
  • REST API (experimental)
  • passkeys and two-factor authentication; LDAP, SMTP, PAM and reverse-proxy sign-in
  • PostgreSQL, MySQL or SQLite
  • OpenTelemetry tracing and Prometheus metrics
  • backup and restore from the command line
  • single binary or Docker on Linux, macOS, Windows and ARM
  • over 31 interface languages

Capabilities

Has an APIplan not known
Has a command line toolplan not known
Sends webhooksplan not known

Alternatives

The same job

These do what Gogs does.

  1. Gitea Painless self-hosted all-in-one software development service
  2. Gitblit A pure Java stack for hosting, viewing and serving Git repositories, built for small teams.
  3. GitLab Speed with control for agentic software engineering
  4. Forgejo Beyond coding. We forge.
  5. GitHub The world's most widely adopted, AI-powered developer platform
  6. OneDev Self-hosted Git server with issues, pull requests, CI/CD, packages and AI users in one place

Compare Gogs with the top 3