Zero-Config CLI to Deploy Static Websites to IPFS.
Upload static website to IPFS pinning services and optionally update DNS.
The goal of ipfs-deploy
is to make it as easy as possible to deploy a static website to IPFS.
Install
npm install -g ipfs-deploy
You can call it either as ipd
or as ipfs-deploy
:
ipd public/
ipfs-deploy public/
You can run it directly with npx so you don't need to install it:
npx ipfs-deploy _site
It will deploy to a public pinning service and give you a link to ipfs.io/ipfs/QmHash
so you can check it out.
Usage
Please check md/usage.md for further information!
API
There is an API so, however it is somewhat unstable and subject to change.
Please check md/api.md for further information!
Contributing
Please check md/contributing.md for further information!
Users
- agentofuser.com
- jaack.me
- kevincox.ca
- xkcd.hacdias.com
- Your website here
If you use this package to deploy your website, please send a pull request so I can add it to the Users section in the README. (I reserve the right to exercise discretion.)
from https://github.com/ipfs-shipyard/ipfs-deploy
------
幸好,ipfs-deploy 的出现使网站主能够方便地提交网站以及更新 DNS 记录(用于 IPNS)。
No comments:
Post a Comment