Proxy to serve files from repositories
Find a file
2026-01-28 15:30:27 -07:00
go.mod init 2026-01-28 15:30:27 -07:00
go.sum init 2026-01-28 15:30:27 -07:00
main.go init 2026-01-28 15:30:27 -07:00
README.md init 2026-01-28 15:30:27 -07:00

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