Gemini 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.
Trevor Slocum a96e2123fb Require trailing slash when specifying directory path 2 years ago
.gitignore Initial commit 2 years ago
.gitlab-ci.yml Initial commit 2 years ago
CONFIGURATION.md Require trailing slash when specifying directory path 2 years ago
LICENSE Initial commit 2 years ago
PROPOSALS.md Fix cache attribute parsing 2 years ago
README.md Serve Gemini content via HTTPS 2 years ago
config.go Require trailing slash when specifying directory path 2 years ago
go.mod Fix resolving regexp path 2 years ago
go.sum Fix resolving regexp path 2 years ago
main.go Print access log by default 2 years ago
serve_command.go Support logging requests 2 years ago
serve_fcgi.go Serve Gemini content via HTTPS 2 years ago
serve_file.go Support directory listing via HTTPS 2 years ago
serve_https.go Support directory listing via HTTPS 2 years ago
serve_proxy.go Support logging requests 2 years ago
server.go Require trailing slash when specifying directory path 2 years ago
util.go Support directory listing 2 years ago

README.md

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 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