Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stebalien/cluster-pin
https://github.com/stebalien/cluster-pin
Last synced: 15 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/stebalien/cluster-pin
- Owner: Stebalien
- License: mit
- Created: 2019-03-22T05:49:59.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-03-31T22:32:48.000Z (over 3 years ago)
- Last Synced: 2024-10-10T07:26:04.813Z (27 days 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
```