From d61374b9e23a8f6eca4fa33413eab3d987d91622 Mon Sep 17 00:00:00 2001 From: Judah Caruso Date: Wed, 28 Jan 2026 16:52:39 -0700 Subject: [PATCH] . --- docs/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/index.html b/docs/index.html index ecbf621..09d7417 100644 --- a/docs/index.html +++ b/docs/index.html @@ -50,7 +50,7 @@ -

Docs.Brut.Systems

This program acts as a proxy to serve files directly from repositories.

It expects the following environment variables to be set:

How It Works

When a request like http://localhost:8080/user/repository/path/to/file is sent to the proxy, it will dynamically fetch that file from the repository and return it to the user.

Usage With Systemd

Create a file at /etc/systemd/system/docs.brut.service with the following:

[Unit]
+	

Docs.Brut.Systems

This program acts as a proxy to serve files directly from repositories.

It expects the following environment variables to be set:

  • API_URL - Base Forgejo API url (ex. https://git.brut.systems)
  • API_TOKEN - Forgejo API authorization token
  • REDIRECT_URL - Redirect url when access fails or files do not exist (ex. https://git.brut.systems)
  • PORT - Port to listen on

How It Works

When a request like http://:PORT/user/repository/path/to/file is sent to the proxy, it will dynamically fetch that file from the repository and return it to the user.

Usage With Systemd

Create a file at /etc/systemd/system/docs.brut.service with the following:

[Unit]
 Description=Serves files from Git repositories
 After=network.target
 
[Service]