OpenSource-Hub
G

gogs

SHA-256
47.5k stars·Developer Tools·SHA-256 checksum verified

A painless self-hosted Git service written in Go. Lightweight, easy to set up, and runs on anything from a Raspberry Pi to a cloud server.

Smart Download

Download Download Version

v0.14.2 · 40.5 MB

Run your own lightweight GitHub-like service with minimal resources.

Core Features

  • User dashboard, profile & activity timeline
  • Access repos via SSH, HTTP, HTTPS
  • User, org & repo management
  • Webhooks for Slack, Discord, Dingtalk
  • Git hooks, deploy keys, Git LFS

What It Can't Do

  • Default port is 3000; use a reverse proxy (e.g., Nginx) for ports 80/443. 2. For production, prefer PostgreSQL or MySQL over SQLite3. 3. Backup `data/` and `custom/` directories regularly. 4. Compared to Gitea, Gogs has slower updates and fewer features (e.g., no Actions), but core stability is solid.

Use Cases

  • Small teams or enterprises wanting a self-hosted code platform
  • Individual developers managing private projects
  • Low-power devices like Raspberry Pi as Git servers

Detailed Introduction

Gogs is a self-hosted Git service that aims to be the simplest, most stable, and most extensible option for teams and individuals. Written in Go, it ships as a single binary that works on Linux, macOS, Windows, and ARM devices. It provides essential features like repository management, issue tracking, pull requests, wikis, webhooks, Git LFS, and more. With support for multiple databases (PostgreSQL, MySQL, SQLite3) and authentication methods (SMTP, LDAP, OAuth), Gogs is ideal for small teams that want full control over their code without the overhead of heavy solutions like GitLab. Its minimal hardware requirements (even a 64MB RAM container will do) make it a favorite for edge deployments and hobbyist projects.

Tags

gitself-hostedgocode-hostinglightweightdevops

Getting Started

1

Download installer

Click the button above to download the installer for your system

2

Install the software

Double-click the downloaded installer and follow the prompts

3

1. Download the binary for your system from https://gogs.io

4

2. Extract and run `./gogs web` (first run opens the setup wizard in browser)

5

3. Follow the wizard to configure database (SQLite3 for quick start), domain, admin account

Install Guide
  1. 1. Download the binary for your system from https://gogs.io
  2. 2. Extract and run `./gogs web` (first run opens the setup wizard in browser)
  3. 3. Follow the wizard to configure database (SQLite3 for quick start), domain, admin account
File Integrity

SHA-256 checksum verified

Checksum extracted from GitHub official Release page

SHA256 Checksum

00fe70ea1bae2f756c1d31909d09934cbc26264364471a2cdb5cf4a247cc0f91

This checksum is extracted from the GitHub Release page. Verify file integrity after download.

All SHA-256 checksums on this platform are extracted from the project's official GitHub Release page, without any modification. You can independently verify them on the GitHub Releases page.

Open Source Transparency

View GitHub Source
Environment Guide

Uninstall Info

Delete the Gogs directory; database files are inside `data/` — back them up first if needed.

No Extra Dependencies

Ready to use after download. No additional runtime required.

Project Info
LicenseMIT
Last Updated2026-05-13 12:15:47
GitHub RepositoryOfficial Website

Similar Projects