SDKs
SDKs.
The supported JavaScript install is available today as campfire-widget. It creates a workspace, generates framework-specific snippets, and includes the React runtime. Server-side integrations use the public HTTP API and signed webhooks.
Planned libraries
- JavaScript / TypeScript
campfire-widgetAvailableCLI installer, Next.js and React snippets, widget runtime, and install verification.
- Python
campfire-sdkPlannedSync and async clients, Flask/FastAPI webhook helpers.
- Ruby
campfirePlannedRack middleware for webhook verification.
- Go
github.com/campfire-is/campfire-goPlannedIdiomatic client with context-aware cancellation.
Install today
Start with the CLI. It detects your framework, creates a safe install session, and writes the snippet into .campfire/.
npx campfire-widget@latest init
npx campfire-widget doctorFor an existing Next.js App Router app, render the generated runtime once near the application root:
'use client';
import { CampfireWidget } from 'campfire-widget/react';
export function SupportWidget() {
return <CampfireWidget installToken="YOUR_INSTALL_TOKEN" />;
}- Quickstart — four-step round trip.
- API reference — public v1 routes and resource conventions.
- Webhooks — event catalogue and verification examples in Node and Python.
More languages
Python, Ruby, and Go clients are planned. Until then, use any HTTP client against the API and the signed webhook examples. We announce supported packages in the changelog.