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 24f3196a61 Add configuration option ShowImages 2 weeks ago
.gitignore Initial commit 9 months ago
CONFIGURATION.md Add configuration option ShowImages 2 weeks ago
LICENSE Initial commit 9 months ago
PROPOSALS.md Fix cache attribute parsing 9 months ago
README.md Migrate to code.rocketnine.space 4 months ago
config.go Add configuration option ShowImages 2 weeks ago
go.mod Downgrade dependency yaml to v2 2 weeks ago
go.sum Downgrade dependency yaml to v2 2 weeks ago
main.go Update StyleSheet implementation 3 weeks ago
serve_command.go Support logging requests 9 months ago
serve_fcgi.go Update dependencies 5 months ago
serve_file.go Support directory listing via HTTPS 8 months ago
serve_https.go Fix sending custom content types to HTTP clients 2 weeks ago
serve_proxy.go Support logging requests 9 months ago
server.go Update StyleSheet implementation 3 weeks ago
util.go Support directory listing 9 months ago

README.md

twins

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