1.0.17 • Published 1 year ago

nostr-social-graph v1.0.17

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago
  • Build a social graph from Nostr follow events
  • Make queries for followed users, followers and follow distances
  • Change social graph root user if needed, efficiently recalculating follow distances
  • Low memory consumption
  • Efficient serialization for saving & loading from storage
  • Optional: pre-crawled Nostr datasets
    • follows, consisting of 260 follow lists and 23 000 users (2.2 MB)
    • large_social_graph.json: 36.8 MB dataset of 161K users and 5.3M follows
    • profile names and pictures for 19 000 users (2.8 MB)
  • Demo: graph.iris.to (examples dir)
  • Also used on iris.to
  • See tests for usage
  • The magic happens mostly in SocialGraph.ts
1.0.17

1 year ago

1.0.16

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.6

1 year ago

1.0.11

1 year ago

1.0.10

1 year ago

1.0.15

1 year ago

1.0.14

1 year ago

1.0.12

1 year ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago