Skip to main content

Publish Your App

The application page provides everything you need to write, test, and deploy code to your ESP32 devices.

Code Editor

The code editor includes:

  • File browser showing your project files
  • Language selection dropdown to choose your programming language
  • Example code templates to get you started
  • Syntax highlighting and error detection as you type

Publishing Your Code

When you're ready to run your code on devices:

  1. Write your code in the editor
  2. Save changes with Ctrl+S (saves locally)
  3. Click "Publish to devices" to deploy to all connected ESP32s
  4. See your code run on the devices immediately

Deployment

  • Ctrl+S saves your code changes
  • "Publish to devices" sends your code to all assigned ESP32 devices
  • Fleet management - update multiple devices with one click
  • Instant updates - your code runs immediately on all target devices
  • No device restart needed when updating code

Entry Points

Each language needs a main function where your code starts:

  • C/C++: int main()
  • Rust: fn main()
  • AssemblyScript: export function main()
  • TinyGo: func main()
  • Zig: pub fn main()
  • JavaScript: function main()

Your main function runs when the device starts or when you publish an update.