Super excited to announce the release of version 1.1.0-beta.5 of the create-openchat-bot CLI toolkit
Instantly create openchat bots from your terminal.
Prerequisites:
You’ll need to have dfx cli and rust installed first before using the templates
Installation:
Install the package globally
npm install -g create-openchat-bot
Usage:
npx create-openchat-bot
This will:
- Ask you which type of bot you want to create (offchain or onchain) - the next version will have the specific languages i.e Motoko, Typescript or Rust.
- Ask for your bot’s name
- Create a new directory with the template
- Set up the necessary configuration
- Run the appropriate setup script
- Display the bot URL (for a canister bot) or the command for starting your bot server (for your off-chain bot)
Registering your bot:
Now you can easily register a bot on oc mainnet (no need to run open chat locally) using the steps here
Full link to the package can be found here
Side note: The package is currently in beta mode for testing purposes and only supports the Rust SDK. The Motoko and TypeScript SDKs are in the pipeline.
Looking forward to your feedback!