No more stupid apps in order to control curtains. Lets get back to the good old days, where we control curtains using simple HTML Websites.
Want to contribute or test locally? It's easy:
- Clone the repo
- Install dependencies and run:
pip install -r data/requirements.txt python -m uvicorn server:app --reload --port 8000
- Open http://127.0.0.1:8000
That's it! No .env file needed - the app automatically uses .env.example which has IS_TEST=true.
When in test mode:
- No Azure AD configuration needed - clicking "Sign in" logs you in as "Developer"
- No real curtain server connection needed - curtain commands are simulated
- All other features work normally (statistics, premium, rooms, etc.)
The UI will show [TEST MODE] in responses so you know commands aren't actually being sent.
- Never commit
.envfile to git (already in.gitignore) - Keep
COOKIES_KEYsecret and unique per deployment - Use HTTPS only in production
- Restrict admin access by configuring
ADMIN_USERScarefully (case-insensitive) - Regular security updates:
sudo apt update && sudo apt upgrade
