A painless self-hosted Git service

47.4kstars
5.1kforks
Last commit: 1d ago
Repo age: 12y old
Gogs screenshot

Gogs is a lightweight, self-hosted Git service that provides a web interface for managing repositories, users, and collaboration workflows. It focuses on being simple to set up and run, making it suitable for individuals and small teams that want GitHub-like basics without heavy infrastructure.

Key Features

  • Git repository hosting with SSH and HTTP(S) access
  • Web UI for repository browsing, commits, branches, tags, and diffs
  • Pull requests with code review discussions and inline comments
  • Issue tracker with labels, milestones, and assignees
  • Built-in wiki per repository for project documentation
  • Releases/tags management and repository statistics
  • Webhooks for integrating with CI/CD and external services
  • User and organization management with team-based permissions
  • Multiple database backends (SQLite, MySQL/MariaDB, PostgreSQL)
  • Repository mirroring (pull/push) for syncing with other Git servers

Use Cases

  • Host private Git repositories for a small team on a VPS or homelab
  • Provide an internal code collaboration hub with PRs, issues, and wikis
  • Mirror repositories from GitHub/Bitbucket to maintain local copies

Limitations and Considerations

  • Compared with larger platforms (e.g., GitLab), Gogs is intentionally minimal and does not aim to bundle a full DevOps suite (integrated CI/CD, container registry, etc.).

Gogs is a solid choice when you want a straightforward Git server with the essential collaboration features and low operational overhead. It fits well for resource-constrained environments and teams that prefer simple, predictable Git hosting.

Categories:

Tags:

Tech Stack:

Share:

Similar Services

Gitea

Gitea

A lightweight, self-hosted Git service

53k
6.3k
Last commit: 1d ago

Self-hosted Git server with a web UI, issues, pull requests, Actions CI/CD, packages, and fine-grained access controls.

Alternative to:
GitHub
GitHub
+3
OneDev

OneDev

All-in-one Git server with CI/CD, code review, and issues

14.6k
933
Last commit: 1d ago

OneDev is a self-hosted all-in-one DevOps platform combining Git hosting, pull requests/code review, CI/CD pipelines, package registries, and issue tracking.

Alternative to:
GitLab
GitLab
+5
Weblate

Weblate

Web-based translation management with Git integration

5.7k
1.2k
Last commit: 1d ago

Self-hosted translation management platform with Git-based workflows, web UI, team collaboration, and machine-translation support for software localization.

Alternative to:
Crowdin
Crowdin
+7
Opengist

Opengist

Self-hosted Git-powered gist and pastebin

2.9k
143
Last commit: 12d ago

Opengist is a self-hosted, Git-backed alternative to GitHub Gist for sharing code snippets and text pastes with syntax highlighting, Markdown support, and user management.

Alternative to:
GitHub Gist
GitHub Gist
+5
Tasks.md

Tasks.md

Task management in a Markdown file, backed by GitHub Issues

2k
94
Last commit: 11d ago

A GitHub-integrated task list that syncs Markdown checklists with GitHub Issues for lightweight planning and tracking.

Alternative to:
Todoist
Todoist
+6
Review Board

Review Board

Web-based, tool-agnostic code review for Git, SVN, and more

1.7k
436
Last commit: 4mo ago

Review Board is a web-based code review tool supporting Git/SVN/Perforce/CVS/Mercurial, inline comments, diff viewing, issue tracking, and integrations.

Alternative to:
GitHub
GitHub
+5