Telegram bot help you to run Rust code in Telegram via Rust playground

Overview

RPG_BOT (Rust Playground Bot)

LICENSE

Telegram bot help you to run Rust code in Telegram via Rust playground

Bot interface

The bot supports 3 straightforward commands:

  • /help <command (default: all)> โ€” help message for all or specified command.

  • /run <version (default: stable)> <mode (default: debug)> <edition (default: 2021)> โ€” use this command with reply to code you want to execute it.

  • /share <version (default: stable)> <mode (default: debug)> <edition (default: 2021)> โ€” use this command with reply to code you want to share it.

Building

You must put the bot token in the environment file before building for it to be included

With Docker

git clone https://github.com/TheAwiteb/rpg_bot
cd rpg_bot
sudo docker build . -t rpg_bot

With Cargo

git clone https://github.com/TheAwiteb/rpg_bot
cd rpg_bot
cargo build --release

Running

With Docker

sudo docker run -ti --rm rpg_bot 

With Cargo

cargo run --release

Images

Help Message

help_message

Run Command

run_command

Share Command

share_command

License

RPG_BOT is under the MIT license. See the LICENSE file for details.

You might also like...
Telegram Bot Template with Cloudflare Workers

cf-workers-telegram-bot-template Usage This template starts you off with a src/lib.rs file, acting as an entrypoint for requests hitting your Worker.

Telegram bot that zhuzh Twitter content
Telegram bot that zhuzh Twitter content

@twt_2_tg_bot Telegram bot that zhuzh shared Twitter content Text converter Some tweets may contain line breaks or even dialogs. Such tweets are barel

Uradhura is a telegram bot that fetches information and media from reddit
Uradhura is a telegram bot that fetches information and media from reddit

Pathetic little Telegram bot that fetches information from Reddit posts(with gif, image(post with single image) and video)

A Telegram bot to watch animes

AmimeWatch A Telegram bot to watch animes. Re-written version of AmimeWatch in Rust. Preparing Configuration Create a file named config.toml and fill

An out-of-box ChatGPT bot for Telegram.
An out-of-box ChatGPT bot for Telegram.

TeleGPT API Docs | Releases | Twitter An out-of-box ChatGPT bot for Telegram. TeleGPT is a Telegram bot based on teloxide framework and async_openai.

An out-of-box ChatGPT bot for Telegram.
An out-of-box ChatGPT bot for Telegram.

TeleGPT API Docs | Releases | Twitter An out-of-box ChatGPT bot for Telegram. TeleGPT is a Telegram bot based on teloxide framework and async_openai.

A Telegram ChatGPT bot
A Telegram ChatGPT bot

A customizable Telegram bot with a ChatGPT (or GPT4, bring your own API key) backend. You can configure the botโ€™s context and prompt in template settings.

A simple telegram bot to get the tunnel info from ngrok.
A simple telegram bot to get the tunnel info from ngrok.

Telegram Ngrok Bot A simple bot to fetch the running tunnels from ngrok api. Prerequisits Ngrok agent should be running. Configuration Ngrok config ve

A discord bot that safely executes whatever rust you throw at it. Remote code execution as a service
A discord bot that safely executes whatever rust you throw at it. Remote code execution as a service

RustBot Bot is still under development and not ready for production use RustBot is a discord bot that executes whatever rust code you throw at it. In

Comments
  • New version `v1.0.0-beta.0` ๐Ÿ”ฅ

    New version `v1.0.0-beta.0` ๐Ÿ”ฅ

    v1.0.0-beta.0

    Big version powered by Coffey โ˜•

    Note: Everything in 1.0.0-beta.0 and above is under AGPLv3 license, Also the modifications before this commit (because it is in this version)

    New

    • Re-license from MIT to AGPLv3
    • Database (ORM)
    • Keyboard
    • Docker
    • delay, attempts, get source by code And more ...
    opened by TheAwiteb 0
  • Database

    Database

    Adding a database to save the codes and the number of times the bot was used by users to put an end to each user, diesel was used to design the database

    opened by TheAwiteb 0
Releases(v1.0.0)
  • v1.0.0(Mar 11, 2022)

    What's Changed

    • ๐Ÿงน Improve Rust code by @TheAwiteb in https://github.com/TheAwiteb/rpg_bot/pull/6
    • fix #7
    • Code optimization by @TheAwiteb in https://github.com/TheAwiteb/rpg_bot/pull/8

    Full Changelog: https://github.com/TheAwiteb/rpg_bot/compare/v1.0.0-beta.1...v1.0.0

    Source code(tar.gz)
    Source code(zip)
  • v1.0.0-beta.1(Mar 8, 2022)

    What's Changed

    • Translations ๐Ÿ”ค by @TheAwiteb in https://github.com/TheAwiteb/rpg_bot/pull/4
    • New version v1.0.0-beta.1 ๐Ÿ”ฅ by @TheAwiteb in https://github.com/TheAwiteb/rpg_bot/pull/5

    Full Changelog: https://github.com/TheAwiteb/rpg_bot/compare/v1.0.0-beta.0...v1.0.0-beta.1

    Source code(tar.gz)
    Source code(zip)
  • v1.0.0-beta.0(Mar 2, 2022)

    What's Changed

    • Inline Keyboards by @TheAwiteb in https://github.com/TheAwiteb/rpg_bot/pull/1
    • Database by @TheAwiteb in https://github.com/TheAwiteb/rpg_bot/pull/2
    • New version v1.0.0-beta.0 ๐Ÿ”ฅ by @TheAwiteb in https://github.com/TheAwiteb/rpg_bot/pull/3

    Full Changelog: https://github.com/TheAwiteb/rpg_bot/compare/v0.1.0...v1.0.0-beta.0

    Source code(tar.gz)
    Source code(zip)
  • v0.1.0(Feb 5, 2022)

Owner
TheAwiteb
Some programmer. vec!['๐Ÿฆ€','๐Ÿ'].
TheAwiteb
A small monitoring process that checks if kstars is active, if not it sends a request to notify a user via telegram that it crashed

Astro monitor A small monitoring process that checks if kstars is active, if not it sends a request to notify a user via telegram that it crashed Inst

Mattia Procopio 2 Jan 10, 2022
Hi I'm Sophy, a discord bot in devlopment, soon I'll be available to help everyone (โยดโ—ก`โ)

Sophy Bot Hi I'm Sophy, a discord bot in devlopment, soon I'll be available to help everyone (โยดโ—ก`โ) Contribution Do you like me and want to help me?

Far Dragi 0 May 30, 2022
A Simple, But amazing telegram bot, Made using the Rust language!

Telegram bot in Rust A fun Telegram bot made using Rust language.

Deep Alchemy 2 Dec 21, 2021
This is a Telegram bot I'm working on in my free time to learn Rust.

Maldness Bot This is a Telegram bot I'm working on in my free time to learn Rust. Building docker build -t . should be enough.

Sergey Kislyakov 10 May 13, 2022
Rust telegram bot library for many runtimes

Telbot Telbot provides telegram bot types and api wrappers. Specifically, telbot now supports: telbot-types: basic telegram types / requests / respons

kiwiyou 17 Dec 3, 2022
Telegram bot for searching in Arch User Repository ( AUR ); Implemented using rust.

AurSearchBot A Telegram Inline Search Bot Written in Rust Introduction Telegram Bot that can search AUR ( Arch User Repository ) in inline mode. This

AlenPaulVarghese 3 Feb 15, 2022
Autogenerated wrapper for the Telegram Bot API written in Rust.

An Elegant Rust Client for Telegram Bot API crates.io โ€ข docs.rs Table of contents Introduction Key Features Installation Getting Started Documentation

FerrisGram 22 Oct 29, 2022
A simple Telegram bot that eats anonymous channel messages, written in Rust.

tgbot-nochanmsg By Asuna Right Control When creating your bot from botfather, it's not bad to disable privacy mode, because it needs to access the mes

h3a.moe 2 Aug 5, 2022
A Telegram bot written in Rust.

Knight-Bot Table of Contents About Support chat Installation Setting up your environment Build manually Commands Commands on TODO list Find this bot A

cyberknight777 25 Apr 27, 2023
This is a simple Telegram bot with interface to Firefly III to process and store simple transactions.

Firefly Telegram Bot Fireflies are free, so beautiful. (Les lucioles sont libres, donc belles.) โ€• Charles de Leusse, Les Contes de la nuit This is a s

null 13 Dec 14, 2022