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

Interactive somesy demo using pyodide to run somesy in the browser #78

Open
apirogov opened this issue Mar 19, 2024 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@apirogov
Copy link
Contributor

It would be a nice feature to include in the Github Pages if there would be a view with code text boxes (somesy input on the left, tabbed different target formats on the right and a somesy sync button).

This could be realized using pyodide, one can also load and save files from/to a virtual file system in the browser, see e.g. here.

pydantic 2 does not work as-is with pyodide because of the Rust-based core, but there exist (currently inofficial) wheels for wasm, see here.

Once somesy successfully loads in the browser, building a little demo page would not be difficult using a little bit of glue code.

@apirogov apirogov added the enhancement New feature or request label Mar 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant