Skip to content


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?


Failed to load latest commit information.
Latest commit message
Commit time
October 23, 2022 19:40
June 3, 2023 19:03
May 10, 2022 16:56
May 10, 2022 16:56

Python in a Box

Try it online:

This is an interactive online Python REPL, implemented in JavaScript using

and based on the open-source libraries

Read the blog post, How Replit used legal threats to kill my open-source project.

Also, this should go without saying, but letting people run unsandboxed code on your server is incredibly stupid. Do not ever, ever do this in production. This repository demonstrates a proof of concept only, and does not reflect appropriate ethical practices for handling of user data.

If you'd like to see a service that actually does attempt to run user code in a secure manner, please check out Riju.

Note: Please do not attempt to do malicious things with the hosted version of this application, including using it for free compute. It is running on an isolated Railway account that will automatically terminate service if the free-tier limits are exceeded or if abuse is registered. So all you will accomplish is taking the service offline for everyone else.