Skip to content

jonathanlermitage/software-updates-bot

Repository files navigation

software-updates-bot

🤖 A bot that looks for popular stuff updates, then push data into this repository as JSON, markdown report, and RSS/Atom feeds. Currently runs on a Raspberry Pi (every hour). See generated reports:

This bot currently monitors updates for:

  • 7+ Taskbar Tweaker
  • Adoptium (previously AdoptOpenJDK): every LTS version
  • Golang SDK
  • GPG4Win
  • Gradle
  • Inkscape
  • K-Lite Codec Pack Basic
  • Les Cast Codeurs (a great French podcast)
  • MariaDB
  • Maven
  • Nilesoft Shell (a powerful context menu manager for MS Windows File Explorer)
  • NodeJS: LTS and current
  • PostgreSQL
  • Python 3
  • Spring Boot
  • ThrottleStop
  • VeraCrypt
  • Visual C++ Redistributable Runtimes All-in-One
  • VLC

Update checkers code is here: source code. They are based on Jsoup scrapper, or simply by consumming JSON API.
Don't hesitate to submit new checkers.


⚠️ deprecated, the task now runs on a GitHub workflow ⚠️

Scheduled tasks on my RaspberryPi (crontab -u pi -e, /etc/init.d/cron reload):

SHELL=/bin/bash
BASH_ENV="/home/pi/.bashrc"

# run software-updates-bot hourly
0 * * * * eval $(ssh-agent -s) && ssh-add ~/.ssh/id_rsa_************* && cd ~/projects/software-updates-bot/ && git fetch origin && git reset --hard origin && ./run.sh && pkill -f ssh-agent

# rotate software-updates-bot git log At 00:40 on Monday  https://crontab.guru/#40_0_*_*_1
40 0 * * 1 rm ~/projects/software-updates-bot/logs/git.log.gz && gzip ~/projects/software-updates-bot/logs/git.log && rm ~/projects/software-updates-bot/logs/git.log

Please note that this script is absolutely not optimized at all (especially the ssh part). It works, and I'm fine with that :-D

About

🤖 Be notified about your favourite stuff updates with RSS and Atom feeds, MD and JSON reports. Runs every 4 hours on a GitHub Action.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published