beakerbrowser / unwalled.garden

Schemas for a p2p social-media network built on the Dat Web.
MIT License
131 stars 10 forks source link

Expand the .refs directory to 3 subdirs: follows, authored, and authors #41

Closed pfrazee closed 5 years ago

pfrazee commented 5 years ago

This PR re-arranges the .refs folder to contain three subfolders, follows, authored, and authors.

The follows folder contains mounts that point to followed sites. This is to enable fast lookups of their dat.jsons.

The authored folder contains sites which have been published by a user.

The authors folder contains a mount to the author(s) of a non-person site.

Note: mounts are basically a way to do fast denormalized lookups to other sites. They enable clients to read authenticated and up-to-date information without having to hit the DHT.

pfrazee commented 5 years ago

It might be possible to remove the https://unwalled.garden/follows record and just use .refs/follows. They both contain roughly the same information.