项目作者: ipns-link

项目描述 :
Expose local http-server (web-app) through IPNS
高级语言: Shell
项目地址: git://github.com/ipns-link/ipns-link.git
创建时间: 2021-09-17T07:25:48Z
项目社区:https://github.com/ipns-link/ipns-link

开源协议:GNU General Public License v3.0

下载


IPNS-Link

PR Platform Lang UI

Prototype implementation of IPNS-Link.

TL;DR

Expose dynamic site / web app / server-side code with IPNS. Run your http-server at localhost and get a URL that is basically an IPNS key. Put the key at any IPFS gateway (e.g. https://ipfs.io) or IPNS-Link-Gateway (e.g. https://ipns.live) in your browser and your site loads.

Usage

See Manual.

Test drive

Follow Quick-Start.

Tutorials

Notes

  • This is just a proof-of-concept and is by no means foolproof. Although it mostly works, optimizations and enhancements are possible.

  • To keep things simple, Manifest encryption and HLS stream using IPNS have been left out for now.

  • Those who turn away from IPFS because of its huge bandwidth consumption need not worry. IPNS-Link takes great pains to work around this.

  • If your website contains relative URLs of the form /ipfs/CIDhash, IPNS-Link serves the corresponding resources from IPFS, decreasing the load on your server.
  • You can configure IPNS-Link to serve all static content in your website, such as images, CSS and javascripts, from IPFS thus effectively acting as a CDN.
  • IPNS-Link uses IPFS’s built in NAT traversal tools. So a public IP is not a must, but is always preferable.
  • You can configure IPNS-Link to redirect visitors whenever your machine goes offline for a while. So even intermittent connectivity is workable.

Community

GitHub Discussions

Reddit

Contribute

Contribute

Donate

Sponsor