Go to file
2020-11-25 21:43:50 -08:00
.gitignore Initial commit 2020-10-29 13:35:48 -07:00
.gitlab-ci.yml Initial commit 2020-10-29 13:35:48 -07:00
config.go Use case insensitive comparison when matching vhost 2020-11-25 21:43:50 -08:00
CONFIGURATION.md Support redirecting to path or URL 2020-11-19 09:24:12 -08:00
go.mod Rename HiddenFiles as Hidden 2020-11-19 08:57:28 -08:00
go.sum Rename HiddenFiles as Hidden 2020-11-19 08:57:28 -08:00
LICENSE Initial commit 2020-10-29 13:35:48 -07:00
main.go Print access log by default 2020-11-16 20:21:00 -08:00
PROPOSALS.md Fix cache attribute parsing 2020-11-09 21:12:22 -08:00
README.md Support redirecting to path or URL 2020-11-19 09:24:12 -08:00
serve_command.go Support logging requests 2020-11-12 10:00:22 -08:00
serve_fcgi.go Support logging requests 2020-11-12 10:00:22 -08:00
serve_file.go Support custom content types 2020-11-17 11:31:22 -08:00
serve_proxy.go Support logging requests 2020-11-12 10:00:22 -08:00
server.go Use case insensitive comparison when matching vhost 2020-11-25 21:43:50 -08:00
util.go Support directory listing 2020-10-30 18:31:13 -07:00

twins

CI status Donate

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
  • Serve system command output
  • Redirect to path or URL
  • 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