Welcome to chatbot-starter-app 👋
Develop chatbot with zero configuration using typescript
Prerequisites
- node >=16.20.0
Install
pnpm install
Usage
git clone https://github.com/jellydn/chatbot-starter-app.git
Create .env from .env.example then run below command
pnpm dev
Run tests
pnpm test
How to setup
Telegram
- 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
Discord
- Get discord token
- Paste token to
.env
DISCORD_TOKEN=YOUR_TOKEN
- Uncomment
// import './render/discord';
insidesrc/index.ts
- Run
npm run dev
and check your bot
Slack
- 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
Author
👤 Dung Huynh
- Website: https://productsway.com/
- Twitter: @jellydn
- Github: @jellydn
Show your support
Give a ⭐️ if this project helped you!