Skip to main content

Local Development

Instead of using the web-based editor, you can develop Flibbert applications locally using VS Code and devcontainers. This gives you the full power of your local IDE while still deploying to ESP32 devices.

Devcontainers

Flibbert provides ready-to-use devcontainers for all supported programming languages. These containers include all necessary tools and dependencies pre-configured.

Available Devcontainers

Getting Started

  1. Install VS Code and the Dev Containers extension

  2. Clone a devcontainer for your preferred language:

    git clone https://github.com/karaxuna/flibbert-devcontainer-zig.git
    cd flibbert-devcontainer-zig
  3. Open in VS Code and select "Reopen in Container" when prompted

  4. Configure your device by editing the .env configuration file with your device credentials

  5. Start coding - changes are automatically pushed to your ESP32 device on save!

How It Works

  • Local Development: Write code using your favorite VS Code extensions and tools
  • Auto-sync: File changes trigger automatic compilation and deployment to your ESP32
  • Live Updates: Your device receives updates instantly without manual deployment
  • Full IDE Power: Debugging, IntelliSense, extensions, and all VS Code features

Benefits

  • Faster Development: No internet lag, use your local tools
  • Offline Capable: Work without internet connection (except for device deployment)
  • Advanced Debugging: Use language-specific debugging tools
  • Version Control: Full Git integration and local file management
  • Custom Extensions: Use any VS Code extensions you prefer

Requirements

  • Docker Desktop
  • VS Code with Dev Containers extension
  • ESP32 device connected to your network
  • Flibbert account for device authentication