Skip to content
gogsPublic

About

The painless way to host your own Git service

Topics

Resources

Contributing

Security policy

Stars

47.9k stars

Watchers

1.0k watching

Forks

Latest commit

 

History

6,412 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gogs Gogs
GitHub Workflow Status Sourcegraph
👉 Deploy on DigitalOcean and get $200 in free credits!

🔮 Vision

The Gogs (/gɑgz/) project aims to build a simple, stable and extensible self-hosted Git service that can be set up in the most painless way. With Go, this can be done with an independent binary distribution across all platforms that Go supports, including Linux, macOS, Windows and ARM-based systems.

📡 Overview

💌 Features

  • Code hosting
    • Git over SSH and HTTP(S), with deploy keys and LFS (local or S3*).
    • Migrate and mirror from other code hosts.
    • Browse, edit, search* and blame* code right in the browser.
    • Rendered Markdown, Jupyter Notebooks and PDFs, with rich diffs*.
  • Collaboration
    • Issues, wikis and pull requests, with inline reviews* and stacks*.
    • Protected branches, with code owners* and signed commits*.
    • Organizations, teams and collaborators.
  • Interface
    • Dashboards, profiles and activity timelines.
    • Light and dark themes, a command palette* and over 31 languages.
  • Integrations
    • Webhooks for Slack, Discord, DingTalk and more, plus server-side Git hooks.
    • A REST API, GitHub-compatible*.
  • Security
    • Sign in with LDAP, SMTP, PAM, reverse proxy, OAuth 2.0*, OpenID Connect* or SAML 2.0*.
    • Two-factor authentication and passkeys*.
    • Session management*, security alerts* and breached password detection*.
  • Operations
    • Single binary, Docker or Kubernetes*, on Linux, macOS, Windows and ARM.
    • PostgreSQL, MySQL or SQLite3.
    • OpenTelemetry with a built-in trace viewer*.

* In development.

💾 Hardware requirements

  • A Raspberry Pi or $5 Digital Ocean Droplet is more than enough to get you started. Some even use 64MB RAM Docker CaaS.
  • 2 CPU cores and 512MB RAM would be the baseline for teamwork.
  • Increase CPU cores when your team size gets significantly larger, memory footprint remains low.

💻 Browser support

  • Any modern browser works, with Chrome 111, Edge 111, Firefox 128 and Safari 16.4 (including iOS) as the minimum versions.
  • The UI is mobile-friendly and works on screens as narrow as 375px.
  • WebAssembly SIMD makes syntax highlighting in diffs faster, but is not required.

📜 Installation

Please follow the guide in our documentation.

🙇‍♂️ Acknowledgments

This project is proudly supported by:

Other acknowledgments:

  • Thanks Egon Elbre for designing the original version of the logo.
  • Thanks Mintlify for sponsoring open source documentation plan.
  • Thanks Crowdin for sponsoring open source translation plan.
  • Thanks Buildkite for sponsoring open source CI/CD plan.

👋 Contributors

⚖️ License

This project is under the MIT License. See the LICENSE file for the full license text.

About

The painless way to host your own Git service

Topics

Resources

Contributing

Security policy

Stars

47.9k stars

Watchers

1.0k watching

Forks

Releases

Packages

Used by

Contributors

Languages