Skip to content

Latest commit

 

History

History
80 lines (46 loc) · 2.94 KB

README.md

File metadata and controls

80 lines (46 loc) · 2.94 KB

DHost

Version Installs Rating License

DHost VS Code Extension allows you to instantly publish static websites to IPFS by using web3.storage. Now you can publish and share your websites quickly with anyone in the world!

Steps to use

Open command palette

  • Windows & Linux: Ctrl + Shift + P
  • MacOS: Command + Shift + P

1. Submit web3.storage API key

First, generate the web3.storage API key:

  • Go to web3.storage and Sign In.
  • Click on Accounts and select Create an API Token.
  • Copy the API Token and paste it in the input field.

Now, to enter your web3.storage API token, type dhost.token command.

Paste the copied web3.storage API token here:

On entering the API key, the "API token saved!" popup will appear.

2. Select the folder (optional)

The extension automatically sets the default folder as your current VS Code worskspace folder.

OR

You can manually select the folder of your static website by dhost.select command.

After selecting folder, the "Folder selected!" popup will appear.

3. Publish to IPFS

Now, publish your static website by dhost.publish command.

It'll take a few seconds to publish.

After publishing successfully, it'll show the IPFS CID of your website and an option to open the website (IPFS gateway URI).

If you have any queries, then create a discussion thread.

License

DHost is licensed under the MIT License.


Don't forget to leave a star ⭐️ ~ twitter