How can I let a student execute code using replit from within my website?

I want a simple text box and a button for execution, without the full IDE,

  1. I saw an option to embed the IDE - but that includes too many features of the IDE with it.
  2. I saw some API for that (https://blog.replit.com/api-docs), but it’s unclear whether I can still use the API or not (was it suspended?)
  3. are there any other options? Maybe another API or some libraries can help me with that?

I am especially interested in executing some Java graphics projects (Swing), but it could be also a simple console code.

The API was retired and is not longer usable. I don’t think there is a way to do this.

1 Like