Page 1 of 1

RunJS - the JavaScript playground for your desktop

Posted: Sun Oct 02, 2022 7:14 pm
by puppy_apprentice

Explore and experiment with JavaScript and TypeScript, visualise your ideas and get instant feedback as you type.
https://runjs.app/

runjs.jpg
runjs.jpg (21.72 KiB) Viewed 1169 times

Re: RunJS - the JavaScript playground for your desktop

Posted: Sun Oct 02, 2022 7:53 pm
by rockedge

This looks interesting for testing code

needed to add run-as-spot to the runjs.desktop file for RunJS to start!

Code: Select all

[Desktop Entry]
Name=RunJS as spot
Exec=run-as-spot /opt/RunJS/runjs
Terminal=false
Type=Application
Icon=runjs.png
StartupWMClass=RunJS
Comment=Explore and experiment with JavaScript and TypeScript, visualise your ideas and get instant feedback as you type.
MimeType=x-scheme-handler/runjs;
Categories=Development
Screenshot(2).jpg
Screenshot(2).jpg (32.1 KiB) Viewed 1164 times

Re: RunJS - the JavaScript playground for your desktop

Posted: Mon Oct 03, 2022 2:30 pm
by puppy_apprentice

You can use --no-sandbox to run as root.

RunJS_another_test.jpg
RunJS_another_test.jpg (37.08 KiB) Viewed 1133 times

Re: RunJS - the JavaScript playground for your desktop

Posted: Mon Oct 03, 2022 3:00 pm
by rockedge

@puppy_apprentice Yes that might be a better solution than run-as-spot. Add the --no-sandbox switch to the Exec line in the .desktop file. Tested and works. Though now I am using 2 different .desktop files using both methods. I do test code from some Internet sites so run-as-spot is the better option in this case.

Code: Select all

[Desktop Entry]
Name=RunJS
Exec=/opt/RunJS/runjs --no-sandbox
Terminal=false
Type=Application
Icon=runjs.png
StartupWMClass=RunJS
Comment=Explore and experiment with JavaScript and TypeScript, visualise your ideas and get instant feedback as you type.
MimeType=x-scheme-handler/runjs;
Categories=Development