command
module
Version:
v0.0.0-...-590ab09
Opens a new window with list of versions in this module.
Published: Nov 12, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 18
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
blog-engine
construction in progress
A primitive and opionated gemini blog engine.
Requirements
- go
- openssl or ready SSL certs for your blog domain
Usage
The main idea is to compile blog content into the blog app binary, thanks to go:embed
- Clone repo
git clone https://github.com/ninedraft/blog-engine.git && cd blog engine
;
- Add documents to the
content
dir;
- Compile with
go build
;
- Deploy with your method of choice;
- Run
blog-engine -addr ... -ca-cert ... etc
;
- Visit gemini://$BLOG_HOST/;
Configuration
CLI flags
-addr string
optional address to serve (default "localhost:1965")
-ca-cert string
certificate file (default "cert.pem")
-ca-key string
certificate key (default "key.pem")
-host string
optional host
Env variables
Metrics
Prometheus metrics are availaible at http://localhost:2112.
Features
- Single static binary distribution;
- No dynamic filesystem access - only certs are loaded on startup;
- Prometheus metrics;
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
internal
|
|
|
|
|
|
|
|
|
|
|
|
Click to show internal directories.
Click to hide internal directories.