TouchDesigner server for monitoring semantic of private messages from telegram. Semantic is obtained on flask server with neural net.
Add .env
file with your telegram app creadentials
TG_APP_ID=<your_app_id>
TG_APP_HASH=<your_app_hash>
APP_SECRET=<your_secret>
DEBUG=0
Set DEBUG=1
to include senders name and message text in data.
Add SemanticServer.tox to you td project. Set url in its parameters to your server url.
From app folder
python tgclient_cli.py
From app folder
docker compose up -d --build
Add SemanticClient.tox to you td project. Set url in its parameters to your server url.
Open your_server_addr:8001 in browser and login into your account