Racha CLI – Storacha-backed VCS Prototype – 25 Aug to 7 Sep 2025 (Week4-5) - PLDG 4 #167
adielliot37
started this conversation in
7 - Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Racha CLI – Storacha-backed VCS Prototype – 25 Aug to 7 Sep 2025 (Week4-5) - PLDG 4
Contributors
Repository
github.com/adielliot37/racha-cli
racha-cli
Accomplished Tasks
racha) with commands:racha add→ stage files into.racha_repo/staging.racha push→ upload staged files +index.json+commit.jsonvia Storacha MCP REST.racha clone→ fetch commits and files back using MCP + public IPFS gateways fallback.index.jsonmanifest structure to mapfileCid,rootCid, and payload metadata..racha_repo/meta.json) to track HEAD commit.Update
racha addare uploaded individually to MCP.index.jsonmanifest capturing file → CID mappings.commit.jsonlinking to the index root (treeRef).meta.jsonwith new HEAD commitCID.retrievefirst, then gracefully fallback to IPFS gateways (storacha.link, ipfs.io, dweb.link) when bare fileCIDs failed.commit.jsonlocally if gateway retrieval failed.add → push → clone) completed withtest.txt.retrieverequiredrootCid/filenamepaths — bare fileCIDs causedIpfsPathError.clonehandler to decode base64index.jsonand usefileCiddirectly.Next Tasks
racha clonefully with gateway + index fallback (ready-to-drop code prepared).racha pushto upload entire tree (files + index.json + commit.json) inside a single root CID for robust retrieval.racha logto walk commit history via parent pointers.ethersto verify authorship.Beta Was this translation helpful? Give feedback.
All reactions