Skip to main content
Lark supports two ways to connect: the Lark SDK (a lightweight, purpose-built client) and the Firebase SDKs (drop-in compatibility with your existing Firebase code). You can also use the REST API from any language or platform.

Client SDKs

REST API

The REST API works from any language or platform that can make HTTP requests: Python, Ruby, Go, Java, shell scripts, serverless functions, or anything else. It’s 100% compatible with the Firebase Realtime Database REST API.

How to choose

  • If you’re building a JavaScript / TypeScript app, the Lark SDK is the best choice. It’s smaller (~20KB), supports WebTransport for lower latency, and has built-in support for volatile paths. If you’re migrating an existing Firebase app, the Firebase JS SDK works too. Just change the URL.
  • For mobile or game engines, use the Firebase SDK for your platform. Change the database URL and everything works.
  • For server-side or scripting, use the REST API. No SDK needed.

What’s next

Quickstart

Create a project and build your first real-time app in minutes.

Platform concepts

Understand Lark’s data model, security rules, and real-time features.