Skip to content

guodont/ipfsProxyHTTP

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Website ipns.co Website getipfs.com NAC-depend-none NAC-packagist GitHub version PHP from Packagist NAC-license

IPNS.co | InterPlanetary File System HTTP Proxy

IPNS.co is a very fast proxy to redirect HTTP Query to several IPFS Public gateway HTTP server.

This implementation can help developers to use only one URL to all IPFS files without any risk of breaking the server bandwidth. You can be sure that the servers capacity is large enough to handle all traffic.

This code has been written without any dependancy to run as faster as possible. IPNS.co use DNSSEC, DNS Anycast, low latency DNS and IP resolved to different servers to handle all trafic.

Each IPFS gateway can break if a lot of files is downloaded simultaneous, this can help to avoid this risk.

To run your own instance of ipfsProxyHTTP (updated by Git Pull), you only only require PHP>=5.6 and a Web server.

Usage

https://ipns.co/<hash>
http://ipns.co/ipfs/<hash>
http://ipns.co/ipns/<hash>

Example:

https://ipns.co/QmYwAPJzv5CZsnA625s3Xf2nemtYgPpHdWEz79ojWnPbdG/readme
https://ipns.co/ipfs/QmYwAPJzv5CZsnA625s3Xf2nemtYgPpHdWEz79ojWnPbdG/readme

Or use it for your web file

<img src="https://ipns.co/QmZiSAYkU7gZtqYeZWL21yuwgFtRnJu1JjDzR6Qd2qdDBr/static/img/go-ipfs.png"  />

Alternative URL: getipfs.com, ipns.co

Contributing

You can add your public ipfs gateway by making a PR to add it to gateway.txt

Copyright and license

Code released under the MIT License.

About

InterPlanetary File System HTTP Proxy

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 89.7%
  • HTML 10.3%