Skip to content

🤹‍♀️ Playground exploring various ways of automating deployment of a static website to IPFS.

Notifications You must be signed in to change notification settings

kremalicious/ipfs-hosting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IPFS hosting

Playground exploring various ways of automating deployment of a static website to IPFS.

js ascribe

file description
deploy.sh Simple bash script using locally installed ipfs daemon
deploy.js Deploy from Node.js via js-ipfs-api & js-ipfs

Scope

Every way needs to go from build output to live:

  • add dist/ folder and contents to IPFS
  • output the final IPFS url
  • write IPFS hash into versions/current and add to versions/history
  • DNS either via IPNS or DNS provider API calls
  • consider to be run in a CI context

DNS settings

CNAME: `subdomain.domain.com` -> `gateway.ipfs.io`
TXT: `_dnslink.subdomain.domain.com` -> `dnslink=/ipns/<peer_id>`

Further reading

Authors

About

🤹‍♀️ Playground exploring various ways of automating deployment of a static website to IPFS.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published