Shacuzzï
Shacuzzï
DDeno
Created by Shacuzzï on 7/7/2024 in #help
Convert Sub hosting user code to commands
Hi ! I'm new on Deno. I built my project on Node.js, but it seems that Deno is more appropriate for what I want to do. I'm looking for a way to safely run user scripts to feed a command pattern on top. The idea is to do something similar to an online Robocode. I see Sub hosting. I've already consulted the doc' and played with the github demo to build an online IDE. It allows the user to call the import in sub hosting, but I haven't found a way to use the user code to populate my command queue. Also, I'd like to limit their imports to authorized files only. Is the subhosting the right tool to do this?
3 replies