util for backing up ATproto repos to IPFS.
the tool should enable people to simply backup their repo to IPFS. the advanced functionality should be that the tool unwraps the '.car' repo export into something that IPFS natively understands.
todo: what should be the value of being able to directly address cid's from bsky in IPFS? pull your whole graph from bsky - why?
to run the execution tests, run make test-integration
in the root dir.
-
design CLI for:
- uploading a file (returns the path or cid?)
- downloading a file (based on given path or cid?)
-
unit tests:
- allow running unit tests separately
-
integrations tests:
-
run integration tests as binary (add build tags)
-
emit app binary test coverage data:
- build app as test binary
- run the binary in the 'tester' container
-
allow easy execution (via makefile command?)
-
-
CI/CD:
- run unit + integration tests on PR's/pushes
npm install -g @web3-storage/w3cli
w3 key create > private.key.full
and save the output string withoutdid:key:
prefix to a file private.key- add permissions (aka. capabilities in web3.storage speech) to your key:
w3 delegation create -c 'store/*' -c 'upload/*' [DID of private key] -o proof.ucan
- create a space (basically a folder) where the data will be stored on web3.storage:
web3 space create atproto-bkup
, save the DID. - or