- Node.js >= 4.0.0
- VsCode
- Clone this repository
- Or download the code (zip file)
- After extracting the code files and opening the folder in code editor, run
npm installto install the dependencies
- Go to terminal and start the app using
npm start - Now go to http://localhost:3000/probot and click on
register the app - Follow the instructions and register your github app
- Shut the server and restart again.
- Choose any repository and create a new issue.
- While creating the issue, in comment write this (sample code)
/execute
let firstNumbers = [1, 2, 3];
let secondNumbers = [4, 5, 6];
let merged = firstNumbers.concat(secondNumbers);
console.log(merged);
Language: js
- Open/create the issue and the output of the sample code will be visible in the new comment executed by the bot.
demo.webm
ISC © 2023 iamansingh0