Pins/mirrors IPFS data of a Kredits organization on an IPFS node
Go to file
Râu Cao bcb46c2b2b
2.3.0
2024-03-14 16:03:23 +01:00
.gitea Add release drafter action 2023-04-26 16:03:42 +02:00
config Move default peers to config file 2022-11-01 15:01:07 +01:00
lib Pin reimbursements 2023-04-26 15:58:19 +02:00
.gitignore Hello Kredits world 2019-07-02 16:20:52 +02:00
README.md Document CLI options in README 2023-04-26 15:17:11 +02:00
index.js Prevent bootstrap node connects on the same IPFS node 2022-11-02 20:50:54 +01:00
package-lock.json 2.3.0 2024-03-14 16:03:23 +01:00
package.json 2.3.0 2024-03-14 16:03:23 +01:00

README.md

npm

Kredits IPFS Pinner

This tool pins the IPFS documents of a Kredits organization on any IPFS node.

Usage

Make sure you have a local IPFS node running. (See --help for custom IPFS config flags, in case it is not running on localhost with default ports.)

With NPX magic

npx @kredits/ipfs-pinner

Global install

npm install -g @kredits/ipfs-pinner
kredits-ipfs-pinner

From repo

Clone the Git repository, then use npm scripts from its root directory.

npm start

Or with debug output:

npm run debug

CLI options

Display progress bars:

kredits-ipfs-pinner --progress

Or with npm:

npm start -- --progress

Keep running and watch for new data/documents:

kredits-ipfs-pinner --watch

Multiple options at once:

kredits-ipfs-pinner --progress --watch