Skip to content

Run your R calculations without leaving Telegram ๐Ÿ˜ƒ

License

Notifications You must be signed in to change notification settings

fromgodd/RCompilerBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

4 Commits
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

RCompilerBot

Run your R calculations without leaving Telegram ๐Ÿ˜ƒ

๐Ÿ”— Link - https://t.me/rcompilerbot

What can this bot do?

โ˜‘๏ธUsage: Start bot and send him any R script. Example: print("hi")
๐ŸžNo image/plot support. Calculations only!
๐Ÿ› Bot is on Alpha stage
๐Ÿ‘จโ€๐Ÿ’ปContact admin: @Said_Alphv

image

How bot works

Generally, infrastructure is not complexed. When you send code to bot, it does preprocess to raw text and sends output to temp .R file that is created inside /tmp/. For each user unique temporary folder generated with built-in encryption. Example is User A executes script -> new temp.R created in /tmp/abcde123, but for User B temp.R will be created in /tmp/defgh345 as an example. Execution is working based on subprocess module and spawning R language interpreter from system and specifying temp.R as argument. Everything works under Docker container in safe environment, bot has built-in loop protection but I am working on fixing detailed safety issues and would appreciate any kind of pull requests with bugs and etc.

About

Run your R calculations without leaving Telegram ๐Ÿ˜ƒ

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published