mirror of
https://github.com/cedev-1/Widget-Homarr-MySpeed.git
synced 2026-09-16 18:02:05 +00:00
Widget for MySpeed on Homarr
https://homarr.dev/
- HTML 85.1%
- Python 13.6%
- Dockerfile 1.3%
| exemple | ||
| templates | ||
| .gitattributes | ||
| app.py | ||
| Dockerfile | ||
| README.md | ||
Myspeed Dashboard Widget
This project creates a widget that displays network performance metrics (Ping, Download, Upload) based on data from a Myspeed instance. You can choose between two display formats: Large or Medium.
Prerequisites
- Myspeed must be installed and accessible. You need the API URL (e.g.,
http://URL/api/speedtests?hours=24). - Docker must be installed on your system. Docker Installation Guide.
Installation
-
Clone this repository to your local machine:
git clone https://github.com/cedev-1/Widget-Homarr-MySpeed cd Widget-Homarr-MySpeed -
Build the Docker image using the Dockerfile:
docker build -t myspeed-widget .
Configuration
Before starting the project, you need to configure the following:
API URL for Myspeed
Edit the app.py file to specify your Myspeed API URL:
url = "http://<MYSPEED_IP>:5216/api/speedtests?hours=24"
Choose Display Format By default, the app.py file uses large.html. You can switch to medium.html by editing the template rendering
Running the Project
Start the Docker container:
docker run -d -p 8765:8765 myspeed-widget
Open your browser and navigate to: http://localhost:8765
Deploy
On Homarr add Ifram widget et add your url like http://localhost:8765
