A lightweight platform to help users build simple Gemini sites over http(s) and serve those sites over http(s) and Gemini
Flounder is in ALPHA -- development and features are changing frequently, especially as the Gemini spec and ecosystem remains relatively unstable.
- go >= 1.15
- sqlite dev libraries
To run locally, copy example-config.toml to flounder.toml, then run:
go run . serve
Add the following to
/etc/hosts (include any other users you want to create):
127.0.0.1 flounder.local admin.flounder.local proxy.flounder.local
flounder.local:8165 in your browser. The default login/password is
Gemini TLS certs are handled for you. For HTTP, when deploying your site, you'll need a reverse proxy that does the following for you:
- Cert for yourdomain.whatever
- Wildcard cert for *.yourdomain.whatever
- On Demand cert for custom user domains
If you have a very small deployment of say, <100 users, for example, you can use on demand certificates for all domains, and you can skip step 2.
However, for a larger deployment, you'll have to set up a wildcard cert. Wildcard certs are a bit of a pain and difficult to do automatically, depending on your DNS provider. For information on doing this via Caddy, you can follow this guide
For information on using certbot to manage wildcard certs, see this guide
An example simple Caddyfile using on-demand certs is available in Caddyfile.example
If you want to host using a server other than Caddy, there's no reason you can't, but it may be more cumbersome to setup the http certs.
Flounder is designed to be small, easy to host, and easy to administer. Signups require manual admin approval.
If you'd like to support Flounder development, consider making a Donation