Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run WebAssembly #183

Open
Scripter17 opened this issue Oct 29, 2023 · 3 comments
Open

Run WebAssembly #183

Scripter17 opened this issue Oct 29, 2023 · 3 comments
Labels
help wanted Extra attention is needed new action

Comments

@Scripter17
Copy link

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
Copy link
Author

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
Copy link
Owner

That would be really useful indeed.

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

@sindresorhus sindresorhus added the help wanted Extra attention is needed label Nov 27, 2023
@Scripter17
Copy link
Author

Scripter17 commented Dec 12, 2023

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

kateinoigakukun/wasmic-ios#2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed new action
2 participants