arleypadua / PKHeX.Everywhere

Cross platform tools for interacting with Pokemon save files. The web version runs everywhere and the CLI works with Mac OS, Linux and Windows
https://pkhex-web.github.io
MIT License
34 stars 2 forks source link

Launch with input file #91

Closed shumsic closed 2 weeks ago

shumsic commented 2 weeks ago

Wondering if there is a way to launch the website while passing it a save file as input? eg. https://pkhex-web.github.io/load?file=[PATH]

For my specific use case - using Apple Shortcuts, I’d like to have PKHeX Web open with some predetermined save file automatically loaded.

Understandable if this is not currently or ever possible. PKHeX Web has been amazing so far, thank you.

arleypadua commented 2 weeks ago

Thanks for the feedback.

I already thought about that, web apps are not really allowed to access local file paths.

What would be possible is to pass a url instead of a path, but that wouldn't solve your use case.

The best option for your use case would be: https://github.com/santacrab2/PKHeXMAUI, but I'm aware only android builds are available, you'd need to build your own for iOS