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.json
via Storacha MCP REST.racha clone
→ fetch commits and files back using MCP + public IPFS gateways fallback.index.json
manifest structure to mapfileCid
,rootCid
, and payload metadata..racha_repo/meta.json
) to track HEAD commit.Update
racha add
are uploaded individually to MCP.index.json
manifest capturing file → CID mappings.commit.json
linking to the index root (treeRef
).meta.json
with new HEAD commitCID.retrieve
first, then gracefully fallback to IPFS gateways (storacha.link, ipfs.io, dweb.link) when bare fileCIDs failed.commit.json
locally if gateway retrieval failed.add → push → clone
) completed withtest.txt
.retrieve
requiredrootCid/filename
paths — bare fileCIDs causedIpfsPathError
.clone
handler to decode base64index.json
and usefileCid
directly.Next Tasks
racha clone
fully with gateway + index fallback (ready-to-drop code prepared).racha push
to upload entire tree (files + index.json + commit.json) inside a single root CID for robust retrieval.racha log
to walk commit history via parent pointers.ethers
to verify authorship.Beta Was this translation helpful? Give feedback.
All reactions