Homer Config Manager v2.1 (Web UI)
351
A lightweight, web-based Python tool for comfortably managing your Homer dashboard configuration.
Instead of manually editing YAML files, this tool provides a sleek, dark-themed Web Interface (GUI) to add, delete, and reorder services within your config.yml quickly and without formatting errors.
config.yml instantly with a single click using the integrated trash icon and a safety confirmation prompt.serviceconfig.py) and a HTML template (templates/index.html) for professional code maintainability.fas fa-cat) using a dynamically expanding text field.config.yml path.Ensure your project folder is set up like this:
/homerconfig/
├── serviceconfig.py
└── templates/
└── index.html
The script requires Python 3 as well as the YAML and Flask modules.
For Debian / Ubuntu / DietPi:
sudo apt update
sudo apt install python3-yaml python3-flask -y
Alternative via pip (for other systems):
pip3 install pyyaml flask
templates/index.html file is inside the templates subfolder.python3 serviceconfig.py
nohup or screen):
nohup python3 serviceconfig.py &
5000).http://<YOUR-SERVER-IP>:5000
config.yml instantly!You can change the default path to your config.yml directly within the script so you don't have to type it out every time.
Open serviceconfig.py and modify this line at the top:
DEFAULT_PATH = '/path/to/your/homer/assets/config.yml'
The easiest and cleanest way to run the Homer Config Manager is using our official Docker image. It ensures the script starts automatically with your server and runs completely isolated.
1. Create a docker-compose.yml
Create a docker-compose.yml in an empty folder. Important: Adjust the left side of the volume mapping to point to your actual Homer assets folder!
services:
homer-config-manager:
image: paquele/homerconfig:latest
container_name: homer-config-manager
restart: unless-stopped
ports:
- "5000:5000"
volumes:
# CHANGE THIS: Replace the left path with your actual Homer assets directory!
# Do NOT change the right path (/app/assets).
- /path/to/your/homer/assets:/app/assets
2. Start the Container Run the following command in your terminal to pull the image and start the container:
docker compose up -d
The Config Manager is now available at http://<YOUR-SERVER-IP>:5000.
Ein leichtgewichtiges, webbasiertes Python-Tool zur komfortablen Verwaltung deines Homer Dashboards.
Anstatt YAML-Dateien händisch zu bearbeiten, bietet dieses Tool ein schickes, dunkles Web-Interface, um neue Services blitzschnell einzutragen, zu löschen oder die Reihenfolge direkt in deiner config.yml zu ändern.
config.yml (inklusive Sicherheitsabfrage).serviceconfig.py) und ein HTML-Template (templates/index.html) für professionelle Wartbarkeit des Codes.fas fa-cat) über ein dynamisch aufklappendes Textfeld einzugeben.config.yml verloren geht.Achte darauf, dass deine Ordnerstruktur auf dem Server wie folgt aussieht:
/homerconfig/
├── serviceconfig.py
└── templates/
└── index.html
Das Skript benötigt Python 3 sowie die Module für YAML und Flask.
Für Debian / Ubuntu / DietPi:
sudo apt update
sudo apt install python3-yaml python3-flask -y
index.html im Unterordner templates befindet.python3 serviceconfig.py
nohup oder screen):
nohup python3 serviceconfig.py &
5000).http://<DEINE-SERVER-IP>:5000
config.yml sofort!Du kannst den Standardpfad zu deiner config.yml direkt im Skript anpassen, damit du ihn im Web-Interface nicht jedes Mal neu eintippen musst.
Öffne die serviceconfig.py und ändere diese Zeile ganz oben:
DEFAULT_PATH = '/pfad/zu/deinem/homer/assets/config.yml'
Der einfachste und sauberste Weg, den Homer Config Manager auszuführen, ist über unser offizielles Docker-Image. So startet das Tool bei jedem Server-Neustart automatisch und läuft komplett isoliert.
1. docker-compose.yml erstellen
Erstelle eine docker-compose.yml in einem leeren Ordner. Wichtig: Passe die linke Seite des Volume-Mappings an deinen echten Homer-Assets-Ordner an!
version: '3.8'
services:
homer-config-manager:
image: paquele/homerconfig:latest
container_name: homer-config-manager
restart: unless-stopped
ports:
- "5000:5000"
volumes:
# HIER ANPASSEN: Ersetze den linken Pfad mit deinem echten Homer-Assets-Ordner!
# Der rechte Pfad (/app/assets) darf NICHT verändert werden.
- /pfad/zu/deinem/homer/assets:/app/assets
2. Container starten Führe diesen Befehl in deinem Terminal aus, um das Image herunterzuladen und zu starten:
docker compose up -d
Der Config Manager ist nun unter http://<DEINE-SERVER-IP>:5000 erreichbar.
This tool is designed to help manage and update the Homer service configuration file. It automates the process of adding new services to the Homer dashboard.
PyYAML library, necessary for the script. Use the following command:pip install pyyaml
Before running the script, make sure to update the config_file_path variable in serviceconfig.py to point to your actual Homer configuration file. Replace 'path/to/your/homer/config.yml' with the correct path.
It's advised to back up your existing Homer configuration file before running this script to prevent any accidental loss of data. Create a backup of your configuration file using this command:
cp path/to/your/homer/config.yml path/to/your/homer/config.yml.bkup
serviceconfig.py in a convenient location on your computer.serviceconfig.py is located.python3 serviceconfig.py
When running serviceconfig.py, you will be prompted to enter:
The script will update your Homer service configuration file with the provided details.
Content type
Image
Digest
sha256:e6106dffc…
Size
49.7 MB
Last updated
5 months ago
docker pull paquele/homerconfig