Getting Started

Welcome to the ZBR Webapp! This guide helps you get started with visual bot development and instant cloud hosting.

Development Workflow

  1. Access the Webapp: Visit https://zbr-webapp.vercel.app.
  2. Create or Import:
    • Create a new project from scratch.
    • Import an existing ZBR project folder.
  3. Build Your Bot:
    • Add/edit commands using the visual editor.
    • Configure bot variables and change statuses.
  4. Launch Instantly:
    • Press the Run button to launch your bot in the ZBR cloud.
    • Your bot is now live and ready for testing!

24/7 Hosting

The Webapp “Run” button is perfect for rapid prototyping and testing. If you want to host your bot permanently:

  1. Export: Export your project as a ZIP file.
  2. Install CLI: Ensure the ZBR CLI is installed on your server:
    npm i -g @zbrlang/zbr
  3. Run: Extract the ZIP and run zbr run to host it yourself.

Writing Your Code

When using the Webapp editor, you only need to write the raw ZBR code logic. The Webapp’s UI handles all necessary command configurations (triggers, names, types, etc.) for you.

Example Code

Focus purely on your logic:

// Simply write your code here
Hello, Zusername!