erskingardner / listr

Listr is the best way to create, manage, and browse Nostr lists.
https://listr.lol
41 stars 5 forks source link

API-based lists #86

Open weex opened 11 months ago

weex commented 11 months ago

I see an opportunity to make lists even more useful by connecting listr to APIs. For example noswot.org/api/v1/scores?source= will give a list in json of the 1000 most trusted accounts in a user's network. I created such a list using a python script and now use it as my main feed vs. the 200 or so follows that I added initially. I find it to be more diverse and active than the standard follows feed while still have zero spam.

Amethyst makes it so easy to use a list as one's home feed that I suspect this can operate as close to the ideal algorithm.

Going further it may be possible to run a daily update on a list to where authors of the most popular notes get added to the list. Could be a neat and more decentralized take on a trending mechanism.

I'd be interested to hear if any changes to that API would make sense and what might be desired in a broader list API spec.

erskingardner commented 10 months ago

This is an interesting concept. Probably would be a really good addition to Listr. Do you have a doc that explains all the endpoints on the API? I can't get the scores URL you gave to return anything but a 404 so I'm sure I've got something wrong there.

weex commented 10 months ago

My mistake its scored not scores and that's the only endpoint for now. The argument should be with hex public key. It was just a prototype and isn't used by anyone to my knowledge. Guess I should add a note to it saying it's in like 'testing' mode. Let me know if any additions of metadata or anything would be helpful and I'll start on a doc.