ControlHub is a SaaS platform for centralized management of multiple computers using customizable Python scripts.
- Web Application — SvelteKit frontend → control-hub.org
- PocketBase Backend — Extended PocketBase (Go)
- Client Program — Python-based installer for each computer
- Python Library — Python library to control Windows PCs
I've already written most usefull scripts like Turn On
, Turn Off
, Run program
etc.
So you do not need to write scripts from 0, you already have most needed
Note
Turn On
script is working using WOL technology, so select 1 active computer from region, add offline computers in selected and run script, offline computers will turn on. Also might not work if WOL is not enabled.
Script will ask you to insert some value in {{VAR}}
field, so for example is printing script:
print("{{TEXT}}")
And if in TEXT
input field I'll insert Hello World
, then I'll get:
print("Hello world")
It manualy changes code on every execution. And if you will write {{TEXT or Hi}}
, then in TEXT
input field Hi
will be set by default.
As option watch this playlist on russian
- Go to control-hub.org
- Register a new account (Google login supported)
- Create a new team (e.g.
My School
orJohn's Team
) - Create a region (e.g.
Room 47
,Lab
,Office
) - Create a computer (name it as you wish)
- Download the latest version of the client program
- Install it on the computer you want to connect
- When asked for an access token:
- Go to the Tokens section
- Find and copy the token for your computer
- Go to your region and execute the
lixelv/Спать
script - After ~1 second, a message will confirm successful execution
- Open your team → go to the Links tab
- Create a new link with required permissions (e.g.
edit_computer
to allow running scripts) - Send this link to the person you want to invite
Caution
Access and team permissions are very dangerous, becouse they allow user to see links, manage access and other admin stuff.
- Go to the Computers dashboard
- Click on the desired computer to view its execution history
- Go to your team → open the Members tab
- Click the
...
menu for a user → select Browse actions
- Go to the Scripts section in the sidebar
- Create a new script (you can make it public or keep it private)
- Write your Python code and save it
- Test it by executing it on any computer in your team
This project is licensed under the MIT License.