Fountain

Forgejo with native extensions

Build applications into your forge.

Fountain is a maintained Forgejo fork. Add pages, panels and background services to your forge as extension packages, and install them without rebuilding it.

Self-hosted · Linux amd64 · container or binary

How an extension fits

An extension is a package, not a patch.

Your forge stays Forgejo: Git hosting, issues, pull requests, organizations, Actions and packages. An extension adds an application on top, and owns its own logic, interface and data.

  • extension.json

    The manifest. It names the package and declares its pages, panels and the capabilities it asks for.

  • Backend executable

    A program built with the Fountain SDK. It keeps its data in a private folder and answers requests from the forge.

  • Browser modules

    JavaScript modules the forge mounts into native pages and persistent panels, with helpers for requests, streams and navigation.

extension.json
{ "protocol": 1, "id": "release-notes", "name": "Release notes", "version": "1.0.0", "executable": "backend", "capabilities": ["native.actor.read", "native.repository.read"], "pages": [ { "id": "notes", "title": "Release notes", "scope": "repository", "permission": "read", "route": "feed", "entry": "page.js" } ], "panels": [ { "id": "draft", "title": "Draft notes", "entry": "panel.js" } ] }

Fountain keeps the rules.

Identity and access
Requests carry the signed-in person and repository. Page permissions are checked by the forge, not the extension.
Journaled operations
Background writes to issues, branches, reviews and merges are recorded first, so an interrupted operation resumes instead of repeating.
Administrator control
Install from a folder or a verified catalog, enable and disable live, and name the packages the forge must have before it reports ready.

One product family

Fountain, Soda OS, Factory and CanLang.

Four products you can use on their own or together. Fountain stands alone as a forge you host; Soda OS builds its forge on it.

  • Fountain

    For your forge

    Forgejo with native extensions. Host it yourself and build applications into your forge.

    Run Fountain
  • Soda OS

    For your company

    The operating system for a company’s software factory. Its Soda Forge is built on Fountain, with persistent Projects and shared review on infrastructure your team controls.

    Explore the Soda OS platform
  • Factory

    On your computer

    A desktop app for steering coding agents from one project feed in your Git repositories.

    Discover Factory
  • CanLang

    For business apps

    A programming language for business apps, designed for AI to write.

    Discover CanLang

Run Fountain

Host Fountain yourself.

Run the container image or the single Linux binary. Both come from release 15.0.10-fountain.3, built on Forgejo 15.0 LTS.

Container image · linux/amd64ghcr.io/veighnsche/fountain:15.0.10-fountain.3

Configure it with FORGEJO__section__KEY environment variables. Data lives in /data.

Single binary · linux/amd64fountain-15.0.10-fountain.3-linux-amd64.gz
Download from GitHub
  1. Forge running on port 3000Start Fountain with extensions turned on.

    Your repositories, settings and extension packages live in the fountain-data volume. Set ROOT_URL to the address people use in their browsers; port 2222 carries Git over SSH.

    docker run -d --name fountain -p 3000:3000 -p 2222:22 \ -v fountain-data:/data \ -e FORGEJO__server__ROOT_URL=http://localhost:3000/ \ -e FORGEJO__server__SSH_PORT=2222 \ -e FORGEJO__extensions__ENABLED=true \ ghcr.io/veighnsche/fountain:15.0.10-fountain.3
  2. Administrator accountFinish setup in your browser.

    Open http://localhost:3000, complete the installation page and create the first account. It becomes the site administrator.

    curl -fsS http://localhost:3000/api/healthz
  3. Package installedInstall an extension package.

    Package changes from the command line happen while the forge is stopped. Mount the package folder, install it, then start Fountain again.

    docker stop fountain
    docker run --rm -v fountain-data:/data \ -v "$PWD/my-extension:/ext:ro" \ ghcr.io/veighnsche/fountain:15.0.10-fountain.3 su-exec git forgejo extensions install /ext
    docker start fountain
  4. Extension in your forgeManage it from the administration page.

    Site administration › Extensions lists every package with its status. Enable or disable optional packages there while the forge keeps running.

Next, install packages from a verified catalog, mark the ones your forge needs and build your own extension. Read the Fountain handbook