DEV Community

Cover image for How I run code on twitter
Prasant
Prasant

Posted on

How I run code on twitter

Ever ran code right on twitter? No, right? Now you can! 😎
Imagine writing code in twitter and someone runs the code for you and reply with output. No, it's not possible that a human will reply you with the output every time. 😅

Here my twitter bot @coderunnerbot comes handy. It will reply you with the output of your code every time you mention it in your tweet containing the code and use the command run.

Still not sure how to use it? Here is how

Just mention @coderunnerbot in your tweet followed by the command run followed by the code you want to run in markdown format. @coderunnerbot will reply you with the output of your code.

Example:
Code run example

What else can coderunner bot do?

It can also render your html, css, js code
Mention @coderunnerbot in your tweet followed by the command render followed by the code you want to render in markdown format.

Example:
Code Render example

Rendered page

Still confused? Here is the guide on how to use the bot.

Thanks for reading!

Latest comments (2)

Collapse
 
rajnishanand profile image
Rajnish Anand

Nice Work 😌

Collapse
 
prasant profile image
Prasant

Thanks 😊