Run code online from sites like Github, Gitlab and more - https://runmycode.online
- First get an API key by authenticating at RunMyCode Online. To make sure it is working, run a sample code at CodeSheet.
- Install the extension: Chrome, Firefox
- Copy key from RunMyCode Online dashboard(link needs authentication) and put it in extension's
API Key
option and save it. - 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 - 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. - You can also edit the code in Github or Gitlab page and make it run through the same
Run
button as above.
- Github
- Gitlab
Language is detected based on the file extension. So for executing Python3 code, you will need py3 extension.
- Nodejs 6
- Python 2
- Python 3
- Ruby 2.2
- PHP 7
- Go
- Java 1.8 (not enabled in published version)
Latest versions of following browsers:
- Chrome
- Firefox
- Opera (Not published on store yet)
- Edge (Technically, but currently giving some CSP issues)
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
Icomoon.io for the icon.