Skip to content

Repository files navigation

ipfs-racer

Cloudflare Worker that races public IPFS and IPNS gateways and returns the first valid response.

Usage

https://<cid>.ipfs.stupidtech.net/
https://<cid>.ipfs.stupidtech.net/path/to/resource

The path-based format redirects to the subdomain format:

https://ipfs.stupidtech.net/ipfs/<cid>/    →  https://<cid>.ipfs.stupidtech.net/
https://ipfs.stupidtech.net/ipns/<name>/   →  served directly

Gateways

Requests race these public gateways. The fastest valid response wins.

  • dweb.link (subdomain)
  • ipfs.io (path)
  • gateway.pinata.cloud (path)

ENS freshness indicator

When visiting via a search engine like stupid search, a dot appears in the bottom-right corner:

  • Green — No contenthash changes in the last 24 hours.
  • Orange — Recently updated (shows how long ago).

Development

bun install
bun run dev

Checks

bun run format
bun run lint

Deploy

bun run deploy

About

Cloudflare Worker that races public IPFS/IPNS gateways and returns the first valid response.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages