Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>DHostNew to Visual Studio Code? Get it now.
DHost

DHost

P2P Labs: DHost

|
406 installs
| (1) | Free
Instantly publish static websites to IPFS
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

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 deafault 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
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft