/my-bot

Build your own army.

Primary LanguageTypeScript

image

my-bot

Free, open source chatbot personal assistant with customizable scripts.

Screenshots:

  • talk with your bot:

image

  • use chatbot when you talking with friends:

image

Technology Stack

  • Server: Typescript + Express + Notion API + OpenAI API
  • Deployment: Github Actions + Fly.io + Vercel
  • UI: React + Next.js + Tailwindcss
  • Cron: mergent

Todo:

work and read:

  • openAI API integration
  • todo list

image

sync to notion database:

image

  • [Zoom chat] integration
  • RSS feed
  • support save to notion
  • webhooks
  • generate weekly report read list
  • telegram bot integration
  • midjourney integration
  • sync twitter favorite to notion
  • read article and generate summary and save to notion

health:

  • support cron job

image

  • weather daily alert

image

  • stock and crypto price alert
  • drink water reminder
  • sedentary reminder

develepment exprience improvement

Installation:

  • sign up notion and openAI

  • sign up vercel and fly.io

  • config zoom apps in zoom marketplace

  • input env variables in .env file ./packages/api-server:

zoom_client_id=*****
zoom_client_secret=*****
zoom_bot_jid=*****@xmpp.zoom.us
zoom_verification_token=*****

API_HUB_URL=https://api-hub.fly.dev/subscribe // prevent openAI api timeout 

OPENAI_API_KEY=*******

NOTION_API_KEY=*****
NOTION_DATABASE_ID=****

WEATHER_API_KEY=***** // http://api.openweathermap.org

pnpm i 

deploy to vercel and fly.io

Config:

image

Usage:

Reference:

https://github.com/RainEggplant/chatgpt-telegram-bot

https://github.com/yagop/node-telegram-bot-api

https://github.com/FranP-code/Open-Telegram-to-Notion-Bot

https://github.com/Hayden-MP/Notion-database

https://medium.com/zoom-developer-blog/how-to-build-a-zoom-chatbot-c668b7361adb

License

MIT