ssbc / patchwork

A decentralized messaging and sharing app built on top of Secure Scuttlebutt (SSB).
https://www.scuttlebutt.nz
GNU Affero General Public License v3.0
3.58k stars 335 forks source link

add offline mode #646

Closed waozixyz closed 5 years ago

waozixyz commented 6 years ago

would be cool if i there was a setting to use patchwork in offline mode

Happy0 commented 6 years ago

@spaceywolfi do you mean that you'd open patchwork and browse all the messages already in your database, but it wouldn't connect to any peers and download any new messages from them? :)

What's your use case for this? To save bandwidth in certain situations, etc?

waozixyz commented 6 years ago

@Happy0 yes thats what i mean :) my use case is when i have very limited mobile data (max 100mb per month) and do not want to disable my wifi network before starting patchwork to look at messages that i have downloaded previously.

Happy0 commented 6 years ago

Makes sense.

I wonder if there's a way we could get patchwork to gossip only over the local network :o

mmckegg commented 6 years ago

I wonder if there's a way we could get patchwork to gossip only over the local network :o

Yep this is all possible in sbot! Just need to expose the options in patchwork's interface somewhere!

dominictarr commented 6 years ago

we could do this my temporarily changing the config, if we made sure the the relavant things always checked the config object directly instead of getting the value one time and remembering it. This wouldn't be that hard and would work for this case.

stale[bot] commented 5 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

voronoipotato commented 5 years ago

stale bot what have you done.

voronoipotato commented 5 years ago

thank you christian :)

Okay so what is needed to get this done? Someone said that there's a config that would allow for this?

voronoipotato commented 5 years ago

I saw that you said you began working on this, I didn't mean to create more work for you but rather to maybe try to offer some help :).

christianbundy commented 5 years ago

Sorry, to be specific I was working on taming stale[bot] to ensure that issues like this don't get closed so quickly (or at all, if folks are interested in resolving them). I haven't spent time on resolving this specific issue, sorry for the ambiguity!

Backlink: %Zw1Pv49teMuR83FqItBF6x0ksZRazUXrOWB4exuilSc=.sha256

voronoipotato commented 5 years ago

It's okay :). I just wanted to make sure I wasn't bullying you by accident.

stale[bot] commented 5 years ago

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?