RangerMauve / dat-pub

Lightweight HTTP service for discovering dats
MIT License
9 stars 0 forks source link

Logo #1

Open aaronshaf opened 6 years ago

aaronshaf commented 6 years ago

I love the term "pub" to describe a service where Dat archives can meet each other. Would be great to have a logo for this. Something like a beer glass?

RangerMauve commented 6 years ago

I haven't really gotten to a point whre this can be released, so I think a Logo might be too eary. :P

Would you be interested in becoming a collaborator in the repo to help move it forward?

I'm currently focused on discovery-swarm-stream so this has been put into my backlog.

Also, this becomes less necessary when paired with the new dat peers sessionData API being introduced in Beaker.

With the sesionData API you could advertise some piece of information to anyone replicating a Dat archive with you and thus allow peers to discover you throughout the network.

aaronshaf commented 6 years ago

RE: collaborator. Yes. 👍

RE: datPeers. If a Dat Archive owner/writer goes offline, it seems a whisper(?) network of a record of recent/historical peers (and their respective archives) would need to be stored.

RangerMauve commented 6 years ago

I was thinking a discovery mechanism would look like this:

It doesn't matter who's online since it's an eventually-consistant gossip-based protocol. :D

RangerMauve commented 6 years ago

Ping @pfrazee

pfrazee commented 6 years ago

@RangerMauve yeah that definitely can work. You'll have no certainty about who the discovered dats are, but in the short term that might not matter.

RangerMauve commented 6 years ago

@pfrazee Yeah, I think identity could be determined by applications that build on top of this. Say, the dat contains some sort of data proving that it's tied to a given identity (like IndieAuth). It'd be easy to add a filter in to make sure a dat meets some sort of criteria before it's saved to discovery.