Allows HTTP access to IPFS files and directories. An IPFS Gateway acts as a bridge between traditional web browsers and IPFS. Through the gateway, users can browse files and websites stored in IPFS as if they were stored in a traditional web server.
Published releases are available on NuGet. To install, run the following command in the Package Manager Console
PM> Install-Package Ipfs.HttpGateway
or using .NET CLI run the following command in the project folder
> dotnet add package Ipfs.HttpGateway
using Ipfs.Engine; using Ipfs.HttpGateway; var ipfs = new IpfsEngine(); ipfs.Start(); var gateway = new GatewayHost(ipfs);
Browse to a IPFS file or directory
localhost:8080/ipfs/Qmhash
where Qmhash is the hash or path to the IPFS content.
If Qmhash is a directory and it contains an index.html
file, then the file is served. Otherwise a listing of the directory is served. To force a directory listing, end the Qmhash with a forward slash.
Copyright © 2019 Richard Schneider (makaretu@gmail.com)
This library is licensed under the MIT license. Refer to the LICENSE file for more information.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4