FerrisGitProduct

What FerrisGit does today

Everything on this page ships today. What is planned is on the roadmap.

The application interface and its documentation are in French for now.

Repositories and groups

Host code under your own account or inside a hierarchy of groups, and decide who can do what.

  • Repositories owned by a user, or nested inside groups and subgroups
  • Public or private; the description and the visibility can be changed afterwards
  • Reader, Contributor and Maintainer roles, per repository or per group
  • Git over HTTP(S): clone, fetch and push with your username and a personal access token
  • Repository stars and language statistics

Merge requests

Review happens on the diff, and the whole conversation stays in one place.

  • Threaded inline comments
  • Code suggestions that can be applied from the interface
  • Approvals and change requests
  • Conflict detection
  • A timeline of everything that happened

Issues

Track the work alongside the code.

  • Labels and milestones
  • Assignees
  • A kanban board with four states

CI/CD

A built-in engine, configured by a file in the repository.

  • Pipelines described in .ferrisgit-ci.yml at the root of the repository
  • Docker runners (a lightweight ferrisgit-runner binary that polls the server) or Kubernetes, where each job runs as a Pod
  • Per-repository variables, encrypted at rest
  • Per-job caches (Kubernetes only)
.ferrisgit-ci.yml
stages: [lint, test]

jobs:
  format:
    stage: lint
    image: rust:1
    script:
      - rustup component add rustfmt
      - cargo fmt --all -- --check

  clippy:
    stage: lint
    image: rust:1
    script:
      - rustup component add clippy
      - cargo clippy --all-targets -- -D warnings

  test:
    stage: test
    image: rust:1
    needs: [format, clippy]
    script:
      - cargo test --all-targets

Public pages and search

Give people without an account access to a project.

  • Visitors browse public repositories read-only: catalogue, README, files, commits and releases
  • Release files can be downloaded without signing in
  • Signed-in users get search, in-app notifications and a personal dashboard

Documentation

Built into the application, at /docs.

  • Open to everyone, signed in or not
  • A user guide, the CI/CD reference, administration and self-hosting, and the REST API reference
  • Written in French, with search

Wikis, webhooks, accounts and deployment

Accounts and administration

Multi-factor authentication is mandatory.

  • Mandatory for every account: authenticator apps (TOTP), passkeys (WebAuthn) and single-use backup codes
  • Free registration behind an administrator switch, or accounts created by e-mail invitation
  • Administration: users and invitations, instance settings, usage metrics and a health page

Webhooks

Notify other tools when an event occurs.

  • Signed requests (HMAC-SHA256) for merge request, collaborator, pipeline and issue events
  • Secrets encrypted at rest
  • No retries and no delivery log yet: both are on the roadmap

Wikis and releases

Documentation and deliverables stay with the code.

  • Each wiki is stored as a Git repository of its own
  • Releases carry attached files

Technical overview

What you deploy and what it requires.

  • One Rust binary (axum) serves the REST API, the Git protocol and the Angular web application
  • PostgreSQL 18 for the data; repository contents on the server's disk
  • Docker Compose or a Helm chart for Kubernetes; image masmarino/ferrisgit
  • A hexagonal architecture, split across five Cargo crates

Not yet available

These are on the roadmap. None of them exists today.

See the roadmap

  • Git over SSH and deploy keys: Git is served over HTTP(S) only
  • Protected branches: a Contributor can push to any branch of the repository
  • Code-quality scanning and security analysis, including on merge requests
  • Forks and merge requests between repositories, squash and rebase merges
  • Single sign-on (OIDC, LDAP)
  • An interface in English, Italian, Spanish and German, and a theme setting: it is in French today and follows the system theme
  • A link with ArtiFerris

Evaluate FerrisGit, then deploy your own instance.

The public instance lets you explore the product. Your own instance keeps your code.

Start the stack with Docker Compose
git clone https://github.com/Masmarino/FerrisGit.git
cd FerrisGit
cp .env.example .env
# set POSTGRES_PASSWORD, JWT_SECRET, SETTINGS_ENCRYPTION_KEY and the admin password in .env
docker compose up -d --build