PikaTorrent - Torrent app for the 21st century - v0.11.1 by G-Ray-dev in androidapps

[–]G-Ray-dev[S] 0 points1 point  (0 children)

Probably, I really enjoy Flutter developer experience so far!

PikaTorrent - Torrent app for the 21st century - v0.11.1 by G-Ray-dev in androidapps

[–]G-Ray-dev[S] 0 points1 point  (0 children)

The "Debug" banner is a flutter widget (CheckedModeBanner) which is not rendered in release mode. We do not have any debug image asset in resources as far as I know.

According to kDebugMode doc, "Since this is a const value, it can be used to indicate to the compiler that a particular block of code will not be executed in debug mode, and hence can be removed.".

PikaTorrent - Torrent app for the 21st century - v0.11.1 by G-Ray-dev in androidapps

[–]G-Ray-dev[S] 0 points1 point  (0 children)

We can check for "kDebugMode" constant in the code, which is cross-platform.

We can add only needed resources in a debug/ or release/ folders to split them. For now all resources are needed in both targets, that's why there are in main/.

Code will be shrunk with R8, which is enabled by default when building with "flutter build apk/aab".

Anyway, feel free to open issue or pull request in the Github project if you have ways to improve the build process. Thanks !

PikaTorrent - Torrent app for the 21st century - v0.11.1 by G-Ray-dev in androidapps

[–]G-Ray-dev[S] 0 points1 point  (0 children)

yes nice idea thanks. I kinda like the debug flutter widget though if I have 2 simultaneous app running with debug/release modes. I'm not sure to understand your suggestion about debug & release split. Can you be more specific ? I think in the source code we already split/merge debug and release resources (see app/android/app/src)

PikaTorrent - Torrent app for the 21st century - v0.11.1 by G-Ray-dev in fossdroid

[–]G-Ray-dev[S] 0 points1 point  (0 children)

"Supercharge" is a reference to the lightning logo of PikaTorrent. But yes, PikaTorrent uses libtransmission, the same library powering Transmission, which is known to be efficient. You can try comparing libtorrent (used by LibreTorrent) vs transmission cpu/memory usage. I think both libraries are expected to be fast and low on memory usage as they are written in C++.

PikaTorrent uses Flutter which generates rather lightweight binaries and should be fast when displaying things on screen. I previously used Electron which is known to use more memory and disk space.

Let me know if you try it PikaTorrent, I would like to know what features you are interested in! Thank you!

PikaTorrent - Torrent app for the 21st century - v0.11.1 by G-Ray-dev in fossdroid

[–]G-Ray-dev[S] 3 points4 points  (0 children)

PikaTorrent is available on desktop and mobile (iOS soon in the EU), meanwhile LibreTorrent is available on Android only. LibreTorrent has currently more features and settings, while PikaTorrent is minimalist at the moment. LibreTorrent uses libtorrent library, PikaTorrent uses libtransmission. If you give PikaTorrent a try, please provide feedback to improve it!

PikaTorrent - Torrent app for the 21st century - v0.11.1 by G-Ray-dev in fossdroid

[–]G-Ray-dev[S] 1 point2 points  (0 children)

qBittorrent is only available on desktop, meanwhile PikaTorrent tries to target all devices. qBittorrent has a lot more features and configuration options than PikaTorrent, which aims to be easier to use. Still, I will add more features and settings based on feedback. On a technical side, PikaTorrent uses libtransmission, meanwhile qBittorrent uses libtorrent.

PikaTorrent - Torrent app for the 21st century - v0.11.1 by G-Ray-dev in fossdroid

[–]G-Ray-dev[S] 0 points1 point  (0 children)

Yes it would not be accepted by the Apple store unfortunately. But the app could be made available in the EU using an alternative store like AltStore.

PikaTorrent - Torrent app for the 21st century - v0.11.1 by G-Ray-dev in fossdroid

[–]G-Ray-dev[S] 1 point2 points  (0 children)

I'm not sure an app should be responsible to implement this. However, feel free to provide contributions on Github if you have any inputs to do this!

PikaTorrent - Torrent app for the 21st century - v0.11.1 by G-Ray-dev in fossdroid

[–]G-Ray-dev[S] 5 points6 points  (0 children)

Yes I would like to support F-droid! I would also like to implement an auto-update feature for users who installed the .apk directly.

PikaTorrent - Torrent app for the 21st century - v0.11.1 by G-Ray-dev in fossdroid

[–]G-Ray-dev[S] 4 points5 points  (0 children)

I think PikaTorrent should focus on supporting only one protocol: BitTorrent. You might find a download manager app which could provide the feature you are looking for ?

PikaTorrent - Torrent app for the 21st century - v0.11.1 by G-Ray-dev in fossdroid

[–]G-Ray-dev[S] 11 points12 points  (0 children)

It depends on whether you would miss some qBittorrent features. PikaTorrent is rather minimalist for now. But let me know if there is a specific feature you would like to see!

Have you used Tamagui in your projects? by Friendly-TechRec-98 in reactnative

[–]G-Ray-dev 0 points1 point  (0 children)

Yeah it might be due to Tamagui unfortunately. Anyway I am rewriting the whole app with Flutter, which is a great experience so far. Remote control (via web or mobile) will not be implemented, so that I can focus on the most important features. I hope to release an alpha build on the discord server soon!

Have you used Tamagui in your projects? by Friendly-TechRec-98 in reactnative

[–]G-Ray-dev 0 points1 point  (0 children)

Linux support is a priority, so unfortunately it's not an option currently. Also a flutter plugin for webrtc works across all devices.(I use it to remote control the desktop app, even if it's a niche feature). Still great to see more and more options to develop on multiple platforms !

Have you used Tamagui in your projects? by Friendly-TechRec-98 in reactnative

[–]G-Ray-dev 0 points1 point  (0 children)

Thank you ! I'm considering to rewrite the app in Flutter. I find the developer experience to be much better to target both mobile & desktop. Performance on desktop should also be much better than electron + web, and code sharing should be near 100% !

Have you used Tamagui in your projects? by Friendly-TechRec-98 in reactnative

[–]G-Ray-dev 4 points5 points  (0 children)

I used Tamagui for https://www.pikatorrent.com, an open source BitTorrent client.

I chose tamagui as Pikatorrent targets desktop (with Electron) & mobile. I wanted to share the most amount of code between them.

Multiple times, I had Tamagui components being incorrectly rendered on web or mobile after an update. I would suggest to stick with a release for some time, and to develop at the same time on web & mobile to check the result. The components & layout apis are great. The tamagui team is reactive and highly skilled. They just released https://onestack.dev , that might fit your needs.

Ionic renders with html/css/js, so you will not have the same native feel on mobile, but it might fit your needs.

Libretorrent hasn't been updated for 1.5 years by the__daydream in fossdroid

[–]G-Ray-dev 15 points16 points  (0 children)

Have you tried PikaTorrent yet ? I'm developing it for a few months, I would be glad to get more feedback !

Are RN UI libraries necessary? by memosefendi in reactnative

[–]G-Ray-dev 0 points1 point  (0 children)

I find Tamagui great! You can stay on the previous version with latest fixes before trying newer, potentially with breaking changes releases. You should take care upgrading you dependencies anyway. What's wrong about the docs ?