Skip to content

Latest commit

 

History

History
48 lines (38 loc) · 1.12 KB

README.org

File metadata and controls

48 lines (38 loc) · 1.12 KB

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+