Giter Site home page Giter Site logo

cedricium / runmycode-ext Goto Github PK

View Code? Open in Web Editor NEW

This project forked from shatgupt/runmycode-ext

0.0 1.0 0.0 179 KB

Browser extension to run code online from sites like Github, Gitlab and more - https://runmycode.online

License: MIT License

JavaScript 78.67% HTML 2.87% CSS 18.46%

runmycode-ext's Introduction

RunMyCode Online Browser Extension

Run code online from sites like Github, Gitlab and more - https://runmycode.online

RunMyCode Online Screen

How to Use

  1. First get an API key by authenticating at RunMyCode Online. To make sure it is working, run a sample code at CodeSheet.
  2. Install the extension: Chrome, Firefox
  3. Copy key from RunMyCode Online dashboard(link needs authentication) and put it in extension's API Key option and save it.
  4. Now you can go to any supported language code page in Github or Gitlab and you will see a Run button added to left of usual action buttons (see screenshot above). For example, you can test the extension at https://github.com/shatgupt/runmycode-test/blob/master/ruby.rb
  5. Clicking that button will open a runner where you can input any command line args and then press the big orange Run button to run the code on the page.
  6. You can also edit the code in Github or Gitlab page and make it run through the same Run button as above.

Supported Websites

  1. Github
  2. Gitlab

Supported Languages

Language is detected based on the file extension. So for executing Python3 code, you will need py3 extension.

  1. Nodejs 6
  2. Python 2
  3. Python 3
  4. Ruby 2.2
  5. PHP 7
  6. Go
  7. Java 1.8 (not enabled in published version)

Supported Browsers

Latest versions of following browsers:

  1. Chrome
  2. Firefox
  3. Opera (Not published on store yet)
  4. Edge (Technically, but currently giving some CSP issues)

Developing the Extension

Building

Build generates manifest.json, creates a directory dist/<browser> and puts all the extension relevant files there.

  • Build for all supported browsers: npm run build
  • Build for a specific browser: npm run build -- chrome|firefox|opera|edge

Credits

Icomoon.io for the icon.

License

MIT

runmycode-ext's People

Contributors

shatgupt avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.