Skip to content

Telegram bot support#357

Open
testing270505-rgb wants to merge 2 commits into
lossless1024:masterfrom
testing270505-rgb:tg-bot
Open

Telegram bot support#357
testing270505-rgb wants to merge 2 commits into
lossless1024:masterfrom
testing270505-rgb:tg-bot

Conversation

@testing270505-rgb
Copy link
Copy Markdown

Add support for Telegram Bot,
Message when rec starts,stops
and names of models rec in every 1/2 hour (adjustable).

image

How to Get Telegram Bot Token and Chat ID

  • Create a bot: Message @Botfather on Telegram and follow the instructions to create a new bot
  • Get Chat ID: Message your bot anything, then visit https://api.telegram.org/bot<YOUR_BOT_TOKEN>/getUpdates to find your chat ID
  • Put values in parameters.py or in .env

@testing270505-rgb
Copy link
Copy Markdown
Author

I implemented this cause i had StreaMonitor running at my homelab continuously.
And i was kind of paranoid that "Are the stream recording perfectly or not"
I know i can ssh and see but even then i can miss sometime...

In future we can also implement to run commands from telegram bot like add new streamer or starting the stream using commands from bot.

Comment thread .env.example
@Generator
Copy link
Copy Markdown

Generator commented May 23, 2026

Don't add .env to git, or any file that is modified by the user (config.json, .env, stripchat_mouflon_keys.json)
Otherwise will create git conflicts

Instead created of change .env.example

Also why not just use the webui for tracking recording streams

@testing270505-rgb
Copy link
Copy Markdown
Author

Don't add .env to git, or any file that is modified by the user (config.json, .env, stripchat_mouflon_keys.json) Otherwise will create git conflicts

Instead created of change .env.example

Done

Also why not just use the webui for tracking recording streams

cause i can be using network outside my home n/w..
And don't want to ssh everytime or create open port to access..
This is pretty secure and can be added in feature too.

@Generator
Copy link
Copy Markdown

Generator commented May 25, 2026

cause i can be using network outside my home n/w..
And don't want to ssh everytime or create open port to access..
This is pretty secure and can be added in feature too.

That's what tailscale is used for.
No need to open ports, or tunnel ports, only connect all to on tailnet

But this already off topic

@testing270505-rgb
Copy link
Copy Markdown
Author

testing270505-rgb commented May 28, 2026

That's what tailscale is used for. No need to open ports, or tunnel ports, only connect all to on tailnet

But this already off topic

Yeah sure tailscale can be used..
But why not this, the more option the merrier.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants