Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 6 days 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 (8 months ago)
- Default Branch: main
- Last Pushed: 2024-09-08T22:22:29.000Z (2 months ago)
- Last Synced: 2024-09-08T23:30:38.443Z (2 months ago)
- Topics: cryptography, fernet, telegram, webcam
- Language: Python
- Homepage:
- Size: 25.4 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
[![Python](https://img.shields.io/badge/Python-FFD43B?style=for-the-badge&logo=python&logoColor=blue)](https://python.org)
[![Telegram](https://img.shields.io/badge/Telegram-26A5E4?style=for-the-badge&logo=telegram&logoColor=white)](https://telegram.org)
[![LICENSE](https://img.shields.io/badge/LICENSE-APACHE--2.0-GREEN?style=for-the-badge)](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).
First create **.env**
```bash
cp .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.
Then run
```bash
python3 -m venv venv
venv/bin/python3 -m pip install --upgrade pip
venv/bin/python3 -m pip install -r requirements.txt
```## Usage
```bash
venv/bin/python3 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.