stratos-storage
bởi notboxqsn
Search & ResearchTóm tắt
Upload and download files to/from Stratos Decentralized Storage (SDS) network.
Mô tả
Kỹ năng này làm gì
Uploads and downloads files to the Stratos Decentralized Storage (SDS) network via SPFS gateway. Returns a content hash (CID) on upload that can be used to retrieve the file later.
Stores files on a decentralized network instead of a centralized provider, giving users a content-addressed hash they control.
Khi nào nên dùng
- Backing up local files to a decentralized network
- Sharing files without relying on centralized cloud storage
- Retrieving a file by its CID from Stratos SDS
- Storing project artifacts on SPFS for censorship-resistant access
- Archiving documents to a Stratos node
Quy trình ví dụ
User asks: Upload /tmp/report.pdf to Stratos
- 1
Confirm the file path with the user
- 2
Verify the SPFS gateway is reachable
- 3
Run upload.sh with the provided file path
- 4
Capture the returned CID from the script output
- 5
Return the CID to the user
File uploaded. CID: QmXyz...abc
Yêu cầu
- STRATOS_SPFS_GATEWAY environment variable
- STRATOS_NODE_DIR environment variable
- Running Stratos SDS node (ppd or SPFS gateway)
Cài đặt
clawhub install notboxqsn/stratos-storageChạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.