Actions icon indicating copy to clipboard operation
Actions copied to clipboard

Run WebAssembly

Open Scripter17 opened this issue 2 years ago • 3 comments

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 avatar Oct 29 '23 23:10 Scripter17

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

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

Scripter17 avatar Nov 26 '23 03:11 Scripter17

That would be really useful indeed.

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

sindresorhus avatar Nov 27 '23 21:11 sindresorhus

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

  • $100 for being able to run WASM files with string arguments and return values
  • $20 for HTTP request support without CORS causing issues

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

Scripter17 avatar Dec 12 '23 15:12 Scripter17