    Skip to content

      Navigation Menu

            Sign in Appearance settings
                * Platform
                        + AI CODE CREATION
                            o GitHub Copilot Write better code with AI
                            o GitHub Copilot app Direct agents from issue to merge
                            o MCP Registry Integrate external tools
                        + DEVELOPER WORKFLOWS
                            o Actions Automate any workflow
                            o Codespaces Instant dev environments
                            o Issues Plan and track work
                            o Code Review Manage code changes
                            o Code Quality Enforce quality at merge
                        + APPLICATION SECURITY
                            o GitHub Advanced Security Find and fix vulnerabilities
                            o Code security Secure your code as you build
                            o Secret protection Stop leaks before they start
                        + EXPLORE
                            o Why GitHub
                            o Documentation
                            o Blog
                            o Changelog
                            o Marketplace
                      View all features
                * Solutions
                        + BY COMPANY SIZE
                            o Enterprises
                            o Small and medium teams
                            o Startups
                            o Nonprofits
                        + BY USE CASE
                            o App Modernization
                            o DevSecOps
                            o DevOps
                            o CI/CD
                            o View all use cases
                        + BY INDUSTRY
                            o Healthcare
                            o Financial services
                            o Manufacturing
                            o Government
                            o View all industries
                      View all solutions
                * Resources
                        + EXPLORE BY TOPIC
                            o AI
                            o Software Development
                            o DevOps
                            o Security
                            o View all topics
                        + EXPLORE BY TYPE
                            o Customer stories
                            o Events & webinars
                            o Ebooks & reports
                            o Business insights
                            o GitHub Skills
                        + SUPPORT & SERVICES
                            o Documentation
                            o Customer support
                            o Community forum
                            o Trust center
                            o Partners
                      View all resources
                * Open Source
                        + COMMUNITY
                            o GitHub Sponsors Fund open source developers
                        + PROGRAMS
                            o Security Lab
                            o Maintainer Community
                            o Accelerator
                            o GitHub Stars
                            o Archive Program
                        + REPOSITORIES
                            o Topics
                            o Trending
                            o Collections
                * Enterprise
                        + ENTERPRISE SOLUTIONS
                            o Enterprise platform AI-powered developer platform
                        + AVAILABLE ADD-ONS
                            o GitHub Advanced Security Enterprise-grade security features
                            o Copilot for Business Enterprise-grade AI features
                            o Premium Support Enterprise-grade 24/7 support
              * Pricing
                Type / to search
                Sign in
              Sign up Appearance settings
      You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

              Uh oh!

              There was an error while loading. Please reload this page.

              gogs / gogs Public
              * Notifications You must be signed in to change notification settings
              * Fork 5.1k
                * Star 47.7k
          * Code
          * Issues 940
          * Pull requests 70
          * Discussions
          * Actions
          * Security and quality 65
          * Insights
          Additional navigation options
                  * Code
                  * Issues
                  * Pull requests
                  * Discussions
                  * Actions
                  * Security and quality
                  * Insights
                                              main
                                          Branches Tags
                                            Go to file
                                        Code
                                          Open more actions menu

                                        Folders and files

                                          Name                         Name                           Last commit message    Last commit date
                                            Latest commit            
                                                                     
                                                History              
                                                                     
                                                6,324 Commits        
                                                  6,324 Commits      
                                                  .agents/ skills              .agents/ skills                                               
                                                  .claude                      .claude                                                       
                                                  .github                      .github                                                       
                                                  .moon                        .moon                                                         
                                                  cmd/ gogs                    cmd/ gogs                                                     
                                                  conf                         conf                                                          
                                                  docker-next                  docker-next                                                   
                                                  docker                       docker                                                        
                                                  docs                         docs                                                          
                                                  internal                     internal                                                      
                                                  public                       public                                                        
                                                  scripts                      scripts                                                       
                                                  templates                    templates                                                     
                                                  web                          web                                                           
                                                  .dockerignore                .dockerignore                                                 
                                                  .editorconfig                .editorconfig                                                 
                                                  .gitattributes               .gitattributes                                                
                                                  .gitignore                   .gitignore                                                    
                                                  .golangci.yml                .golangci.yml                                                 
                                                  .mailmap                     .mailmap                                                      
                                                  AGENTS.md                    AGENTS.md                                                     
                                                  CHANGELOG.md                 CHANGELOG.md                                                  
                                                  CLAUDE.md                    CLAUDE.md                                                     
                                                  Dockerfile                   Dockerfile                                                    
                                                  Dockerfile.next              Dockerfile.next                                               
                                                  LICENSE                      LICENSE                                                       
                                                  README.md                    README.md                                                     
                                                  SECURITY.md                  SECURITY.md                                                   
                                                  go.mod                       go.mod                                                        
                                                  go.sum                       go.sum                                                        
                                                  mockgen.go                   mockgen.go                                                    
                                                  mockgen.yaml                 mockgen.yaml                                                  
                                                  moon.yml                     moon.yml                                                      
                                                  package.json                 package.json                                                  
                                                  pnpm-lock.yaml               pnpm-lock.yaml                                                
                                                  pnpm-workspace.yaml          pnpm-workspace.yaml                                           
                                                  skills-lock.json             skills-lock.json                                              
                                                  trivy.yaml                   trivy.yaml                                                    
                                            View all files           
                                          

                                              Repository files navigation

                                                * 
                                                * README
                                                * Contributing
                                                * MIT license
                                                * Security
                                                More items

                                                👉 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

                                                * Please visit our home page for user documentation.
                                                * Please refer to CHANGELOG.md for list of changes in each releases.
                                                * Want to try it before doing anything else? Do it online!
                                                * Having trouble? Help yourself with troubleshooting or ask questions in Discussions.
                                                * Want to help with localization? Check out the localization documentation.
                                                * Ready to get hands dirty? Read our contributing guide.
                                                * Hmm... What about APIs? We have experimental support with documentation.

                                                💌 Features

                                                * User dashboard, user profile and activity timeline.
                                                * Access repositories via SSH, HTTP and HTTPS protocols.
                                                * User, organization and repository management.
                                                * Repository and organization webhooks, including Slack, Discord and Dingtalk.
                                                * Repository Git hooks, deploy keys and Git LFS.
                                                * Repository issues, pull requests, wiki, protected branches and collaboration.
                                                * Migrate and mirror repositories with wiki from other code hosts.
                                                * Web editor for quick editing repository files and wiki.
                                                * Jupyter Notebook and PDF rendering.
                                                * Authentication via SMTP, LDAP, reverse proxy, GitHub.com and GitHub Enterprise with 2FA.
                                                * Customize HTML templates, static files and many others.
                                                * Rich database backend support, including PostgreSQL, MySQL, MariaDB, SQLite3 or any database backend that speaks one of those protocols.
                                                * Have localization over 31 languages.

                                                💾 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

                                                * Please see Semantic UI for specific versions of supported browsers.
                                                * The smallest resolution officially supported is 1024*768, however the UI may still look right in smaller resolutions, but no promises or fixes.

                                                📜 Installation

                                              Please follow the guide in our documentation.

                                                Deploy to cloud

                                                * Cloudron
                                                * YunoHost
                                                * alwaysdata

                                                Tutorials

                                                * Private Git Web Portal in Raspberry PI With Gogs
                                                * How To Set Up Gogs on Ubuntu 14.04
                                                * Run your own GitHub-like service with the help of Docker
                                                * Dockerized Gogs git server and alpine postgres in 20 minutes or less
                                                * Host Your Own Private GitHub with Gogs
                                                * 使用 Gogs 搭建自己的 Git 服务器 (Chinese)
                                                * 阿里云上 Ubuntu 14.04 64 位安装 Gogs (Chinese)
                                                * Installing Gogs on FreeBSD
                                                * How to install Gogs on a Linux Server (DigitalOcean)

                                                📦 Software, service and product support

                                                * Jenkins (CI)
                                                * Puppet (IT)
                                                * Synology (Docker)
                                                * Syncloud (App Store)

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

                                                * See contributors page for top 100 contributors.
                                                * See TRANSLATORS for public list of translators.

                                                ⚖️ 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

                                          gogs.io

                                        Topics

                                          dockergitgogogsmysqlpostgresqlraspberry-piself-hostedsource-code-managementsqlite3version-control

                                        Resources

                                          Readme
                                          MIT license

                                        Contributing

                                          Contributing

                                        Security policy

                                          Security policy
                                          Activity
                                          Custom properties

                                        Stars

                                          47.7k stars

                                        Watchers

                                          1.0k watching

                                        Forks

                                          5.1k forks
                                          Report repository

                                        Releases

                                        Packages

                                        Used by

                                        Contributors

                                        Languages

    Footer

        © 2026 GitHub, Inc.

      Footer navigation

        * Terms
        * Privacy
        * Security
        * Status
        * Community
        * Docs
        * Contact
        * Manage cookies
        * Do not share my personal information
      You can’t perform that action at this time.