BoostIO / BoostNote.next-local

Boost Note next local spaces is lightspeed workspace for developers
Other
127 stars 26 forks source link

Run code snippet #22

Open Rokt33r opened 4 years ago

Rokt33r commented 4 years ago

Original thread: https://www.reddit.com/r/Boostnote/comments/hvp04e/can_you_run_script_from_boostnote/

It would be nice to provide some way to run code in code fences. It should be easy to run it from electron.(But dangerous) Please share your thoughts. If you want to have this feature, please react with 👍

TimeBomb commented 4 years ago

This was actually my BoostIO/BoostNote.next#1 feature I was looking for in a note taking app, but I couldn't find it.

Huge supporter of the idea. I use Google Chrome Dev Tools a lot every day as a simple sandbox for testing javascript snippets, being able to replace it with the place I store my snippets would be great.

I'm not sure if sandboxing code is feasible or terribly necessary, but for reference, one of the few potentially appropriate and updated sandboxes I found was https://github.com/patriksimek/vm2.

DavidKittleSEL commented 3 years ago

I too think this is a great feature, it would be really aswome to imbed shell scripts and execute them directly

Rokt33r commented 3 years ago

Transferred to the local app repo since I don't think we can support it from the cloud space.