Skip to content

cdzombak/frequencyoftoday-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

frequencyoftoday-bot

Generates daily posts for today's frequency.

Setup

  1. Install mastodon-post. If you want to run it via Docker, you'll need to adjust your cron job accordingly.
  2. Copy .env.template to .env somewhere on your server and populate it, following the instructions for mastodon-post.
  3. Schedule the job to run via cron, following the below example, adjusting /path/to/dir_containing_dotenv_file accordingly.
32   8   *   *   *   cd /path/to/dir_containing_dotenv_file && mastodon-post -text "$(docker run -q --rm cdzombak/frequencyoftoday-bot:main)"