SWUpdates-Alert
Vai alla versione in italiano
English version
SWUpdates-Alert automates version checks for various software and sends a Telegram notification whenever a new release is published. A single script, check.py, monitors every application and keeps the related file inside the updates/ folder up to date.
Follow the Telegram channel: https://t.me/SWUpdate
For more details about the project, see the dedicated article on Gioxx's Wall: https://gioxx.org/2022/09/19/swupdates-alert-rimani-aggiornato-sul-rilascio-delle-applicazioni/
Monitored software
| Software Name |
Description |
Website |
| 7-Zip |
7-Zip is a free and open-source file archiver. |
7-zip.org |
| FileZilla |
FileZilla is a free and open-source, cross-platform FTP application. |
filezilla-project.org |
| Firefox (stable and ESR) |
Mozilla Firefox, or simply Firefox, is a free and open-source web browser developed by the Mozilla Foundation and its subsidiary, the Mozilla Corporation. |
mozilla.org/firefox |
| Firma4NG |
firma4ng is a professional digital signature application, compatible with Windows, Linux and Mac OS X operating systems. |
infocamere.it |
| ImageMagick |
ImageMagick is a free and open-source cross-platform software suite for displaying, creating, converting, modifying, and editing raster images. |
imagemagick.org |
| IrfanView |
IrfanView is a fast and compact image viewer for Windows. |
irfanview.com |
| NAPS2 |
NAPS2 is free and open source scanning software for Windows, Mac and Linux. |
naps2.com |
| Notepad++ |
Notepad++ is a text and source code editor for use with Microsoft Windows. It supports tabbed editing, which allows working with multiple open files in one window. |
notepad-plus-plus.org |
| PowerShell (stable and LTS) |
PowerShell is a cross-platform task automation solution made up of a command-line shell, a scripting language, and a configuration management framework. |
github.com/PowerShell |
| PuTTY |
PuTTY is a free and open-source terminal emulator, serial console and network file transfer application. |
chiark.greenend.org.uk/~sgtatham |
| Win32 Content Prep Tool |
Microsoft Win32 Content Prep Tool converts application installation files into the .intunewin format. |
github.com/microsoft |
| XML Notepad |
XML Notepad is an open-source XML editor written by Chris Lovett and published by Microsoft. |
microsoft.github.io/XmlNotepad |
Daily checks run via GitHub Actions in a single job. A failing source does not stop the other checks: the versions found are still committed and the run is marked as failed at the end.
Requirements
Install the dependencies with:
pip install -r requirements.txt
Environment variables
The script sends notifications using a Telegram bot. Before running them define:
TGRAMTOKEN – Telegram bot token
TGRAMCHATID – ID of the chat or channel that receives the messages
Some update sources use outdated HTTPS certificates, so SSL verification is temporarily disabled when downloading the data (for example this happens with FileZilla). When a software version cannot be determined, the check is skipped and the file under updates/ is left unchanged.
Manual execution
Run every check, or only the ones named on the command line (case-insensitive):
python check.py
python check.py firefox "firefox esr"
If a new version is found the file in the updates/ folder is updated and a message is sent on Telegram.
Tests
Unit tests based on unittest are available. Run them with:
python -m unittest
Contributing
- Open an issue using the New Software Check template if you want to request the monitoring of new software.
- Fork the project and open a pull request with your changes.
- Make sure all tests pass before submitting the PR.
License
This project is released under the MIT license.
Versione italiana
SWUpdates-Alert automatizza il controllo delle versioni di diversi software e invia una notifica su Telegram quando viene pubblicato un nuovo rilascio. Un unico script, check.py, monitora tutte le applicazioni e mantiene aggiornato il file corrispondente all'interno della cartella updates/.
Segui il canale Telegram: https://t.me/SWUpdate
Per maggiori dettagli sul progetto puoi leggere l'articolo dedicato su Gioxx's Wall: https://gioxx.org/2022/09/19/swupdates-alert-rimani-aggiornato-sul-rilascio-delle-applicazioni/
Software monitorato
| Nome dell'applicazione |
Descrizione |
Sito web |
| 7-Zip |
7-Zip è un archiviatore di file gratuito e open-source. |
7-zip.org |
| FileZilla |
FileZilla è un'applicazione FTP multipiattaforma, gratuita e open-source. |
filezilla-project.org |
| Firefox (stable and ESR) |
Mozilla Firefox, o semplicemente Firefox, è un browser web gratuito e open-source sviluppato dalla Mozilla Foundation e dalla sua filiale, la Mozilla Corporation. |
mozilla.org/firefox |
| Firma4NG |
firma4ng è un’applicazione professionale di firma digitale, compatibile con i sistemi operativi Windows, Linux e Mac OS X. |
infocamere.it |
| ImageMagick |
ImageMagick è una suite software multipiattaforma gratuita e open-source per la visualizzazione, la creazione, la conversione, la modifica e l'editing di immagini raster. |
imagemagick.org |
| IrfanView |
IrfanView è un visualizzatore di immagini veloce e compatto per Windows. |
irfanview.com |
| NAPS2 |
NAPS2 è un software di scansione gratuito e open source per Windows, Mac e Linux. |
naps2.com |
| Notepad++ |
Notepad++ è un editor di testo e codice sorgente da utilizzare con Microsoft Windows. Supporta l'editing a schede, che consente di lavorare con più file aperti in un'unica finestra. |
notepad-plus-plus.org |
| PowerShell (stable e LTS) |
PowerShell è una soluzione multipiattaforma per l'automazione delle attività, composta da una shell a riga di comando, un linguaggio di scripting e un framework di gestione della configurazione. |
github.com/PowerShell |
| PuTTY |
PuTTY è un emulatore di terminale, una console seriale e un'applicazione per il trasferimento di file in rete gratuita e open-source. |
chiark.greenend.org.uk/~sgtatham |
| Win32 Content Prep Tool |
Microsoft Win32 Content Prep Tool converte i file di installazione delle applicazioni nel formato .intunewin. |
github.com/microsoft |
| XML Notepad |
XML Notepad è un editor XML open-source scritto da Chris Lovett e pubblicato da Microsoft. |
microsoft.github.io/XmlNotepad |
L'esecuzione quotidiana avviene tramite GitHub Actions in un unico job. Una fonte che non risponde non blocca gli altri controlli: le versioni trovate vengono comunque salvate e la run viene segnata come fallita alla fine.
Requisiti
Installa le dipendenze con:
pip install -r requirements.txt
Variabili d'ambiente
Lo script invia notifiche tramite un bot Telegram. Prima dell'esecuzione definisci:
TGRAMTOKEN – token del bot Telegram
TGRAMCHATID – ID della chat o del canale destinatario
Alcune fonti di aggiornamento utilizzano certificati HTTPS obsoleti: in questi casi la verifica SSL viene disattivata temporaneamente per consentire il download dei dati (ad esempio accade con FileZilla).
Quando non è possibile determinare la versione di un software, il controllo viene saltato e il file in updates/ rimane invariato.
Esecuzione manuale
Esegui tutti i controlli, oppure solo quelli indicati da riga di comando (senza distinzione tra maiuscole e minuscole):
python check.py
python check.py firefox "firefox esr"
Se viene rilevata una nuova versione il file nella cartella updates/ viene aggiornato e un messaggio viene inviato su Telegram.
Test
Sono presenti test unitari basati su unittest. Per eseguirli:
python -m unittest
Come contribuire
- Apri una issue utilizzando il template New Software Check se desideri proporre il monitoraggio di un nuovo software.
- Effettua una fork del progetto e apri una pull request con le tue modifiche.
- Assicurati che i test passino prima di inviare la PR.
Licenza
Questo progetto è distribuito sotto licenza MIT.