Skip to content

This is an example of some Cloudflare Worker code in JS for racing IPFS gateways to content

Notifications You must be signed in to change notification settings

noryev/dev-ipfs-gateway

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Racing IPFS Gateways using Cloudflare Workers[Development Only]

  • Technically a type of Forward Proxy Gateway/API

Instructions

Throw this code into a worker.js file into a Cloudflare Worker and boom! Working Racing Gateway!

Here is an example you can use to see if the proxy gateway is working https://gateway-racing-cc74.deanlaughing.workers.dev/QmZh5s7e4d4kS815aJutJgnm1scQjZdn6sgxjPF8AAJBKm

Development Notes

The files with 'web-worker' within the filename are dedicated to another Racing Gateway that has asynchronysis requests to the multiple gateways instead of doing a simpler version of "racing".

About

This is an example of some Cloudflare Worker code in JS for racing IPFS gateways to content

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published