mirror of
https://github.com/UNITRONIX/BetterDesk.git
synced 2026-09-10 01:27:11 +00:00
f358a229752b5ca175448dd326e6643dce36f702
Rustdesk FreeConsole
Project Description
Rustdesk FreeConsole is a web panel for viewing and managing data from an SQLite database (db_v2.sqlite3). The interface is built using the NiceGUI framework and provides:
- Viewing records from the
peertable in the database - Dynamic table refresh every 0.5 seconds
- Status coloring and expandable record details
- Record editing (edit button prepared for further development)
Required Python Modules
To run the application, you need to install the following modules:
niceguisqlite3(built into Python)
Install dependencies:
pip install nicegui
Running the Application
- Place the
main.pyfile in the/opt/rustdeskdirectory on your Linux server. - Make sure you have Python 3.8+ and the required modules installed.
- Start the application with the command:
python3 /opt/rustdesk/main.py
The application starts by default on port 9000.
systemd Service Configuration (Linux)
To run the application as a system service with administrator privileges:
- Create the service file
/etc/systemd/system/rustdesk-freeconsole.servicewith the following content:
[Unit]
Description=Rustdesk FreeConsole Web Panel
After=network.target
[Service]
Type=simple
User=root
WorkingDirectory=/opt/rustdesk
ExecStart=/usr/bin/python3 /opt/rustdesk/main.py
Restart=always
[Install]
WantedBy=multi-user.target
- Reload systemd and start the service:
sudo systemctl daemon-reload
sudo systemctl enable rustdesk-freeconsole
sudo systemctl start rustdesk-freeconsole
- Check the service status:
sudo systemctl status rustdesk-freeconsole
Note:
- The script should be located in the
/opt/rustdeskdirectory. - The service runs with administrator privileges (
User=root). - Make sure port 9000 is open in your firewall.
Author
UNITRONIX (Krzysztof Nienartowicz) Project: Rustdesk FreeConsole
Languages
JavaScript
52.9%
Go
19.6%
CSS
7.5%
HTML
6%
Shell
4.8%
Other
9.1%
