A toolkit to upload files to IPFS pinning services.
ipfs-pinner is a toolkit to help upload files or specific content id to IPFS pinning services.
Supported Pinning Services:
1.Infura
Infura is a freemium pinning service that doesn't require any additional setup. It's the default one used. Please bear in mind that Infura is a free service, so there is probably a rate-limiting.
Website: https://infura.io
Usage: ipfs-pinner file-to-path
2.Pinata
Pinata is another freemium pinning service. It gives you more control over what's uploaded. You can delete, label, and add custom metadata. This service requires signup.
Environment variables:
Unix*:
IPFS_PINNER_PINATA_API_KEY=your-api-key
IPFS_PINNER_PINATA_SECRET_API_KEY=your-secret-api-key
Windows:
set IPFS_PINNER_PINATA_API_KEY=your-api-key
set IPFS_PINNER_PINATA_SECRET_API_KEY=your-secret-api-key
Website: https://pinata.cloud
Usage: ipfs-pinner -p pinata file-to-path
Source: https://github.com/wabarc/ipfs-pinner