Run code snippets right in your Telegram chat window.
Alice:
/tioruby1 puts "Hi from Ruby :)"
Tino:
Hi from Ruby :)
Real time: 0.131 s
User time: 0.076 s
Sys. time: 0.026 s
CPU share: 77.55 %
Exit code: 0
To host your own instance of tino, you will simply need to:
-
Deploy this one-shot bot in webhook mode on a serverless hosting platform (e.g. Zeabur);
-
Set the
TINO_TELEGRAM_BOT_TOKENenvironment variable to your own token; -
Set the
HOSTenvironment variable to your own webhook<url>(e.g.https://<your-public-domain>.zeabur.appfor Zeabur); -
Register the webhook URL at Telegram by accessing the following link in your browser:
https://api.telegram.org/bot<token>/setWebhook?url=<url>
Footnotes
-
You can replace
rubywith any other language supported by https://tio.run. ↩