- Register a Telegram account
- You need to get Twitter developer account, so that you can parse tweets with their API
- You also need to create API key for Notion page, but that's not so hard
- Register Cloudflare account, install their CLI
- Install ngrok
- Create Telegram bot
- Create Cloudflare Worker
- Create Notion Database
- Look for
ENVIRONMENT
type insrc/types.ts
and set all secrets withwrangler secret put SECRET_SOMETHING
npm i
wrangler dev
ngrok http http://localhost:8787
- Get that url
- Visit Telegram Bot SDK and setWebhook
- Now you can write to this bot! No this one, but the one you create