Hacker News new | ask | show | jobs
Show HN: Python Code Runner – right-click to execute Python code from any site (chromewebstore.google.com)
1 points by andycloke 503 days ago
Hey HN!

I spent the last couple of months creating a Chrome extension that lets you instantly run Python code from any webpage, including ChatGPT, Claude, DeepSeek & Google AI Studio.

LLMs have made Python more popular than ever, but setting up a Python environment is still tricky. This solves that by letting you simply right-click any Python code snippet to run it in your browser.

You can save snippets and re-run them later, upload/download files, visualize data and schedule automatic runs.

It uses (the amazing) Pyodide for local execution, which supports pandas, requests, BeautifulSoup and lots more. Scheduled runs use an isolated Python environment in AWS Lambda. The code snippet detection is surprisingly simple - it just looks for the parent pre/code tag!

More details here: https://cliprun.com

Would love to hear your uses cases and feedback. Lots more features coming soon!

2 comments

this is impressive! any way you can set up an extension to run html and js previews? for example if claude can generate a multi page html project with js and css can your extension handle organizing and running a preview of the components? nice work!!!
Thanks! I'm afraid I'm focused on Python for now - I want to do one thing really well rather than several things averagely
This is a very cool idea!