Welcome to Blockless Wizard, a powerful VS Code extension designed to streamline the development and deployment of decentralized, serverless applications on the Blockless Network. By integrating common Blockless CLI commands and workflows directly into VS Code, this extension simplifies your development process, allowing you to execute complex tasks with minimal effortโwithout leaving your editor.
- Automatic Installation: Install the Blockless CLI directly from VS Code without manual commands.
- Supports installation via
curlorwgeton macOS and Linux. - Provides guidance for Windows users to install the CLI manually.
- Supports installation via
- Quick Start Projects: Initialize new projects like decentralized functions or static websites directly from VS Code.
- Choose from frameworks such as AssemblyScript, Rust, React, Vite, and more.
- Select starter templates, including "Hello World" examples.
- Guided Setup: After project initialization, the extension guides you through setup and management.
- Automatically change directories, install dependencies, and run development servers.
- Build and prepare your projects with ease.
- One-Click Deployment: Deploy Blockless Functions or Static Sites to the Blockless Network directly from VS Code.
- Eliminate the need to switch to the terminal for deployment commands.
- Receive real-time feedback on deployment success or failure.
- Seamless CLI Access: Access key Blockless CLI commands within VS Code's Command Palette.
- Login: Authenticate with the Blockless Network via wallet connection.
- Invoke and Test: Run and test functions before deployment.
- Deployment: Deploy applications and view results, including invocation URLs.
- In-Editor Preview: Preview and test your applications locally before deploying.
- After building a static site, preview it at a local address (e.g.,
http://localhost:3000) directly within VS Code.
- After building a static site, preview it at a local address (e.g.,
- Visual Studio Code version 1.60.0 or higher.
- Node.js version 12.x or higher (for Node.js-based projects).
- Blockless CLI (if not already installed, the extension can install it for you).
- Internet Connection: Required for installing dependencies and deploying to the Blockless Network.
- Open VS Code.
- Go to the Extensions view (
Ctrl+Shift+XorCmd+Shift+Xon macOS). - Search for "Blockless Wizard".
- Click Install.
-
Automatic Installation:
- Upon first use, if the Blockless CLI is not detected, the extension will prompt you to install it.
- Follow the on-screen instructions for automatic installation (macOS and Linux).
-
Manual Installation (Windows):
- Windows users will be directed to the Blockless CLI Installation Guide for manual setup.
- Open the Command Palette (
Ctrl+Shift+PorCmd+Shift+Pon macOS). - Type "Blockless: Initialize Project" and select it.
- Choose Project Type:
- Select Blockless Function or Blockless Site.
- Select Framework:
- Options include AssemblyScript, Rust, React, Vite, etc.
- Choose Starter Template:
- Pick from available templates (e.g., "Hello World").
- Specify Project Name:
- Enter a name for your new project.
- The extension will:
- Create the project directory.
- Install necessary dependencies.
- Set up the development environment.
- Open the Command Palette.
- Type "Blockless: Deploy Application" and select it.
- The extension will:
- Build your project if necessary.
- Deploy it to the Blockless Network.
- Provide feedback on deployment status.
- Display the invocation URL or endpoint.
-
If not already authenticated:
- Open the Command Palette.
- Type "Blockless: Login" and select it.
- Follow prompts to connect your wallet and authenticate.
- Open the Command Palette.
- Type "Blockless: Start Local Preview" and select it.
- The extension will:
- Start a local development server.
- Open the application in your default browser or provide a local URL.
This extension contributes the following settings:
-
blocklessWizard.autoInstallCLI: Automatically install the Blockless CLI if not detected.- Type:
boolean - Default:
true
- Type:
-
blocklessWizard.defaultFramework: Set your preferred default framework for new projects.- Type:
string - Options:
"AssemblyScript","Rust","React","Vite", etc. - Default:
"AssemblyScript"
- Type:
-
blocklessWizard.showDeploymentNotifications: Show notifications after deployment.- Type:
boolean - Default:
true
- Type:
- Windows CLI Installation: Automatic CLI installation is not available on Windows. Users must install the Blockless CLI manually.
- Framework Compatibility: Some frameworks may have limited support. Refer to the Blockless Documentation for details.
- Deployment Errors: Network issues may cause deployment failures. Ensure a stable internet connection.
- Blockless CLI Not Found:
- If automatic installation fails, manually install the CLI from the Blockless CLI GitHub Repository.
- Authentication Issues:
- Ensure your wallet is properly set up and connected.
- Check for any network restrictions or firewall settings blocking the authentication process.
- Command Failures:
- View the Output panel in VS Code for detailed error logs.
- Verify that all dependencies are installed and up to date.
- Initial Release:
- Automatic Blockless CLI installation.
- Project initialization with multiple frameworks.
- Integrated deployment and local preview.
- In-editor access to Blockless CLI commands.
We welcome contributions! If you encounter issues or have feature requests, please submit them via the GitHub Issues page.
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Commit your changes with clear messages.
- Submit a pull request to the main branch.
This extension is licensed under the MIT License.
Thank you for using Blockless Wizard! We hope this extension enhances your development experience on the Blockless Network.
Feel free to reach out with any questions or feedback.