Start write chatbots with urban-bot and typescript
- node >=16.20.0
yarn install
Create .env from .env.example then run below command
yarn dev
yarn test
- Get telegram token
- Paste token to
.env
TELEGRAM_TOKEN=YOUR_TOKEN
- Uncomment
// import './render/telegram';
insidesrc/index.ts
- Run
npm run dev
and check your bot
- Create slack app
- Paste token to
.env
SLACK_TOKEN=YOUR_TOKEN
- Paste signing secret to
.env
SLACK_SIGNING_SECRET=YOUR_SIGNING_SECRET
- Run
npm run start-tunnel
and connect the public url with slack webhook. - Uncomment
// import './render/slack';
insidesrc/index.ts
- Run
npm run dev
and check your bot
- Create facebook app
- Paste credentials to
.env
- Run
npm run start-tunnel
and connect the public url with facebook webhook. - Uncomment
// import './render/facebook';
insidesrc/index.ts
- Run
npm run dev
and check your bot
- Website: https://productsway.com/
- Github: @jellydn
- Urban Bot · The universal chatbot library based on React.
- egoist/tsup: The simplest and fastest way to bundle your TypeScript libraries.
- jellydn/chatbot-starter-app: Develop chatbot with zero configuration using typescript
Give a ⭐️ if this project helped you!
This project is MIT licensed.