← Back to Plugins
Channels

Superchat Openclaw Channel

Anou4r By Anou4r 👁 55 views ▲ 0 votes

OpenClaw channel plugin for Superchat (Express/Node.js)

GitHub

Install

npm install
PORT=8787

Configuration Example

{
  "api_key": "YOUR_SUPERCHAT_API_KEY",
  "api_base": "https://api.superchat.com/v1"
}

README

# openclaw-superchat-channel

An OpenClaw channel plugin for Superchat (Node.js / Express).

Skeleton implementation: receives Superchat webhooks, exposes a local `/send`
helper, and logs incoming messages for OpenClaw to pick up.

## Status

Early skeleton. Webhook authentication and production error handling are not
implemented yet.

## Files

- `index.js` — Express server: `/health`, `/incoming`, `/send`
- `SKILL.md` — skill notes and usage
- `package.json` — Node metadata

## Configuration

Credentials are read at runtime from `~/.config/superchat/credentials.json`
(never committed):

```json
{
  "api_key": "YOUR_SUPERCHAT_API_KEY",
  "api_base": "https://api.superchat.com/v1"
}
```

Optional environment variables:

- `SUPERCHAT_API_BASE` — override the API base URL
- `SUPERCHAT_OUTGOING_WEBHOOK` — outgoing webhook target
- `PORT` — listen port (default `8787`)

## Usage

```bash
npm install
PORT=8787 node index.js
```

Endpoints:

- `GET  /health` — health check
- `POST /incoming` — Superchat webhook receiver
- `POST /send` — send a message via the Superchat API

## License

Internal / personal project — no license granted.
channels

Comments

Sign in to leave a comment

Loading comments...