oxen-io / session-android

A private messenger for Android.
https://getsession.org
GNU General Public License v3.0
1.83k stars 170 forks source link

Distribute APK through torrent #970

Open escape0707 opened 2 years ago

escape0707 commented 2 years ago

Sorry for posting a non bug question here, I don't know other place which suit this better.

Can we distribute all of those session client installer through a more government firewall blocking resistant way? Like through torrenting? When I need to send the latest installer to my friends or relatives, I used to fire up miniserve but it's kinda cumbersome. If there is official torrent or even better RSS to follow, it will be easier.

hjubb commented 1 year ago

It might make sense to have it available via a lokinet website in some way? Maybe we will integrate CI to build and distribute it the same way as other oxen related releases in the future. Could be a nice idea anyway to increase the availability

escape0707 commented 1 year ago

It might make sense to have it available via a lokinet website in some way? Maybe we will integrate CI to build and distribute it the same way as other oxen related releases in the future. Could be a nice idea anyway to increase the availability

Then how do they access lokinet in the first place without reaching someone for the lokinet client?

majestrate commented 1 year ago

It might make sense to have it available via a lokinet website in some way? Maybe we will integrate CI to build and distribute it the same way as other oxen related releases in the future. Could be a nice idea anyway to increase the availability

we could do it via bittorrent over lokinet too

majestrate commented 1 year ago

this issue is actually quite easy to do using BEP 0019, each release we can make a torrent that adds a webseed via github (if they allow it)

hjubb commented 1 year ago

It might make sense to have it available via a lokinet website in some way? Maybe we will integrate CI to build and distribute it the same way as other oxen related releases in the future. Could be a nice idea anyway to increase the availability

we could do it via bittorrent over lokinet too

Yeah it would tie alternate session discoverability to lokinet via a pretty hard dependency which would probably be an issue for most mobile clients

escape0707 commented 1 year ago

For anyone waiting Session to provide an official solution, currently I'm telling my relatives to use F-Droid with a regional mirror hosted by a university as a workaround.

Check if there is an available mirror for you here: https://gitlab.com/fdroid/mirror-monitor

Reference: https://f-droid.org/en/docs/Running_a_Mirror/

hjubb commented 1 year ago

I'm not sure if that would include the Session F-Droid repo which is external to the main repo, is there any difference with using the repo described here https://github.com/oxen-io/session-fdroid ? Or are you referring to github being blocked as a specific issue as well

escape0707 commented 1 year ago

I'm not sure if that would include the Session F-Droid repo which is external to the main repo, is there any difference with using the repo described here https://github.com/oxen-io/session-fdroid ? Or are you referring to github being blocked as a specific issue as well

Yeah, Google and GitHub are often blocked together.

https://f-droid.org/en/packages/network.loki.messenger.fdroid/

This fdroid version doesn't have FCM for fast notification, but since Google is blocked it doesn't matter anyway.