🚨 𝗕𝗿𝗲𝗮𝗸𝗶𝗻𝗴 𝗡𝗲𝘄𝘀! 𝗠𝗩𝗣 𝗟𝗮𝘂𝗻𝗰𝗵: 𝗣𝘆𝗣𝗦𝗔-𝗹𝗶𝘁𝗲 ⚡ I've been pushing the boundaries of #WASM and #Python for a long time. I strongly believe there's a huge opportunity for the #Optimization community to combine these technologies and eliminate the need for complex backends and modeling languages—by taking a UI-first approach. 🎯 I talked with Maximilian Parzen and came up with this idea! The Use Case: Ship the open-source power modeling tool PyPSA in a single-page app. Users can run models by drawing configurations and share them via a simple JSON format—making adoption dramatically easier. 📊 Now here's the punchline: I built this in days using Anthropic Claude Code. 🤯 𝗧𝗵𝗲 𝗔𝗜-𝗔𝘀𝘀𝗶𝘀𝘁𝗲𝗱 𝗪𝗼𝗿𝗸𝗳𝗹𝗼𝘄: 🛠️ 🍴 Fork & Explore — Start with the existing codebase, let Claude Code help understand the dependency tree and architecture 🐍➡️🌐 Pyodide Adaptation — Refactor for browser-based Python execution. Claude Code handles the tedious work of identifying incompatible dependencies and suggesting alternatives 🧪 Static HTML Testing — Deploy via GitHub Actions to validate the Pyodide build works in isolation 🎨 UI Mockup — Rapidly prototype the interface and user workflow before committing to implementation details 🚀 Full Application Build — Iterate on the complete app with AI assistance for both Python logic and frontend code Why this matters: Complex scientific Python libraries no longer need backend infrastructure. Users get instant access—no installation, no environment setup, no server costs. 💡 The real unlock isn't any single step—it's the speed of iteration. What would have been a multi-week exploration becomes a focused few-day sprint. ⏱️ 🔗 Link to the app in comments #OpenSource #PyPSA #Pyodide #ClaudeCode #EnergyTransition #WebAssembly

the other thing is you can make and use static html files to run things too ! checkout run.html and index.html here - https://github.com/fhk/PyPSA-lite/blob/master/run.html

This is very very cool! I think there's a ton of potential to bring optimization tools to a broader audience through the browser like this.

See more comments

To view or add a comment, sign in

Explore content categories