Simple self-hosted service for sharing text snippets
Two basic requirements are Go compiler (unless you grab built binaries) and PostgreSQL database running.
config.toml (or whatever you want) and
edit to your liking. All fields are required.
git clone https://git.sr.ht/~yerinalexey/gobin cd gobin go build
./gobin-migrate -c /etc/whatever.toml up
Warning: TOML parser in
gobin-migrate is too simple and will not
handle all cases.
If something goes wrong, you can apply migrations manually by running
up.sql files in subdirectories of
./gobin -config /etc/whatever.toml # if you have a config file in different place
It's also a good idea to run
gobin binary as a system service.