stlite
stlite copied to clipboard
Desktop/smartphone app bundler
- Universal: PWA (already)
- Desktop: Electron/Tauri
- This may contribute to https://github.com/streamlit/streamlit/issues/1370
- Electron looks better
- It has Web Workers support
- It has browser and NodeJS runtime
- Tauri seems to be a "web-based UI framework on Rust" on which the web technology is for UI and Rust for the main process.
- It seems that Tauri does not have a runtime where Pyodide runs.
- Package name:
@stlite/desktop
- Mobile: Capacitor
2 directions for the Electron app:
- Create a new app at the same level as mountable and playground and build it from scratch ( #295)
- Create a separate project and use
@stlite/mountableon it.
For 1.,
- Build step seems to be easier because it would be like the ones in mountable and sharing
- Electron-forge does not work well, probably because of yarn workspace
For 2.,
- Scaffolding with Electron-Forge works well
- Using
@stlite/mountablelooks hard because all the static files have to be imported and bundled again.
PWA and Desktop app are done. I made a new issue about the mobile apps: #390, so close this issue.