sindresorhus / Actions

⚙️ Supercharge your shortcuts
https://sindresorhus.com/actions
MIT License
2.55k stars 107 forks source link

Run WebAssembly #183

Open Scripter17 opened 9 months ago

Scripter17 commented 9 months ago

Description

It would be really cool if it was somehow possible to run a .wasm file inside a shortcut with, I guess, a similar return style as the built-in "Run JavaScript on Web Page" action

The main benefit for me at least is that I would be able to write a single Rust program to clean URLs of tracking metadata and use it anywhere

I guess maybe Actions could create a safari webpage and run it there? I've honestly got no idea how this could actually be implemented I just know it would be a MASSIVE help

One that I'm willing to offer a bounty for. $50 USD for just making it work, extra $20 for making HTTP requests not run into CORS (Yes I will still pay the $20 even if that part is "easy"). I prefer paypal but I'm flexible

Scripter17 commented 9 months ago

I found an existing app that should do this, but it only supports number arguments for some reason

https://github.com/kateinoigakukun/wasmic-ios

sindresorhus commented 8 months ago

That would be really useful indeed.

It's not something I have time to work on right now though.

Scripter17 commented 8 months ago

Huh I really thought I put a $100 bounty on this. Well it's $100 now

I placed a bounty on Wasmic being able to return strings from WASM actions and I want to clarify that the bounty is the same for both apps and it's not a race

I'm willing to throw this money around because both apps are FOSS and these features would benefit everyone. I just really hope it takes at until at least January

https://github.com/kateinoigakukun/wasmic-ios/issues/2