Gemini server
.gitignore | ||
config.go | ||
CONFIGURATION.md | ||
go.mod | ||
go.sum | ||
LICENSE | ||
main.go | ||
PROPOSALS.md | ||
README.md | ||
serve_command.go | ||
serve_fcgi.go | ||
serve_file.go | ||
serve_https.go | ||
serve_proxy.go | ||
server.go | ||
util.go |
twins
Gemini server
Warning: The twins configuration format is still under development. Breaking changes may be made.
This page is also available at gemini://twins.rocketnine.space
Features
- Serve static files
- Detect content type
- Specify content type for files with matching extension
- List files and directories (when enabled)
- Reverse proxy requests
- TCP
- FastCGI
- Serve Gemini content via HTTPS
- Pages are converted automatically by gmitohtml
- Reload configuration on
SIGHUP
Proposals
twins includes features that are not yet part of the Gemini specification. See PROPOSALS.md
Download
twins is written in Go. Run the following command to download and build twins from source.
go get code.rocketnine.space/tslocum/twins
The resulting binary is available as ~/go/bin/twins
.
Configure
See CONFIGURATION.md
Support
Please share issues and suggestions here.
Dependencies
- filetype - MIME type detection
- gofast - FastCGI client
- go-shellquote - Shell string quoting
- yaml - Configuration parsing