https://github.com/stebalien/cluster-pin
https://github.com/stebalien/cluster-pin
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/stebalien/cluster-pin
- Owner: Stebalien
- License: mit
- Created: 2019-03-22T05:49:59.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2021-03-31T22:32:48.000Z (over 4 years ago)
- Last Synced: 2025-02-16T03:02:39.783Z (5 months ago)
- Language: Go
- Homepage:
- Size: 52.7 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# IPFS Cluster Pinning Tool
A simple tool for pinning IPFS files to an IPFS cluster. This tool:
1. Connects your local IPFS node to your chosen cluster.
2. Asks the cluster to pin the specified files.## Config
To configure, write a config file of the form:
```json
{
"Username": "$CLUSTER_USER",
"Password": "$CLUSTER_PASSWORD",
"APIAddr": "$CLUSTER_MULTIADDR"
}
```To:
* Windows: `%APPDATA%\ipfs-cluster\client.json`
* Linux: `$XDG_CONFIG_HOME/ipfs-cluster/client.json`
* MacOS: `$HOME/Library/Application Support/ipfs-cluster/client.json`## Usage
Once you've configured cluster-pin, invoke it with a set of CIDs to pin:
```bash
> cluster-pin CID...
> echo CID... | cluster-pin
```