Skip to content

PHP cron-bot specialized in publishing changes from arduino-library-manager index to 🐘 Mastodon and 🟦 Bluesky networks

License

Notifications You must be signed in to change notification settings

tobozo/arduino-libraries-tooter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

36 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Arduino Libraries Tooter πŸ“―πŸ˜

This is the source code for the Bot running behind the fediverse/bluesky accounts:

Just like its Twitter counterpart, this app publishes the latest changes found in Arduino Library Registry to the Mastodon and Bluesky networks.

Requirements:

  • linux (wget, gzip)
  • php8+
  • composer
  • Mastodon Application TOKEN
  • Bluesky Application TOKEN

Quick Start:

  • Copy .env.example to .env
  • Edit the .env file to set MASTODON_API_KEY and MASTODON_API_URL and MASTODON_ACCOUNT_ID values
  • Edit the .env file to set BSKY_API_APP_NAME and BSKY_API_APP_USER and BSKY_API_APP_TOKEN values
  • Schedule a run every 10mn by either:
    • Setting cron.php as a crontab */10 * * * * cd /path/to/arduino-libraries-announcer/ && sh cron.sh >> logfile.txt 2>&1
    • Or by using a systemd timer (TODO: document this)

Dependencies:

Resources:

Inspiration:

Thanks:

  • @tipiak75
  • @DigitalSOok

About

PHP cron-bot specialized in publishing changes from arduino-library-manager index to 🐘 Mastodon and 🟦 Bluesky networks

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published