This page permanently redirects to gemini://gilbert.capsule.town/api/.

Tiny capsule.town API ref

NOTE: I did not search for intentional request errors.

=> 🧑‍💻 capsule.town API source (look for better refs here)

Publisher Python code

For all of those Gamer OS (Windows humor) users who can't install captown, I have made my own publishing software.

The downsides are:

=> 📥 Download

If something's wrong, here's the full URL:

=> gemini://gilbert.capsule.town/api/publisher.py

Request example

Note that all requests I found point to the same URL of api.capsule.town. And ofc it's in HTTPS.

>>> POST https://api.capsule.town/capsule
... Some-Header: someval
>>> just some sample data (this request 100% won't work)
>>> 
>>> newline
<<< example response

Make an account

>>> POST https://api.capsule.town/capsule
... Content-Type: application/json
>>> {
>>> 	"capsuleName": "...",
>>> 	"contactDetail": "optional!"
>>> }
<<< {"accessToken": "...", "message": "Capsule created"}

Upload

>>> PUT https://api.capsule.town/capsule
... Content-Type: application/json
... api-key: access token...
>>> {
>>> 	"capsuleArchive": "...",
>>> }
<<< {"message": "Your capsule was deployed", "url": "gemini://[...].capsule.town"}

capsuleArchive is just a gzipped tarball of the contents of your own site.

=> ↩ Back to home

Proxy Information
Original URL
gemini://gilbert.capsule.town/api
Status Code
Success (20)
Meta
text/gemini;lang=en-GB
Capsule Response Time
518.1033 milliseconds
Gemini-to-HTML Time
0.531214 milliseconds

This content has been proxied by September (3851b).