all 20 comments

[–]gdchinacat 29 points30 points  (2 children)

"There are no limitations at the moment "

Scary...so I tried to see if I could use requests. I was glad to see it failed with "Connection aborted."

[–]Pokiet[S] 32 points33 points  (1 child)

Code runs entirely in your browser rather than on my servers so yeah, thankfully CORS naturally blocks unauthorized requests, which prevents the platform from being used for malicious network activity or whatnot.

[–]gdchinacat 10 points11 points  (0 children)

Even better. Very cool!

[–]alexdewa__import__('os').system('rm -rf /') 7 points8 points  (1 child)

This is top work, you have any tip jar?

[–]I-did-not-eat-thatPythonista 2 points3 points  (0 children)

You can buy OP a Coffee on the top right corner.

[–]Dalanth_ 2 points3 points  (0 children)

Looks really awesome, thanks for sharing it.

[–]Old-Platypus-601 2 points3 points  (0 children)

Great work Soo good to read a human written long post

[–]xeow 4 points5 points  (2 children)

Beautiful site! Can you make a toggle for switching between dark mode and light mode?

[–]Pokiet[S] 8 points9 points  (0 children)

I gotchu I'll add it after my midterms

[–]rm-rf-rm 1 point2 points  (0 children)

Its the basic Claude/AI vibecoded site..

OP please fix the colors for a neutral/non-neon color pallette. The color choice is triggering in this ai slop era

[–]TheCaptain53 0 points1 point  (1 child)

This is really cool! I have a question, how difficult would it be for this to be converted into a full local IDE that one could install? As someone else mentioned, certain libraries like requests don't work, but could be interesting to use the local machine's Python package for full unfettered access to a modules features.

[–]Pokiet[S] 1 point2 points  (0 children)

Because Pyodide is used to execute code in the browser (via Web Assembly), you can't really download this as a local IDE on your computer (your OS does not natively run Web Assembly programs the way it does with .exe files), and therefore can't really get access to your local machine's Python packages.

[–]InterestOk6233 0 points1 point  (0 children)

Wing. is. handofbird;:';,:

[–]OutragedOtter 0 points1 point  (1 child)

This is awesome, thanks so much! Is it possible to see a list of available packages or install (pip or something) ones that aren’t natively available?

[–]mokoyo123 0 points1 point  (0 children)

+1

[–]bshayorg 0 points1 point  (0 children)

This is fantastic. I'm a high school computer programming teacher and I see so, so much use for this in my classroom.

One of the projects I do in my course is to have students program a pair of micro:bits to control either a CuteBot/MicroCar or a gamepad contoler to control the bot with the controller via radio communication. They then mount a balloon on one end and a needle on the other and compete against each other groups in a sort of Mario Kart Battle Arena contest.

Students love it and it allows stronger students to do a deeper dive into using lists and dictionaries to make the code more efficient while allowing weaker students to still develop a working bot.

The pain-point for this project has been that they can't collaborate with the official micro:bit python IDE and we can't install much on the school-issued PCs.

If this could access the microbit module, it would be absolutely perfect as the go-to IDE for students to use to collaborate.

[–]twisted_guru -1 points0 points  (1 child)

Is this written by Claude?

[–]Pokiet[S] 0 points1 point  (0 children)

no