No description
- Go 95.8%
- Dockerfile 4.2%
|
|
||
|---|---|---|
| .forgejo/workflows | ||
| cmd | ||
| .gitignore | ||
| Dockerfile | ||
| example.resound.toml | ||
| go.mod | ||
| go.sum | ||
| LICENSE | ||
| main.go | ||
| README.md | ||
| renovate.json | ||
Go Resound
Post the latest RSS item to Mastodon.
Config
cp example.resound.toml .resound.toml
The file can be stored in ~/ or ..
Edit the values in the file, they're all required for the app to work (except lastPost).
Templates
resound supports templating for the output of the toot. Default is:
⭐⭐⭐ New Post! ⭐⭐⭐\n\n{{.Title}}\n{{.Link}}
You can use {{.Title}} and {{.Link}} as template variables. The template can be defined in .resound.toml under template = ""
Run
A go app that posts rss items to mastodon.
Usage:
resound [command]
Available Commands:
help Help about any command
run Get latest rss item and post to Mastodon
Flags:
--config string config file (default is $HOME/.resound.toml)
--debug enable debug
-h, --help help for resound
-t, --toggle Help message for toggle
Use "resound [command] --help" for more information about a command.
Docker
docker run -it code.remotelab.uk/mikebell/resound/resound resound --help
docker run -it --rm --volume "./.resound.toml:/bin/.resound.toml" code.remotelab.uk/mikebell/resound/resound:latest resound run --dryrun --config /bin/.resound.toml