Skip to content

Telegram bot to track latest drafts for Canadian Immigration Process

License

Notifications You must be signed in to change notification settings

Gotfrid/canada-immigration-bot

Repository files navigation

Canada Immigration Bot

Reference

Telegram Bot on Supabase Edge example

Tooling

  1. Docker
  2. Supabase CLI
  3. Deno
  4. Github Actions
supabase login
supabase projects list
supabase link --project-ref

Telegram bot

Set telegram bot to serverless mode

https://api.telegram.org/botBOT_TOKEN/setWebhook?url=https://PROJECT_RED.supabase.co/functions/v1/telegram-bot?secret=MY_SECRET

Deploy telegram bot on supabase edge function

supabase functions deploy --no-verify-jwt telegram-bot

Data Update

Compile deno script

// #TODO: if it's not possible to have a smaller bundle, then it doesn' make sense.

deno compile -A --output ./.github/workflows/update_data github_action.ts

About

Telegram bot to track latest drafts for Canadian Immigration Process

Topics

Resources

License

Stars

Watchers

Forks