ipns-link / ipns-link

Expose local http-servers (web-apps) through IPNS-Link

Home Page:https://ipnslink.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

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

About

Expose local http-servers (web-apps) through IPNS-Link

https://ipnslink.com

License:MIT License


Languages

Language:Shell 100.0%