Scratch Notes (2023-Current)
A minimal note-taking app written in Go and SQLite, with Litestream backups to remote storage.
Scratch Notes is a minimal note-taking application. This was written in Go using Fiber and Sqlite. I used this project as an excuse to learn more about litestream so there is an intersting bit about how this works. When the application boots up Example Dockerfile and start.sh script it will check for an existing backup on remote storage, if that exists and there isn't a local database it will restore it. Then it will continue with regular replications. For some reason with this I really struggled to get litestream working with a local minio instance. So I have documented my config for future reference litestream.yml