We've tried a number of different ways to get the 100GB of songs that are on @songadaymann's computer uploaded / added to IPFS.
Ultimately, we want them to be added to NFT.Storage, where they will be both available via IPFS, and permanently stored on Filecoin.
For reference, Pinata would cost around $1750 per month.
The NFT Storage Tools repo has a number of NodeJS scripts setup to be able to run and communicate with NFT Storage https://github.com/nftstorage/nft.storage-tools
The Upload as CAR file script looks closest to what we need. It local turns a file into an "offline" IPFS file with content addresses, and then uploads it to the NFT Storage end point.
We need a modified NodeJS script that:
- can be run from the root of the songs folder
- upload each song using the CAR file script or similar
- loop through all of them to ensure they have been uploaded
As a check to see if it already exists in NFT storage (if the script needs to be restarted / run multiple times), we likely want to do something like:
- make a CAR file, get the CID
- make a call to NFT storage to see if that CID is already pinned/uploaded
- if pinned, skip
@songadaymann has also made all the songs available on Dropbox, so it could be run by anyone with the API key locally once you've downloaded all the files from Dropbox.
We've tried a number of different ways to get the 100GB of songs that are on @songadaymann's computer uploaded / added to IPFS.
Ultimately, we want them to be added to NFT.Storage, where they will be both available via IPFS, and permanently stored on Filecoin.
For reference, Pinata would cost around $1750 per month.
The NFT Storage Tools repo has a number of NodeJS scripts setup to be able to run and communicate with NFT Storage https://github.com/nftstorage/nft.storage-tools
The Upload as CAR file script looks closest to what we need. It local turns a file into an "offline" IPFS file with content addresses, and then uploads it to the NFT Storage end point.
We need a modified NodeJS script that:
As a check to see if it already exists in NFT storage (if the script needs to be restarted / run multiple times), we likely want to do something like:
@songadaymann has also made all the songs available on Dropbox, so it could be run by anyone with the API key locally once you've downloaded all the files from Dropbox.