Adds a widget to Glance that monitors your private tracker accounts using Glance's custom API.
Included are:
glance.yml – Front-end code to integrate the widget into your Glance setup.
flask-server.py – A simple server to handle requests from the scraper script.
You should be able to spin up the server, and send requests to it via a POST request:
{
"red_ratio": ****,
"red_class": ****,
"red_messages": ****,
"btn_lumens": ****,
"btn_bp": ****,
"btn_hnr": ****
"btn_messages": ****,
"ggn_ratio": ****,
"ggn_gold": ****,
"ggn_messages": ****,
"ptp_bonus": ****,
"ptp_message": ****,
"ptp_ratio": ****
}
For now, this repository focuses on the front end. The backend is currently a rough but functional Python script—I plan to refine and optimize it before making it publicly shareable. :)