-
Notifications
You must be signed in to change notification settings - Fork 632
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
Optimize the Stack #1179
Comments
We would be happy to see the migration from Backbone to React but i guess it gonna take ages as you said any help is welcome Work was started here https://github.com/butterproject/butter-desktop/tree/devel/src but never get to see the light |
I see, but no plans to continue on it? What's the simplest path to go for an MVP/Beta version? Take a look at this initiative for instance, I'd say that's a great start to help guys on it and then the community can start following a beta version of PCT and not only test but also contribute and evolve with it. Cheers. |
What about alternatives? I see Butter uses the ones you mentioned but there's rollup and parcel instead of webpack, I would rather use a lighter version such as neutralino, ultralight and not have yet another Electron app taking hundreds of megabytes, and there's Vue and Svelte. I think Flutter for desktop apps is in beta and could be also a good option, but that one I don't know. |
@ranisalt the only issue I see with I'm an early adopter myself and for a proof of concept could be nice to give a try, but again it's still growing and lack o documentation for now compared with NW.js and Electron. Totally agree with using something like Rollup/Vue instead though, but unsure about Svelte for the same reason of avoiding neutralino. 👍 I rather use React overall 'cuz it would be easier to have more people collaborating (as FOSS sometimes have lack of maintainers) and also because it's very community-driven and also active AF. IMO even RN (Expo maybe?) + Electron would be a great choice, but no hard feelings on it, Vue + whatever sound nice to me as well. |
@rafaell-lycan Based on the fork you mentioned i created a fully working one with React here, it also has a react native version here. If you really want to build a react version and don't want to redo everything you could start there, I do note that it are older projects with a lot of outdated deps etc. |
@TriPSs quite like it, although both need tons of love (not only outdated dependencies, but also lots of things that probably not needed, like Flow and a bunch of Babel loaders for instance). Is it something that you're looking forward to continue or not? |
@rafaell-lycan The react native version became part of something new (PCT env running on local network), I do want to continue on that. Regarding the desktop app, I have no intensions in continuing it as like you said it's bloated; It would likely be faster to redo it and use the popcorn-sdk which does the searching / API intergration for the most part. |
Hi, about a few points talked previously: Secondly, no you should not use neutralinojs or any similar tech, it is a very bad taste. Yes Electron induce a 40-50MB overhead on desktop (which is ridiculously small, e.g in comparison to the size of a movie or of modern SSDs), hence it is more of an ivory tower/purity/virtue signaling issue than a real issue. The major issue about neutralinojs is that it uses the OS default webview. Which means a great experience on windows but mac users and even worse, Linux users are screwed because it will use webkit-gtk which is almost in an abandonware state, has many bugs and sub-par performance. Note that on Android/Ios however Cordova/ionic use the default OS webview though. |
While build process (vite, parcel, webpack) and Electron migration have to be done at once, the React migration can be done incrementally, React 17 became more stable on integrating React with non-React code, we can start migrating small UI components and as soon as possible merge those small migrations at the |
Hello, I have read this thread as well as issue #1493. I am interested in contributing to the migration to TS + Vue, but it seems like the discussion is dead and there are no plans to go forward with this? am I correct |
@raniceyue yes, no plans for change stack, i think would be easy to rewrite, because many old unsupported libs |
@ivan1986 is there any way I can help out with rewriting the old files? or where is a good starting point? |
i think need take versions from comments and check it's for support api |
How about porting it over to Tauri in combination with ReactJS/NextJS? I think that if server actions (NextJS) could be gotten to work, it might be very effective. Reference: https://tauri.app/v1/guides/getting-started/setup/next-js/ |
Hi PopcornTime team, how are you guys doing?
I'd like to ask if there are any plans regarding update the stack as Butter does.
I'd say that the community can help you guys with a proper roadmap. I mean, probably just a few of you'll actually know the whole app specs and I'm not 100% sure if the current stack is easy to maintain.
Let us know if we can help improve it.
Cheers.
The text was updated successfully, but these errors were encountered: