This is a small website for inhabitants of the Town of Merveilles to share their locations with each other, to help with organizing events and such. It's built with Go, and uses a very simple database (read: a csv file) to store locations.
It represents locations graphically using html elements stylized as circles on the map, each circle shows info if it is hovered over, without relying on javascript!
Dependencies & Libraries
Go 1.22
securecookie v1.1.1
sessions v1.2.1
go-mastodon v0.0.6
Running
go build .
run ./mervmap
Configuration
The following environment variables are used on startup, with defaults set to allow for running in "production".
Variable
Default
Description
MERVMAP_DEBUG
"false"
When set to true, the program runs in debug mode. This skips authorization, and sets usernames to "debug".
MERVMAP_COOKIE
"mastomap-session"
The name of the cookie to save people's session data in.