mirror of
https://code.rocketnine.space/tslocum/twins.git
synced 2024-11-27 11:38:14 +01:00
1.8 KiB
1.8 KiB
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 gitlab.com/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