Initial commit after rewrite

This commit is contained in:
2025-02-19 16:18:51 +01:00
commit 62c75f8cc8
6 changed files with 1103 additions and 0 deletions

16
Readme.md Normal file
View File

@ -0,0 +1,16 @@
# Overview
This is an all in one pages server for [Gitea](https://gitea.com). With default settings it works and uses similar/same conventions as [Github Pages](https://pages.github.com).
You can operate it in 2 modes, either __simple__ (default) or __classic__ (similar to how Github Pages operates).
In __simple__ mode no special DNS setup is required and the access to the hosted sides are always according to the pattern __http(s)://<your-server-hostname>/<organization>/<repository>__
In __classic__ mode the access to the pages goes according to these two patterns: __http(s)://<organization>.<your-server-hostname>/<repository>__ or __http(s)://<organization>.<your-server-hostname>__ (with default configuration this serves the content of the repo named __<organization>.github.io__ of the organization)
It is realized as a plugin for [Caddy v2](https://github.com/caddyserver/caddy).
# Acknowledgements
This project is an extremely simplifies rewrite of the https://github.com/42wim/caddy-gitea project.