No description
Find a file
2025-11-20 00:19:36 +01:00
assets sloppy ora esatta 2025-09-25 20:41:29 +02:00
migrations build setup 2025-09-20 22:37:14 +02:00
src Run the bot with Docker 2025-11-20 00:12:02 +01:00
.env.example Run the bot with Docker 2025-11-20 00:12:02 +01:00
.gitignore Run the bot with Docker 2025-11-20 00:12:02 +01:00
Cargo.lock build setup 2025-09-20 22:46:11 +02:00
Cargo.toml build setup 2025-09-20 22:46:11 +02:00
docker-compose.yml Run the bot with Docker 2025-11-20 00:12:02 +01:00
Dockerfile Run the bot with Docker 2025-11-20 00:12:02 +01:00
README.org Run the bot with Docker 2025-11-20 00:12:02 +01:00

Telegram Helper Bot

A telegram bot made manage a meme page on telegram. It is written in Rust, and it runs on Taurine and Caffeine, I try to avoid external dependencies where possible.

How to run the bot

You will be required to set up a couple environmental variables.

KEY DEF VALUE
TELOXIDE_TOKEN Nil
SQLITE_DB_PATH Nil

FAQ

q: If you dislike dependencies then why did you use Chrono!!!

a: It's basically the default crate for DateTime, and managing all that by myself would be hell

q: Why did you write this in rust?

a: The previous version of this bot was written in TS, and, honestly speaking, It was fine, but even typescript doesn't give you enough security that everything will work properly, so I switched to a different language, also, it's blazi-.

Docker

To run the bot using Docker, ensure you have Docker and Docker Compose installed.

  1. Copy `.env.example` to `.env` and fill in the required environment variables.
  2. Run the following command:
docker compose up -d --build