Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/schollz/ipfs-multigateway
An IPFS gateway that uses all the other gateways :zap:
https://github.com/schollz/ipfs-multigateway
golang ipfs ipfs-gateway server
Last synced: 2 months ago
JSON representation
An IPFS gateway that uses all the other gateways :zap:
- Host: GitHub
- URL: https://github.com/schollz/ipfs-multigateway
- Owner: schollz
- License: mit
- Created: 2018-09-21T18:21:13.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-08-19T16:43:12.000Z (over 4 years ago)
- Last Synced: 2024-10-21T18:05:25.011Z (2 months ago)
- Topics: golang, ipfs, ipfs-gateway, server
- Language: Go
- Homepage: https://ipfs.schollz.com/ipfs/QmXS4ZDxRuMjyLESGUgBGVppzjh5p6B3L4dYU7HxKc3pqD/
- Size: 14.6 KB
- Stars: 9
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ipfs-multigateway
This enables a local server that will request a single hash from as many IPFS Gateways as possible, returning the first result found and canceling all the other requests before they finish. This way you can request `/ipfs/` as fast as possible.
## Install
```
go get github.com/schollz/ipfs-multigateway
```## Usage
```
$ ipfs-multigateway
[info] 2019/05/09 07:05:01 checking gateways...
[info] 2019/05/09 07:05:06 found 22 functional gateways
[info] 2019/05/09 07:05:06 running on :8085
```Now you try opening up a IPFS hash like `localhost:8085/ipfs/QmYwAPJzv5CZsnA625s3Xf2nemtYgPpHdWEz79ojWnPbdG/readme`.
## Contributing
Pull requests are welcome. Feel free to...
- Revise documentation
- Add new features
- Fix bugs
- Suggest improvements## License
MIT