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

about pynecone #12

Open
rraammiinn opened this issue Jul 3, 2023 · 1 comment
Open

about pynecone #12

rraammiinn opened this issue Jul 3, 2023 · 1 comment
Labels
question Further information is requested

Comments

@rraammiinn
Copy link

I know it's irrelevant but don't you think pynecone is more suitable for desktop than for web ?
I don't know why it hasn't proper tools for desktop packaging .
can it be combined with htag ?

@manatlan manatlan added the question Further information is requested label Jul 4, 2023
@manatlan
Copy link
Owner

manatlan commented Jul 4, 2023

no ... It can't be combined with htag.
They share a lot of thing, in the concept field. But pynecone is a different beast, which need nodejs in the background.
whereas htag is only pure python. Make it easier to embbed everywhere, where html/js is render'able (and py runs).
From the ground, pynecone is designed for web apps as first class citizen, whereas htag (the core) is a simple component (rendering/interaction) manager. (the "rendering" part is delegated to "htag runners").
htag is a lot more modulable, and does'nt come with ui components ootb (which is less sexy ;-) ). Whereas pynecone comes with a lot of ui components ready-to-use, heavily based on nodejs interactions (vuejs behind ?!).
It's really two different beasts.
Pynecone is designed for the web, btw it should be possible to embbed it in cef/electron thing, with nodejs. But not with htag's help.

htag can easily be embbeded in "desktop app" , thru a "runner"... using the pywebview lib (which is not really a full chrome cef, and have limitations ... don't know if it can run complex html/js interactions in a nodejs context) ... or using a "faked" chrome (chrome instance runned in app-mode (headless)).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants