Skip to content

iamvon/thrust-vscode-extension

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Thrust

drawing

The Thrust extension helps Web Developers quickly and easily publish their static websites to IPFS & Filecoin blockchain network using Web3 Storage service maintained by Protocol Labs.

How to use Thrust

You can see a quick demo here.

  1. Creating a Web3 Storage account

    Go to https://web3.storage/login and create your own Web3 Storage account. Now, you will have 1 TB of free space to host your static websites.

  2. Getting a Web3 Storage API token

    After you have an account in the above step, you need to create an API token to use Thrust extension. Go to https://web3.storage/account, then click Create an API token to generate a new API token.

    Attention: Please keep your Web3 Storage API token private and make sure you keep it in a secure place where you can copy whenever needed.

  3. Settings your Web3 Storage API token and Publish Folder

    You can find the Thrust settings in VS Code's Command Palette.

    Thrust Command Palette

    Now, choose the Thrust Settings Command and complete 2 settings.

    Thrust Settings Command

    In the settings, the API Token is the Web3 Storage API token you created in the Step 2, and the Publish Folder is your folder containing the static website code that you need to publish.

  4. Publish your static website

    After completing the settings in the Step 3, now you can publish your static website easily by choosing to run thrust.publish command in the VS Code's Command Palette.

    Thrust Settings Command

    The publishing takes some time to process, please wait patiently for a moment.

    Thrust Settings Command After successful publishing, Thrust gives you the CID of your static website and you can access it from anywhere on the Internet. You can also find all the previously published static websites at https://web3.storage/files.

License

Click the following hyperlink to view the license.

For more information

You can checkout the source code and contribute on:

Enjoy!