Initial commit
This commit is contained in:
19
README.md
Normal file
19
README.md
Normal 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.
|
||||
Reference in New Issue
Block a user