Skip to content

Export your social activity on Farcaster to a graph database

License

Notifications You must be signed in to change notification settings

ashutosh1206/fargraph

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Farcaster Graph

Export your entire Farcaster social graph / activity to a Neo4j Graph Database

Setting up and running the tool

To setup the tool:

  • Make sure you have a Neo4j instance up and running
    • If you are using Docker, run: docker run --publish=7474:7474 --publish=7687:7687 --volume=$HOME/neo4j/data:/data --volume=$HOME/neo4j/logs:/logs neo4j
  • Generate an application bearer token for Farcaster, see docs here
  • Clone the repository: git clone https://github.com/ashutosh1206/fargraph and cd fargraph
  • Create .env and update values inside it: cp example.env .env
  • You can use go to install fargraph and fargraph-binaries in your GOPATH: GO111MODULE=on go install github.com/ashutosh1206/fargraph/cmd/...
  • Run the fargraph-script binary to setup DB constraints: fargraph-script

To run the tool:

Run ./fargraph <username>, where username is the user whose social graph you want to export

About

Export your social activity on Farcaster to a graph database

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages