ghostini

command module
v0.0.0-...-19dffb3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 23, 2022 License: MIT Imports: 7 Imported by: 0

README

Ghostini

Ghost + Gemini

Go Reference Docker Hub

Turn your Ghost blog into a Gemini site.

See mine in action: Ghost blog, Gemini site.

Usage

Ghostini uses Figyr for configuration, so you can configure it with environment variables, command-line flags, or a config file.

Options:
    --ghost-site          required        The base URL of your Ghost website
    --content-key         required        The Content API key for your Ghost website
    --domains             required        The domains for which to serve Gemini content
    --gemini-certs-path   optional        The path to the certificates and keys for your Gemini domains
    --host                optional        The host on which to listen
    --port                default: 1965   The port on which to listen
  • Set ghost-site to your Ghost site's base URL, e.g. https://kesdev.com.
  • Set content-key to a Content Key configured in your Ghost admin. This grants Ghostini access to your posts.
  • Set domains to a comma-separated list of domains to handle with TLS, e.g. localhost,kesdev.com,example.com.
  • Put your cert and key files into gemini-certs-path. They must be named by domain: for example, certs for kesdev.com must be named kesdev.com.crt and kesdev.com.key.
  • If certificates for a domain are missing, self-signed certificates will be implicitly generated and used.

TODO

  • Use zerolog
  • Add DEBUG logging
  • Add linting

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL