2026-01-20 12:23:12 +11:00
|
|
|
# Chookspace Pages
|
|
|
|
|
|
|
|
|
|
Create static sites detailing your projects!
|
|
|
|
|
|
2026-01-20 12:29:47 +11:00
|
|
|
View a demo here: https://chsp.au/chookspace/pages
|
|
|
|
|
|
2026-01-20 12:23:12 +11:00
|
|
|
## 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.
|