https://github.com/elliotwutingfeng/secret_broadcast
Send encrypted webcam snapshots over Telegram to specific users.
https://github.com/elliotwutingfeng/secret_broadcast
cryptography fernet telegram webcam
Last synced: 8 months ago
JSON representation
Send encrypted webcam snapshots over Telegram to specific users.
- Host: GitHub
- URL: https://github.com/elliotwutingfeng/secret_broadcast
- Owner: elliotwutingfeng
- License: apache-2.0
- Created: 2024-03-20T06:46:59.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-10-01T21:47:12.000Z (9 months ago)
- Last Synced: 2025-10-01T23:31:12.247Z (9 months ago)
- Topics: cryptography, fernet, telegram, webcam
- Language: Python
- Homepage:
- Size: 51.8 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# secret_broadcast
[](https://python.org)
[](https://telegram.org)
[](LICENSE)
Send encrypted webcam snapshots over Telegram to specific users.
## Setup
You will need a webcam that can be accessed via [OpenCV](https://pypi.org/project/opencv-python).
You will also need [uv](https://docs.astral.sh/uv/guides/install-python).
First create **.env**
```bash
cp --update=none .env-dev .env
```
Fill up **.env** with the relevant data; you will need your [Telegram bot API token](https://core.telegram.org/bots/api), a list of Telegram user Chat IDs (obtainable by first manually sending messages to your bot from each user, and then running `bot_get_updates(token)`), and a strong password for your encrypted images. The contents of **.env** _must_ be kept secret.
## Usage
```bash
uv run python src/main.py
```
## Is it secret? Is it safe?
No guarantees. If your bot conversation has been leaked, the messages still need to be decrypted individually.