An open API service indexing awesome lists of open source software.

https://github.com/evanito/ipfs-pinata-cleaner

CLI script to clean up duplicate hashes uploaded to Pinata.
https://github.com/evanito/ipfs-pinata-cleaner

ipfs pinata

Last synced: 3 months ago
JSON representation

CLI script to clean up duplicate hashes uploaded to Pinata.

Awesome Lists containing this project

README

          

# IPFS-Pinata-Cleaner
Python script to clean up duplicate folders uploaded to https://pinata.cloud

## Introduction
Tools such as IPFS Deploy leave a lot of previous hashes uploaded to Pinata.\
This script simply checks your hashes, and only keeps the most recent of files that share the same name.

Add this to your IPFS Deploy deployment pipeline to automate cleanup!

## Usage
From your CLI:\
`python pinata_cleanup.py -a -s -c `

And that's really it!

## Future plans

- Cache to disk old pins for users with a large amount of pins?
- Allow to filter based on a Pinata tag?
- Allow to filter based on a Pinata tag's value?