fritter icon indicating copy to clipboard operation
fritter copied to clipboard

Offline users profiles

Open arni077 opened this issue 7 years ago • 6 comments

User profiles on the p2p Web are a bit different than user profiles on the traditional Web. Instead of being stored in a server-side database, they're simply websites! This means you can look at all the files that comprise a profile only if that user is online?how fritter display posts from users which are offline?

arni077 avatar Aug 07 '18 03:08 arni077

Technically a profile is not a website, it's just a bunch of json files. Everyone that downloads these files becomes a peer that others can get the data from. Also, these files are cached so you can use them without an internet connection. To make sure your profile is always available to others you can use hashbase.

fsteff avatar Aug 07 '18 05:08 fsteff

Also, these files are cached so you can use them without an internet connection.

Does that happen automatically when you add someone? Similar to "hosting forever" when you browse a dat site.

rjcorwin avatar Aug 09 '18 15:08 rjcorwin

@fsteff is correct. You keep dat sites in your cache. @rjsteinert currently the policy is that each dat (and their downloaded files) stays in your cache until the dat hasnt been loaded for 2 weeks. Fritter doesn't currently do "hosting forever" to the ones you follow but we added an API recently that would enable that (https://beakerbrowser.com/docs/apis/experimental-library)

pfrazee avatar Aug 09 '18 15:08 pfrazee

@pfrazee how fritter displays posts from offline users?

arni077 avatar Aug 09 '18 15:08 arni077

@arni077 If it's the first time you're seeing their profile, you do need somebody to be online and sharing the profile data. After that, you'll have the data saved.

pfrazee avatar Aug 09 '18 15:08 pfrazee

Fritter doesn't currently do "hosting forever" to the ones you follow but we added an API recently that would enable that (https://beakerbrowser.com/docs/apis/experimental-library)

w00t!

rjcorwin avatar Aug 09 '18 17:08 rjcorwin