Skip to content

PocketbaseExtended

Connect your Arduino-compatible boards to PocketBase — full CRUD, auth, and structured error handling with zero heavy dependencies.

Full CRUD

Create, read, update, and delete records across any PocketBase collection with a clean chainable API.

Authentication

Log in with email/password. Tokens are stored and sent automatically — including token refresh for long-running devices.

Structured Responses

Every operation returns a PBResponse with ok, statusCode, body, and error — no guessing from raw strings.

ESP8266 & ESP32

Conditionally compiled for both platforms. Uses only the platform's built-in HTTP stack — no extra libraries needed.

Debug Logging

Toggle setDebug(true) to stream request URLs, status codes, and response bodies to Serial during development.

Backward Compatible

PocketbaseArduino alias retained so existing v0.x sketches work without changes.

AI-Friendly Docs

Every page is available as raw Markdown for LLMs and agents, plus a full llms.txt index. Learn more.