[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

CLI script to clean up duplicate hashes uploaded to Pinata.

License

Notifications You must be signed in to change notification settings

Evanito/IPFS-Pinata-Cleaner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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 <pinata_api_key> -s <pinata_api_secret> -c <how_many_to_keep_of_same_name>

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?

About

CLI script to clean up duplicate hashes uploaded to Pinata.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages