Installation Process
Installing Bloggo is too simple. Bloggo designed to be one file. Thanks to Go langugage. It always produces one file. But because I embed the whole frontend project in this binary, you don’t need to move lots of frontend asset with backend. So running the executable will be enough to run it.
Download
Download the latest binary fits your system on https://github.com/Elagoht/bloggo/releases/. Bloggo currently supports Linux arm64, Linux amd64, Darwin amd64 and Darwin arm64. After download, extract the archive where you want.
Configure
Bloggo needs some environment variables. bloggo shipped with an .env.example
file. and it can read .env
files. So you can setup a .env
file by copying the example one. But it highly recommended to set environment variables on commandline when bootstrapping it.
The required .env content.
PORT=8723
# JWT Configuration (REQUIRED - must be 32 characters or more)
# Generate a random 32-character string for production
JWT_SECRET=
# Token Durations (in seconds)
ACCESS_TOKEN_DURATION=900 # 15 minutes
REFRESH_TOKEN_DURATION=604800 # 7 days
# Gemini AI Configuration (Optional, to get AI suggestions)
# Get your API key from: https://makersuite.google.com/app/apikey
GEMINI_API_KEY=
# Trusted Frontend Key (REQUIRED - must be 32 characters or more)
# Generate a random 32-character string for production
TRUSTED_FRONTEND_KEY=
You can simply create 32 characters secrets with this command:
$ echo "A RANDOM MESSAGE" | sha256sum
2ff711fdb1cb48ea4b1bbd34c5ce5817921ac0fc852b34daeb250d1293de8b63 -
Set this variables and run the ./bloggo.*
file.
Start Using Bloggo
After that, you can login with default user created automatically. Login information:
- Email: [email protected]
- Passphrase: ChangeMeNow123!
So, change the passphrase immediately.