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

Add megacubo to Fdroid store #39

Open
wuniversales opened this issue Nov 30, 2023 · 5 comments
Open

Add megacubo to Fdroid store #39

wuniversales opened this issue Nov 30, 2023 · 5 comments

Comments

@wuniversales
Copy link

Please, add megacubo to the store!
Thanks

@ThreeDeeJay
Copy link

@IzzySoft might be able too add it to his repo like Digilog TV, though the stream sources might need more thorough legal vetting aldrinzigmundv/digilogtv#1 (comment)

@IzzySoft
Copy link

@ThreeDeeJay Unfortunately, size of the APKs (60+ MB) exceed the per-app-limit (30 MB) of the IzzyOnDroid repo 😢

@ThreeDeeJay
Copy link

Hmm, the app already seems to download done assets to work, so perhaps it could offload some more data to GitHub download or something 🤔

@EdenwareApps
Copy link
Owner

EdenwareApps commented Jun 7, 2024

@IzzySoft @ThreeDeeJay After migrating from Cordova to Capacitor and using Rollup to bundle the files, among other changes, the APK size has now increased decreased to around ~38MB. It's challenging to reduce it further since the app requires capacitor-nodejs and Exoplayer. :/

@IzzySoft
Copy link

IzzySoft commented Jun 7, 2024

size has now increased to around ~38MB.

Decreased you mean (it was around 60 MB before) – which is quite good, almost reducing it to half the size! But yes, still beyond the 30 MB limit unfortunately. And yeah, with NodeJS it's hard to even get a "hello world" below 10 MB I guess, which is sad. Not sure what can be done about that. I've heard LiquidCore can be used as alternative, but I have no idea what that would mean in terms of size (or if it would be 100% compatible and the switch easy).

Something else I found, though it won't help that much: the images in assets/public/nodejs/renderer/assets/images. I ran jpegoptim -m70 -s on the 2 background images. background-1920x1080.jpg went down from almost 500 kB to less than 45 kB, background-3840x2160.jpg from 350 to 120. So more than 600 kB size reduction together. Running pnquant on assets/public/nodejs/default_icon.png gave another 75 kB. You'd still sit around 37 MB then, though – unless LiquidCore would be able to achieve further reduction.

I guess you already strip symbols? And I'm no Node dev so I cannot tell, but maybe some of the hints from Node module size : See how I reduced it by 90% could help further?

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

4 participants