Pagure
A lightweight, powerful, and flexible git-centric forge with features laying the foundation for federated and decentralized development.
Alternatives
Tech stack
No tech stack added yet. Sign in to suggest some
Overview
Pagure is a Git-centric code hosting platform (forge) written in Python. Under the hood it works with Git repositories through pygit2, the Python binding for libgit2. It was created by Pierre-Yves Chibon (pingou) in May 2015 and has long been used to host projects for the Fedora community.
The name comes from the French word "pagure", which means hermit crab (superfamily Paguroidea).
Important status note: According to the official website, pagure.io was shut down in 2026 and now only keeps a read-only static archive. The Pagure project has moved to Fedora Forge: https://forge.fedoraproject.org/apps/pagure . If you plan to adopt it, please check the new location first to see how the project is currently maintained.
Key Features
- Project hosting: Host Git repositories, and also project documentation
- Issue tracker: Users can submit bug reports or feature requests
- Forks and pull requests: Contributors can fork a project and then submit changes through pull requests, which helps build a community of contributors
- Release management: Supports publishing project releases
- Git-based data storage: A deployment needs separate Git repository directories for projects, forks, documentation, merge requests and issues, and the collaboration data itself is stored in Git
- Background tasks: Tasks are processed asynchronously by a worker (based on Celery and Redis)
Target Users and Use Cases
- Open source communities or teams who want to self-host a lightweight Git hosting platform
- Developers who like the Python stack and plan to extend or customize a code hosting platform
- People who want to study the design of a "Git-centric" forge
Deployment
The official documentation offers three ways to run it:
- Docker Compose: Run
./dev/docker-start.shto start the containers, then visithttp://localhost:5000; you can populate test data withdev-data.py --all - Vagrant: Copy
dev/Vagrantfile.exampleand runvagrant up; the virtual machine comes with preinstalled commands such aspstart,pstopandpstatus - Manual installation:
- Install system dependencies such as git, python3, libgit2-devel and redis
- Clone the source code:
git clone https://pagure.io/pagure.git - Create a Python virtual environment, install the pygit2 version that matches the libgit2 version on your machine, then run
pip install -r requirements.txt - Create the repository storage directories, configure
alembic.ini, then runpython createdb.py --initial alembic.inito initialize the database - Start Redis, then run
./runworker.pyand./runserver.pyseparately; the application listens onhttp://127.0.0.1:5000by default
Technical Requirements
- Python 3
- libgit2 and the matching version of pygit2
- Redis (task queue)
- Database schema managed through Alembic
- Tests can be run with pytest and tox, or in podman containers (
run-tests-container.py, which supports CentOS images)
Notable Characteristics
- Lightweight, with all code written in Python, making it easy to understand and extend
- Closely tied to the Fedora community and sponsored by Red Hat
- Provides a Matrix discussion room (#pagure:fedora.im)
- The former public instance pagure.io has been shut down, and project development has moved to Fedora Forge
Discover more
Coder
Remote development machines on your own infrastructure.
JupyterLab
Web-based environment for interactive and reproducible computing.
Klaus
Simple, easy-to-set-up Git web viewer that Just Works.
Kong
Microservice API Gateway and Platform.
OpenProject
Manage your projects, tasks and goals. Collaborate via work packages and link them to your pull requests on Github.
Opik
Evaluate, test, and ship LLM applications with a suite of observability tools to calibrate language model outputs across your dev and production lifecycle.