Castor is a gemini-protocol server.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
David Ashby cbde81e759 provide up-directory link in file listings 5 months ago
certificates generate certs as needed, remove unneeded interfaces 5 months ago
handlers provide up-directory link in file listings 5 months ago
logger split out logger into proper package 5 months ago
.gitignore ignore generated files 5 months ago
Dockerfile basic dockerfile 5 months ago
README.md add .gmi type and update README 5 months ago
go.mod remove certmagic; gemini's TOFU model doesn't benefit from short-lived certs 5 months ago
go.sum remove certmagic; gemini's TOFU model doesn't benefit from short-lived certs 5 months ago
main.go add command-line flag options 5 months ago

README.md

Castor

Castor is a lightweight but full-featured gemini server, focused on ease of setup and use.

Servers are configured using Castorfiles, analogous to Caddyfiles or nginx configurations. Various handlers can be defined:

  • static file serving
  • hard-coded responses

Castorfiles also support client cert requirements; lists of client certificate hashes can be provided for authentication, or simply as session-management (hashes being passed off to a backend server for mapping to a user identity).

Name

Castor is the second-brightest object in the zodiac constellation of Gemini and one of the brightest stars in the night sky, as well as one of a pair of twin half-brothers, along with his brother Pollux.