Skip to content
This repository has been archived by the owner on Dec 27, 2022. It is now read-only.

Offline users profiles #46

Open
arni077 opened this issue Aug 7, 2018 · 6 comments
Open

Offline users profiles #46

arni077 opened this issue Aug 7, 2018 · 6 comments

Comments

@arni077
Copy link

arni077 commented Aug 7, 2018

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?

@fsteff
Copy link

fsteff commented Aug 7, 2018

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.

@rjcorwin
Copy link

rjcorwin commented Aug 9, 2018

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.

@pfrazee
Copy link
Member

pfrazee commented Aug 9, 2018

@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)

@arni077
Copy link
Author

arni077 commented Aug 9, 2018

@pfrazee how fritter displays posts from offline users?

@pfrazee
Copy link
Member

pfrazee commented Aug 9, 2018

@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.

@rjcorwin
Copy link

rjcorwin commented Aug 9, 2018

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!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants