Skip to content

glotchimo/glean

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Glean

A plain and simple blog engine in Go. It serves Markdown files from Tigris object storage with a little bit of styling to make it all bearable and nice.

Usage

First, set the following environment variables:

GLEAN_PORT="8080"
GLEAN_PASS="biglongsecureapikey"
GLEAN_TITLE="Joe Schmoe's Blog"
GLEAN_AUTHOR="Joe Schmoe"
GLEAN_EMAIL="[email protected]"

# Tigris Storage Configuration
BUCKET_NAME="summer-grass-2004"
AWS_ENDPOINT_URL_S3="https://fly.storage.tigris.dev"
AWS_ACCESS_KEY_ID="tid_xxxxxx"
AWS_SECRET_ACCESS_KEY="tsec_xxxxxx"

Then, you're good to run it:

./glean

Use the post script to add posts:

post -d Article.md

Features

  • On-the-fly Markdown -> HTML conversion for posts
  • Dynamically-generated index page
  • Configurable header content
  • Tigris object storage for posts
  • RSS feed