Skip to content

A Telegram bot to automate some stuff for personal use written in Python with Pyrogram

License

Notifications You must be signed in to change notification settings

MrCapsLock/personal-bot

 
 

Repository files navigation

personal-bot

https://github.com/DearRude/personal-bot/actions/workflows/docker.yml/badge.svg https://img.shields.io/github/license/dearrude/personal-bot.svg https://img.shields.io/github/last-commit/dearrude/personal-bot.svg

Description

Perosnal-bot is a Telegram user emulation in order to do repetitive tasks. By pyrogram, telegram-bot is able to register as a Telegram client.

Setup

From source

Have python 3.10 and poetry installed on your system.

Make a config file and fill the specified units.

$ cp .env.sample .env
$ $EDITOR .env

Install and run using poetry.

$ poetry install --no-dev
$ poetry run python3 personal-bot/main.py

Docker

Have docker and docker-compose installed on your system.

Make a config file and fill the specified units.

$ cp .env.sample .env
$ $EDITOR .env

Development

$ docker-compose -f docker-compose.dev.yml run --rm bot bash

Production

Checkout the respective tag on dockerhub.

$ docker-compose up -d

Licence

AGPLv3+

About

A Telegram bot to automate some stuff for personal use written in Python with Pyrogram

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 92.9%
  • Dockerfile 5.7%
  • Makefile 1.4%