mirror of
https://code.rocketnine.space/tslocum/twins.git
synced 2025-04-30 12:03:11 +02:00
No description
.gitignore | ||
CHANGELOG | ||
config.go | ||
CONFIGURATION.md | ||
go.mod | ||
go.sum | ||
goreleaser.yml | ||
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
This page is also available at gemini://twins.rocket9labs.com
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
Install
Download
Compile
twins is written in Go. Run the following command to download and build twins from source.
go install codeberg.org/tslocum/twins@latest
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