1.0.17 • Published 6 months ago

nostr-social-graph v1.0.17

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

6 months ago

1.0.16

8 months ago

1.0.9

8 months ago

1.0.8

8 months ago

1.0.6

8 months ago

1.0.11

8 months ago

1.0.10

8 months ago

1.0.15

8 months ago

1.0.14

8 months ago

1.0.12

8 months ago

1.0.5

12 months ago

1.0.4

12 months ago

1.0.3

12 months ago

1.0.2

12 months ago

1.0.1

12 months ago

1.0.0

12 months ago