ipfs-pinner is a toolkit to help upload files or specific content id to IPFS pinning services.
Supported Pinning Services:
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.
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.
set IPFS_PINNER_PINATA_API_KEY=your-api-key set IPFS_PINNER_PINATA_SECRET_API_KEY=your-secret-api-key
ipfs-pinner -p pinata file-to-path