Go to file
2020-02-20 16:20:21 -05:00
.gitignore initial 2020-02-12 20:13:19 -05:00
config.yaml.sample add sample config 2020-02-12 20:34:52 -05:00
go.mod minor fixes 2020-02-12 20:36:05 -05:00
main.go preliminary gopher support 2020-02-20 16:20:21 -05:00
proto.go clean up, attributes 2020-02-12 21:23:44 -05:00
README better logging 2020-02-19 15:56:32 -05:00
secretshop.service add sample config 2020-02-12 20:34:52 -05:00
server.go preliminary gopher support 2020-02-20 16:20:21 -05:00

SecretShop: a small Gemini server.

# Features
* Multi-site hosting
* Fully compliant with Jetforce diagnostics
* Probably won't kill your computer

# Configuration
SecretShop looks in it's current running directory and /etc/secretshop for it's config file.
Configuration is in config/yaml in one of the above directories. See the sample config for more details
but a standard file looks like such:

---
active_capsules:
        - localhost
localhost:
        Hostname: "localhost"
        Port: "1965"
        RootDir: "/var/gemini"
        CGIDir: "/var/gemini/cgi"
        KeyFile: "localhost.key"
        CertFile: "localhost.crt"

Please note that CGIDir currently not used (waiting on spec clarification).

# Running
Either run the executable directly or use the SystemD unit file