Export your entire Farcaster social graph / activity to a Neo4j Graph Database
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
- If you are using Docker, run:
- Generate an application bearer token for Farcaster, see docs here
- Clone the repository:
git clone https://github.com/ashutosh1206/fargraph
andcd fargraph
- Create .env and update values inside it:
cp example.env .env
- You can use
go
to installfargraph
andfargraph-binaries
in yourGOPATH
: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