megachangelog
Feature

Scaffold chat apps with create-chat-sdk

Create-chat-sdk is a new CLI tool that scaffolds complete chat bot projects in a single command, with configurable platform adapters (Slack, Discord, etc.), state adapters (Redis, etc.), and pre-configured webhook routes. All prompts can be skipped with flags for scriptable, CI-friendly automation.

Creating a new bot now takes a single command.Chat SDK

scaffolds a complete project with your chosen platform adapters, a state adapter, environment variables, and a webhook route.create-chat-sdkNext.js

The CLI walks you through selecting your (e.g., Slack and Discord) and a (e.g., Redis), then installs the dependencies for you.platform adaptersstate adapter

For example, scaffold a Slack and Discord bot with Redis in one command:

Read the to get started.documentation

Read more

  • with and handlers, a populated , and a pre-configured .Everything wired up: src/lib/bot.tsonNewMentiononSubscribedMessage.env.examplenext.config.ts

  • combine any of the official or vendor-official platform and state adapters into a single project. The CLI installs only what you select.Pick your stack:

  • every prompt can be skipped with flags, so works with your AI agents and in CI. Coding agents are automatically detected, so the CLI runs non-interactively when they scaffold your application.Fully scriptable: create-chat-sdk

clichat-sdkscaffoldingbotsnext.js

Source: original entry ↗