Lightweight, cross-platform Git service for self-hosting. Easy installation, minimal requirements, runs on Raspberry Pi. 100% open source and free.

At a Glance:

Gogs is a self-hosted Git service designed for simple setup through an independent binary distribution, supporting Linux, macOS, Windows, and ARM, with features for repository management, issue tracking, and pull requests.

Overview:

Gogs is a self-hosted Git service that provides a lightweight way to manage code repositories. It is distributed as an independent binary that runs across all major platforms supported by Go. The project focuses on a simple setup process with minimal resource requirements. Gogs includes repository management, issue tracking, pull requests, and a wiki system. It can be accessed via SSH, HTTP, and HTTPS protocols, and supports migrating repositories from other code hosts. The service runs on low-power hardware like a Raspberry Pi and offers localization in over 31 languages.

Key Decision Points:

  • Deployment simplicity: Gogs is distributed as a single binary with no additional dependencies, making it one of the more straightforward self-hosted Git solutions to install.

  • Hardware requirements: The service can run on minimal resources, including a Raspberry Pi or a basic cloud instance, with 2 CPU cores and 512MB RAM recommended for team use.

  • Authentication options: Gogs supports SMTP, LDAP, reverse proxy, and GitHub-based authentication with two-factor authentication, providing flexibility for different environments.

  • Database backend choices: Users can choose from PostgreSQL, MySQL, MariaDB, SQLite3, or any compatible database backend, avoiding lock-in to a specific database technology.

Core Features:

  • Repository access protocols: Access repositories through SSH, HTTP, and HTTPS protocols.

  • User and organization management: Manage users, organizations, repositories, and collaboration settings.

  • Webhooks: Configure repository and organization webhooks for services including Slack, Discord, and Dingtalk.

  • Repository tools: Built-in support for issue tracking, pull requests, wiki pages, protected branches, and Git LFS.

  • Migration and mirroring: Migrate and mirror repositories along with their wiki content from other code hosting platforms.

  • Web-based file editing: Edit repository files and wiki pages directly through the web interface.

Use Cases:

  • Individuals and small teams looking for a self-hosted Git service that can run on minimal hardware like a Raspberry Pi.

  • Developers who want to migrate repositories from other code hosts while preserving wiki content and repository history.

  • Self-hosters who need repository management with webhooks integration for notification services like Slack and Discord.

Open-Source Alternative Value:

Gogs provides an open-source option for self-hosting Git repositories without requiring complex setup or significant hardware resources. Its single-binary deployment model and support for multiple operating systems and architectures make it accessible on everything from ARM-based devices to cloud instances. The project's MIT license and database backend options offer flexibility in how the service is deployed and maintained.

PartagerXLinkedInReddit

Outils associés

Statistiques du projet

Étoiles

47,612

Forks

5,069

Licence

MIT

Métadonnées

Alternative à
GitHub
Catégorie
Git Platforms