/Enigma

A Github App that executes and comments the code present in the Pull Request's diff .

Primary LanguageJavaScriptISC LicenseISC

Enigma

Enigma Code Bot

"Supercharge your code review process with our GitHub app. Automate code execution in pull requests, ensuring faster feedback and improved collaboration. Seamlessly integrate with GitHub's API and leverage Judge0 API for effortless code execution. Detect and resolve issues early on with automated testing and instant output comments. Boost productivity and code correctness with advanced features and streamlined workflows. Elevate the quality of your code contributions today."

Demo Link

Getting Started

To get started with this project, follow the steps below:

Prerequisites

  • Node.js (v14 or higher)
  • NPM (Node Package Manager)

Installation

  • Clone the repository from GitHub:
  git clone https://github.com/Arbtrage/Enigma.git
  • Change to the project directory:
  cd Enigma
  • Run the App
# Install dependencies
npm install

# Run the bot
npm start

Setup the .env file according to the instructions provided by probot

Screenshots

  • When there is no 'Run' in the PR head image

  • When the PR body is not specified image

  • When language is not found image

  • On successful execution
    image

Features

  • Automated code execution in pull requests
  • Seamless integration with GitHub API
  • Utilizes Judge0 API for code execution
  • Instant output comments for quick feedback
  • Automated testing to detect and resolve issues early on
  • Boosts productivity and collaboration in code review process
  • Streamlined workflows for efficient code review
  • Advanced features for enhanced code correctness
  • Elevates the quality of code contributions

Tech Stack:

  • NodeJS,
  • Probot,
  • Github REST API,
  • Judge0 API,
  • Rapid API.

Contributing

If you have suggestions for how enigma could be improved, or want to report a bug, open an issue! We'd love all and any contributions.

For more, check out the Contributing Guide.

License

ISC © 2023 Sayantan