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

Support Generating a Standalone App #67

Open
tryexceptpass opened this issue Aug 23, 2016 · 3 comments
Open

Support Generating a Standalone App #67

tryexceptpass opened this issue Aug 23, 2016 · 3 comments

Comments

@tryexceptpass
Copy link
Owner

Does it make sense and is it possible to automatically generate a packaged electron app from our stuff? The app would still require a python backend running somewhere, which does not have to be the client (due to websockets), but it should be possible to wrap up the html and js into an app that's made installable through the electron packaging system.

More investigation needed.

@thomasantony
Copy link

Have you seen this?

https://www.fyears.org/2015/06/electron-as-gui-of-python-apps.html

@tryexceptpass
Copy link
Owner Author

I was thinking about something along those lines. I need to make time to go over your link in more detail. Thanks a lot for the info.

@tryexceptpass
Copy link
Owner Author

I've decided to do this directly with the Chromium Embedded Framework. Already have a working prototype in MacOS using the adding-embedded-chromium branch, where instead of spawning the default browser I launch a version of the cefsimple browser. This will remove all browser-like window elements (address bar, navigation buttons, etc.), making it look like a real application. Some testing appreciated.

I don't want to get into talking directly to CEF through C bindings though, so everything will stay with websockets for greater flexibility.

Now I just need to find a good way of generating cross-platform installable binaries. I know these exist, just haven't made time to research my options yet.

@tryexceptpass tryexceptpass changed the title Support generating an Electron App Support Generating a Standalone App Feb 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants