How does page hosting at pages.friendship.quest work?
We run a modified version of mobius[1] that presents registered users a ~ folder if it exists in our Files/~/ folder. It also modifies the permissions so you can write and delete from it even if you don't have "Write anywhere" permissions.
Once a file gets written to that folder, we use `incron` to trigger the workflow: If `_layout.html` exists, it'll call page[2], so reading the "the files." section there will be helpful.
[1] Mobius Friendship Quest Remix
[2] Page documentation (HTML)
[2] Page documentation (Gemtext)
Known Issues
- The modern macos hotline client doesn't expose delete files.
- Overwriting files doesn't work on HotStuff!, you need to delete and then create.
- Mac line endings don't work, only unix line endings.