About PW

PW, or "Pages Worker" is a subsystem of the v0lt project, designed to make static site deployments from AnnGit easier
Due to the latest events of @true1ann, they have quitted GitHub, moving to AnnGit
To her own stupidity she decided to make her own implementation of GitHub Pages, creating PW

Usage

You can deploy your own PW using the source, you can already use PW for AnnGit at pw.t1dd, where you are already
The request layout is relatively simple, however it is simplified:
  1. User makes a request to pw.true1.dev/[repo]/[path]
  2. Pages Worker parses the URL to identify the target repo and path. If path is empty, it defaults to index.html
  3. Pages Worker initiates a fetch to the Gitea raw endpoint (fgit.true1.dev or other, configured in config.json) for the requested file
  4. If the fetch succeeds: The worker identifies the file extension, attaches the appropriate Content-Type headers, and returns the data
  5. If the fetch fails: The worker sends a complete stacktrace

License

LICENSE