News for hackers. Stuff that matters.
Re:Show HN: Online Python Compiler with Libraries by andycloke on Saturday March 15, 2025 @03:57AM (#43370847)
Maker here! Runs in an isolated Web Worker using Web Assembly, via Pyodide. Everything runs locally in your browser - no file system or other access. Scheduled run (paid plan) run on AWS lambda.

So, yes, sadly, network requests only work with domains with Access-Control-Allow-Origin: *. I'm looking at adding a backend CORS proxy to fix this.

We also have a Chrome extension with no CORS limitation. The extension lets you right-click Python code snippets on basically any site (Claude, ChatGPT, Deepseek etc.) to run it instantly.

https://chromewebstore.google.com/detail/python-code-runner/...

Re:Show HN: Online Python Compiler with Libraries by metadat on Saturday March 15, 2025 @11:58AM (#43373337)
You might check out https://e2b.dev, they already have a really robust sandbox system with nice SDKs.
Re:Show HN: Online Python Compiler with Libraries by andycloke on Sunday March 16, 2025 @05:44AM (#43377850)
Interesting, thanks