Gogs logo

Gogs

Self-hosted Git service with issues, pull requests, wiki, webhooks, and lightweight Go binaries

Open Source Alternative to
Repository activity
  • Stars47.6k
  • Forks5.1k
  • Open Issues994
License

MIT

Languages
  • Go
  • Go Template
  • TypeScript
Gogs screenshot

About Gogs

Gogs is a self-hosted Git service for hosting repositories, users, organizations, and collaboration workflows on infrastructure you control. It aims to be simple, stable, extensible, and easy to set up, using independent Go binary distributions across platforms Go supports, including Linux, macOS, Windows, and ARM-based systems.

Repositories are accessible over SSH, HTTP, and HTTPS. Gogs includes user dashboards, profiles, activity timelines, issues, pull requests, wiki pages, protected branches, deploy keys, Git hooks, Git LFS, web editing, and repository migration and mirroring with wiki content. Authentication options include SMTP, LDAP, reverse proxy, GitHub.com, and GitHub Enterprise with 2FA.

Gogs supports PostgreSQL, MySQL, MariaDB, SQLite3, and compatible database backends. It can run on Raspberry Pi-class hardware, Docker, and small cloud instances, with cloud app packages available through Cloudron, YunoHost, and alwaysdata. Gogs is licensed under the MIT License.

Key features

  • Host Git repositories with SSH, HTTP, and HTTPS access
  • Issues, pull requests, wiki, protected branches, and collaboration
  • Repository and organization webhooks for Slack, Discord, and Dingtalk
  • Git hooks, deploy keys, Git LFS, migration, and mirroring
  • SMTP, LDAP, reverse proxy, GitHub.com, and GitHub Enterprise login

Details

First released
2014
Self-hosting
Self-hosted Git service
Platforms
Linux · Mac · Windows · ARM
Database
PostgreSQL · MySQL · MariaDB · SQLite3
Protocols
SSH · HTTP · HTTPS
License
MIT