A static website hosting service. Intended for use in static websites CD
Go to file
2021-05-20 18:26:26 +02:00
.gitea/issue_template feat: add initial structures and routing logic 2021-05-20 18:26:26 +02:00
src feat: add initial structures and routing logic 2021-05-20 18:26:26 +02:00
.env feat: add initial structures and routing logic 2021-05-20 18:26:26 +02:00
.gitignore feat: add initial structures and routing logic 2021-05-20 18:26:26 +02:00
Cargo.lock feat: add initial structures and routing logic 2021-05-20 18:26:26 +02:00
Cargo.toml feat: add initial structures and routing logic 2021-05-20 18:26:26 +02:00
README.md feat: add initial structures and routing logic 2021-05-20 18:26:26 +02:00

A static website hosting service for use in CD.

It aim at providing a service similar to github or gitlab pages for self-hosted software forges and CI/CD services.

TODO

Phase I

  • upload /subdomain//upload -> untar
  • serve for any subdomain

Phase II

  • store subdomains linked to each upload (which database ? sled ?)
  • serve for specific subdomain (rewrite sub.pages.domain.net to pages.domain.net/sub ?)

Phase III

  • config (ex: single page app, custom 404, et c)
    • config in static file, or in api ? (or both ?)
  • simple login (and prepare fail2ban)

Yeah ! A minimal working service !

Phase IV

Highly hypothetical

  • upload from web interface
  • ability to set login backend and api OIDC auth
  • subdomain reservation mechanism (usecase: forge reserve subdomains for users/orgs)