Add Dante from the Devil May Cry™ Series to your favourite thing.
On Mastodon: @dantefy@botsin.space
MASTODON_TOKEN
: a Mastodon user API tokenMASTODON_SERVER
: the instance to which API calls should be made (usuallywhere the bot user lives.) (default: https://mastodon.social)CRON_RULE
: the interval between each post, in crontab format. (default:every four hours)this bot uses the envalid package which in turnwraps dotenv, so you can alternately stickany of the above environment variables in a file named .env
in the projectroot. (it's gitignored, so there's no risk of accidentally committing privateAPI tokens you put in there.)
code is written in typescript, and the dockerfile will compile to js as part ofits setup. run yarn dev
if you're hacking on things and want to run locallyand rebuild on changes.