DEV Community

Cover image for How I run code on twitter
Prasant
Prasant

Posted on

5 2

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!

Image of Datadog

Create and maintain end-to-end frontend tests

Learn best practices on creating frontend tests, testing on-premise apps, integrating tests into your CI/CD pipeline, and using Datadog’s testing tunnel.

Download The Guide

Top comments (2)

Collapse
 
rajnishanand profile image
Rajnish Anand β€’

Nice Work 😌

Collapse
 
prasant profile image
Prasant β€’

Thanks 😊

Image of Datadog

The Essential Toolkit for Front-end Developers

Take a user-centric approach to front-end monitoring that evolves alongside increasingly complex frameworks and single-page applications.

Get The Kit

πŸ‘‹ Kindness is contagious

Please leave a ❀️ or a friendly comment on this post if you found it helpful!

Okay