Skip to content

This programm serves the purpose to notify the user when the programm called "UniFab" gets an update. The message will be delievered via a discord webhookurl which can be set in the main.py

Notifications You must be signed in to change notification settings

clientinfo/UniFab-Update-Notificator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UniFab Changelog Watcher

Overview

The UniFab Changelog Watcher is a Python-based tool designed to watch UniFab for updates, parse the changelogs and send them to a Discord webhook.

Installation

  1. Clone the repository:

    git clone https://github.com/clientinfo/unifab-changelog-watcher.git
    cd unifab-changelog-watcher
  2. Install dependencies:

    pip install -r requirements.txt

Usage

  1. Configure the script:

    • Update the URL and WEBHOOK_URL variables in changelog_watcher.py with the actual URLs.
  2. Run the script (Note: to close the program press ctrl + c):

    python main.py

Modules

changelog_watcher

This module implements the UniFabChangelogWatcher class, which monitors the update page of UniFab, parses the update changelog and sends the data to a Discord webhook.

discord_notifier

This Module has the class DiscordNotifier which formats and sends the data to a specified Discord channel.

changelog_parser

This module handles fetching, parsing, saving, and loading changelog data from HTML and JSON files. The ChangelogParser class uses requests for fetching HTML content and BeautifulSoup for parsing it.

console_color

This module defines the Color class that provides ANSI escape sequences for color formatting in terminal outputs.

Screenshots

Discord embed of the changelog:

img.png

Screenshot of the running python app

img.png

About

This programm serves the purpose to notify the user when the programm called "UniFab" gets an update. The message will be delievered via a discord webhookurl which can be set in the main.py

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages