RunJS - the JavaScript playground for your desktop

Moderator: Forum moderators

Post Reply
User avatar
puppy_apprentice
Posts: 661
Joined: Tue Oct 06, 2020 8:43 pm
Location: land of bigos and schabowy ;)
Has thanked: 4 times
Been thanked: 107 times

RunJS - the JavaScript playground for your desktop

Post 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 1138 times
User avatar
rockedge
Site Admin
Posts: 5714
Joined: Mon Dec 02, 2019 1:38 am
Location: Connecticut,U.S.A.
Has thanked: 1994 times
Been thanked: 2097 times
Contact:

Re: RunJS - the JavaScript playground for your desktop

Post 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 1133 times
User avatar
puppy_apprentice
Posts: 661
Joined: Tue Oct 06, 2020 8:43 pm
Location: land of bigos and schabowy ;)
Has thanked: 4 times
Been thanked: 107 times

Re: RunJS - the JavaScript playground for your desktop

Post by puppy_apprentice »

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

RunJS_another_test.jpg
RunJS_another_test.jpg (37.08 KiB) Viewed 1102 times
User avatar
rockedge
Site Admin
Posts: 5714
Joined: Mon Dec 02, 2019 1:38 am
Location: Connecticut,U.S.A.
Has thanked: 1994 times
Been thanked: 2097 times
Contact:

Re: RunJS - the JavaScript playground for your desktop

Post 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
Post Reply

Return to “Educational”