1.0.17 • Published 5 months ago

nostr-social-graph v1.0.17

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months 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

5 months ago

1.0.16

7 months ago

1.0.9

7 months ago

1.0.8

7 months ago

1.0.6

7 months ago

1.0.11

7 months ago

1.0.10

7 months ago

1.0.15

7 months ago

1.0.14

7 months ago

1.0.12

7 months ago

1.0.5

11 months ago

1.0.4

11 months ago

1.0.3

11 months ago

1.0.2

11 months ago

1.0.1

11 months ago

1.0.0

11 months ago