Docs

GoodVibesLab Comments is a hosted, multi-tenant comments system (API + SDKs) with moderation, reporting, pagination and a customizable UI.

Flutter SDK

Install, configure and ship a production-ready comments UI.

→

React SDK

Add comments to the web with the React package.

→

Flutter Quickstart

A production-ready Flutter client for the GoodVibesLab Comments SaaS — offering fast, multi-tenant comments with moderation, AI review, reporting, pagination and customizable UI.

Installation

Add the package locally or via pub.dev:

dependencies:
  comments_client:
    path: packages/comments_client

Then:

flutter pub get

Setup

  1. Create an account on the dashboard.
  2. Retrieve your API key (starts with cmt_live_XXX).
  3. Get your Thread ID (UUID) from the dashboard.
  4. Instantiate the client:
final client = CommentsClient(
  baseUrl: 'https://your-deployment.vercel.app',
  apiKey: 'cmt_live_xxx',
  externalUser: CommentsExternalUser(
    id: 'user-123',
    name: 'Ada Lovelace',
    avatarUrl: 'https://example.com/avatar.png',
  ),
);

Listing Comments

final comments = await client.listComments(
  threadId: '4e9e9b31-bbe2-4e62-a836-8d361521b3a0',
);

Creating a Comment

final created = await client.createComment(
  threadId: '4e9e9b31-bbe2-4e62-a836-8d361521b3a0',
  body: 'First! 🎉',
);

Concepts

API Key

Issued from the dashboard. Used by SDKs to authenticate requests (e.g. cmt_live_…).

Thread ID (UUID)

The REST API requires the internal UUID (not a user-friendly key). Get it from the dashboard.

Tenant Isolation

Data is tenant-isolated with strict RLS. The client injects tenant and external user identifiers automatically.

External User

Your app’s user identity (id, optional name, avatarUrl) attached to comments.