Skip to main content

Telegram bot for expanding external media links

Project description

warp_beacon Upload Python Package Docker Image CI

Telegram bot for external social networks media scrapling. Works with links in personal messages and also with group chats.

Just send to bot media link and get video.

All bot configuration stored in variables.env file.

Configuration example

TG_TOKEN="you telegram token received from @BotFather"
INSTAGRAM_LOGIN="instagram login (email or cell phone)"
INSTAGRAM_PASSWORD="instgram password"
INSTAGRAM_VERIFICATION_CODE="instagram 2FA if required, default empty"
MONGODB_HOST="mongodb"
MONGODB_PORT="27017"
MONGODB_USER="root"
MONGODB_PASSWORD="changeme"
VIDEO_STORAGE_DIR="/var/warp_beacon/videos"
WORKERS_POOL_SIZE=3

Deployed example bot

Try it 🚀

How to run

Any Linux machine will suit in.

Install docker and git

apt update
apt install docker-compose git

Download sources

git clone https://github.com/sb0y/warp_beacon.git

Go to sources directory

cd warp_beacon

Run app

docker-compose up -d

Check logs

docker-compose logs warp_beacon -f

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

warp_beacon-1.0.2.tar.gz (23.9 kB view hashes)

Uploaded Source

Built Distribution

warp_beacon-1.0.2-py3-none-any.whl (25.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page