Skip to content
gogsPublic

Latest commit

 

History

6,504 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

💌 Highlights

  • Code hosting
    • Git over SSH and HTTP(S) with protocol v2, including a built-in SSH server.
    • SHA-256 repositories, deploy keys and LFS (local or S3*).
    • Forks, mirrors and migration from other code hosts, with GitHub two-way sync*.
  • Code browsing
    • Browse and edit code in the browser, with blame*.
    • Code search within a repository or across all of them.
    • Rendered Markdown, Jupyter Notebooks, PDFs and Mermaid diagrams.
    • Rich diffs for Markdown and images.
  • Collaboration
    • Issues with templates and forms.
    • Pull requests with merge commit, rebase and squash merges, inline reviews* and stacks*.
    • Protected branches, with code owners* and signed commits*.
    • Wikis, releases and projects*.
    • Organizations, teams, collaborators and service accounts*.
  • Automation
    • Actions* and compute*.
    • Packages* and hosting*.
  • Interface
    • Dashboards, profiles and activity timelines.
    • A command palette for navigation, search and actions.
    • Light and dark themes, and over 31 languages.
  • Integrations
    • Webhooks for Slack, Discord, DingTalk and more, plus server-side Git hooks.
    • A REST API, GitHub-compatible*.
  • Security
    • Passkeys and multi-factor authentication.
    • Sign in with LDAP, SMTP, PAM, reverse proxy, OAuth 2.0*, OpenID Connect* or SAML 2.0*.
    • 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 tracing with a built-in trace viewer, and Prometheus metrics.
    • Backup and restore from the command line.

* 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.

🙇‍♂️ 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.

⚖️ License

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

Releases

Packages

Used by

Contributors

Languages