This is a Flask app for managing your apps on your Tronbyt (flashed Tidbyt). This project is designed to run your Tronbyt/Tidbyt completely locally without relying on the backend servers operated by Tidbyt.
If you've been invited to use my public instance of this server login there and skip to the quickstart guide.
- Docker
- Docker Compose
-
Clone the repository:
git clone https://github.com/tavdog/tronbyt-server.git cd tronbyt-server
-
Copy the example environment file and modify it as needed:
cp .env.example .env
-
Set the
DOMAIN
value in the.env
file if not running locally. IP addresses will work too.
-
Build and start the Docker containers:
docker-compose up -d
-
Access the web app at http://localhost:8000 (or your configured domain or IP) with the default login credentials:
- Username:
admin
- Password:
password
- Username:
- Access the web app at http://localhost:8000 (or your configured domain) with the default login credentials:
admin/password
. - Add your Tronbyt as a device in the manager. The default installation will already have a device named "Tronbyt 1".
- Click on the "Firmware" button and enter your WiFi credentials. The image URL should be prefilled.
- Click "Generate Firmware" and download your firmware file.
- Download the ESPHome firmware flasher from this link and use it to flash your Tidbyt into a Tronbyt.
- Add an app and configure it via the built-in Pixlet interface.
- Click "Save" and you'll see the app preview on the app listing page.
- The web app is exposed on port
8000
. - Additional ports
5100
and5101
are also exposed.
- Username:
admin
- Password:
password
- Ensure that the
DOMAIN
value is set in the.env
file if you are not running the application locally. An IP address will also work here. - Do not try to run this server over HTTPS. It requires a pixlet serve subprocess to configure the apps and it only works over http and you can't jump from https to http in most browsers.