ardislu / ipfs-check

A simple script to check if IPFS content is reachable.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ipfs-check

A simple script to check if some IPFS content is reachable through a random public gateway. Useful for scripting uptime health checks.

Use

In bash:

curl https://raw.githubusercontent.com/ardislu/ipfs-check/main/ipfs-check.sh | bash -s bafybeifx7yeb55armcsxwwitkymga5xf53dxiarykms3ygqic223w5sk3m

Or, save the script to file and:

./ipfs-check.sh bafybeifx7yeb55armcsxwwitkymga5xf53dxiarykms3ygqic223w5sk3m

In PowerShell:

& ([ScriptBlock]::Create((Invoke-WebRequest https://raw.githubusercontent.com/ardislu/ipfs-check/main/ipfs-check.ps1))) bafybeifx7yeb55armcsxwwitkymga5xf53dxiarykms3ygqic223w5sk3m

Or, save the script to file and:

./ipfs-check.ps1 bafybeifx7yeb55armcsxwwitkymga5xf53dxiarykms3ygqic223w5sk3m

About

A simple script to check if IPFS content is reachable.


Languages

Language:PowerShell 67.3%Language:Shell 32.7%