Initial commit

This commit is contained in:
2026-01-20 12:23:12 +11:00
commit c3d73f5c83
7 changed files with 1777 additions and 0 deletions

19
README.md Normal file
View File

@@ -0,0 +1,19 @@
# Chookspace Pages
Create static sites detailing your projects!
## Usage
1. Create an account on Chookspace.
2. Create a repo on Chookspace.
3. In that repo, create a `chookspace/` folder.
4. Put stuff to be hosted in the `chookspace/` folder (ideally include an index.html)
5. Visit `https://chsp.au/yourusername/yourrepo` to see your site!
## Details
This is a Cloudflare web worker which will do the following:
* If your useragent includes Git, you will be redirected to the Chookspace repo.
* If a Chookspace folder is found in the specified repo, and there is a corresponding file in the URL, that file will be proxied.
* If there is no file found, you will be redirected to that path on Chookspace.