Help us shape the future of Go! Take the 2026 Go Developer Survey

gitea-pages

module
v1.0.0-alpha.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 16, 2026 License: MIT

README

gitea-pages

A static pages server for Gitea repositories.

Installation

docker pull ghcr.io/deadnews/gitea-pages:latest

Configuration

Variable Default Description
GITEA_PAGES_SERVER Gitea server URL
GITEA_PAGES_TOKEN Gitea API token
GITEA_PAGES_BRANCH gh-pages Branch to serve pages from
GITEA_PAGES_ADDR :8000 Listen address

Endpoints

GET /health

Health check endpoint.

curl http://127.0.0.1:8000/health
GET /{owner}/{repo}/{path...}

Serves static files from the pages branch of the specified repository.

# Serves index.html from the pages branch of owner/repo
curl http://127.0.0.1:8000/myorg/myrepo/

# Serves a specific file
curl http://127.0.0.1:8000/myorg/myrepo/assets/style.css

Directories

Path Synopsis
cmd
gitea-pages command
Package main provides gitea-pages, a static pages server for Gitea repositories.
Package main provides gitea-pages, a static pages server for Gitea repositories.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL