ethanchewy / PythonBuddy

1st Online Python Editor With Live Syntax Checking and Execution
https://pythonbuddy.com
BSD 3-Clause "New" or "Revised" License
277 stars 84 forks source link

This looks great #23

Closed PythonLinks closed 5 years ago

PythonLinks commented 6 years ago

Just exactly what I need. Thank you so much for all of the hard work.

Forgive me if I make one comment. There are really two parts to this. One is the core server functionality. And the other is the flask app which calls it.

For those of us who are not using Flask, it would be nice if they were in separate files. Then I would not have to import all of flask to use it.

Otherwise, it looks like lots of hard work has been done by EthanChewy.
Thank you so much.

ethanchewy commented 6 years ago

Hey, thanks for the compliments.

I'm currently working on a version that leverages Docker containers where every user has its' own container. This would address the issue you are raising.

Might take a while since I'm quite busy but I'll keep you updated.

Thanks again!

PythonLinks commented 6 years ago

Well I am just about to move my software to docker so let me help you and learn something in the process. This Wednesday I will be rereading the documentation. After that I can do a code review of your docker file if you wish.

ethanchewy commented 5 years ago

@PythonLinks Here is the dockerized version which creates a docker container for each user session which protects the main server from being hacked with malicious user generated code: https://github.com/ethanchewy/PythonBuddySandboxed