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 d917c6738e remove vfs 5 months ago
certificates generate certs as needed, remove unneeded interfaces 2 years ago
handlers add some request logging 11 months ago
logger split out logger into proper package 2 years ago
.gitignore add build script 5 months ago
.woodpecker.yml remove vfs 5 months ago
Dockerfile add build script 5 months ago
README.md add .gmi type and update README 2 years ago
go.mod add build script 5 months ago
go.sum remove certmagic; gemini's TOFU model doesn't benefit from short-lived certs 2 years ago
main.go add some request logging 11 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.