guix-forge is a Guix service that lets you run a complete software forge in the manner of GitHub, GitLab, etc. Unlike other free software forges such as GitLab, Gitea, etc., guix-forge is not a monolith but is an assemblage of several pieces of server software wired up to function as one. In this sense, it is a meta-service . guix-forge does for software forges what Mail-in-a-Box does for email.
guix-forge integrates the following software components:
[X]cgit and klaus (pick your favourite) to serve project git repositories on the web
[X]laminar for continuous integration
[X]uacme and gnutls for automatic provision and renewal of TLS certificates via ACME
[ ]web server to serve static project sites
[ ]public-inbox for project discussions
A choice of different software components may be offered provided it does not complicate the interface too much.
guix-forge is provided on a best effort basis. Its design is unstable, and open to change. We will try our best to not break your system configuration often, but it might happen.
guix-forge is distributed as a Guix channel. To use it, add the following channel definition to your ~/.config/guix/channels.scm file.
The guix-forge manual is available online.
In order to empower ordinary users, software should not just be free (as in freedom), but also be simple and easy to deploy, especially for small-scale deployments. guix-forge is therefore minimalistic, and does not require running large database servers such as MariaDB and PostgreSQL.
While some state is inevitable, server software should strive to be as stateless as an old analog television set. You switch it on, and it works all the time. There are no pesky software updates, and complex hidden state. guix-forge tries to be as stateless as possible. Almost all of /guix-forge's/ state can be version controlled, and the rest are simple files that can be backed up easily.
Git is already federated and decentralized with email. guix-forge acknowledges this and prefers to support git's email driven workflow with project discussion, bug reports and patches all happening over email.
guix-forge is opinionated and will not expose all features provided by the software components underlying it. Keeping configuration options to a minimum is necessary to help casual users deploy their own forge, and to reduce the likelihood of configuration bugs.