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

Mobile apps devtools #796

Open
adamziel opened this issue Nov 24, 2023 · 4 comments
Open

Mobile apps devtools #796

adamziel opened this issue Nov 24, 2023 · 4 comments

Comments

@adamziel
Copy link
Collaborator

adamziel commented Nov 24, 2023

Blocknotes proved WordPress can run on mobile devices. Currently it uses iCloud for synchronization. Let's explore a toolchain that enables bundling any WordPress site as a mobile app with a single command.

This issue is to start the discussion and explorations around that specific angle to grow the WordPress ecosystem.

The WAMR and Chicory runtimes could be useful for shipping WASM in mobile apps. Alternatively, the app could bundle a cross-platform runtime like Wasmer – this could enable exporting Playground sites as platform-specific executables in a similar way to what QuickJS-emscripten does.

Pre-compile the WASM for each platform (AOT) would speed up the startup. So could shipping the initial memory snapshot.

Related issues, potential pre-requisites

@adamziel
Copy link
Collaborator Author

adamziel commented Nov 4, 2024

https://developer.android.com/jetpack/androidx/releases/javascriptengine could help run WASM in mobile apps without a WebView

@bgrgicak
Copy link
Collaborator

bgrgicak commented Nov 5, 2024

https://developer.android.com/jetpack/androidx/releases/javascriptengine could help run WASM in mobile apps without a WebView

JavascriptEngine looks nice and could be a good fit for Android, but I'm tempted to use a solution that works with both iOS and Android instead of building two.

@bgrgicak
Copy link
Collaborator

bgrgicak commented Nov 5, 2024

What's our goal? Do we want working apps that can run WordPress and display the HTML, or do we want libraries that allow developers to make requests to WordPress?

@adamziel
Copy link
Collaborator Author

adamziel commented Nov 5, 2024

Both :-) also, agreed on interop — I'm just sharing what I've learned

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Status: No status
Development

No branches or pull requests

2 participants