A small tool that operates in a manner analogous to a traditional static http file server. The core motivation is having a static file hosting metaphor for sysadmins who don't want to / need to grok IPFS' model.
It does essentially what “ipfs daemon + ipfs add + ipfs pin” can do, but with a UX analogous to setting up a traditional static HTTP server; this self-contained tool provides a trivial metaphor for simple-web users who want to ensure availability of files.
Could be similar to python -m SimpleHTTPServer, while watch'ing the directory, adding changed files.
> iphost
creating /tmp/ipfs-repo-for-pwd
mounting /path/to/pwd at /ipns/Qmfoobar
iphost listening on http://127.0.0.1:8080
watching /path/to/pwd for changes
And maybe rather call it ipserve? host is a veeery generic term in the context of IPFS.
Yes, agreed 100%. :heart:
Really worth looking into @agentofuser's ipfs-deploy tool https://github.com/agentofuser/ipfs-deploy, I believe it fits this usecase and works extremely well!
Additionally, https://fleek.co/ took it to the next level and made website hosting super easy!
Most helpful comment
Really worth looking into @agentofuser's ipfs-deploy tool https://github.com/agentofuser/ipfs-deploy, I believe it fits this usecase and works extremely well!