DenoDDeno
Powered by
ShacuzzïS
Deno•2y ago•
2 replies
Shacuzzï

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?
Deno banner
DenoJoin
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,934Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

Sub hosting SAAS app
foenyxFfoenyx / help
3y ago
Convert npx commands to deno
LukasLLukas / help
16mo ago
Convert to exe
JonasJJonas / help
3y ago