[Urgent]Chrome Extension Development with WXT-Pyodide
$10-30 USD
Closed
Posted about 2 months ago
$10-30 USD
Paid on delivery
I'm trying to load pyodide ([login to view URL]) into a Chrome extension so the extension can run user-defined python code.
This is definitely possible - there are other extensions that do it, but I can't figure out how.
I'm using the WXT ([login to view URL]) extension framework, which slightly complicates it. The docs on WASM aren't written yet: [login to view URL]
The load is failing with 'wasm instantiation failed!'.
Here is the starter repo: [login to view URL]
I think we need to load it via a web worker, probably in a background script, but I’m not sure.
So the task is:
- Find a way to get pyodide to load correctly, so that in the extension when we click 'Run code' it actually runs (locally, in browser, no backend)
Please tell me your rough approach in the cover letter.