https://github.com/gotfrid/canada-immigration-bot
Telegram bot to track latest drafts for Canadian Immigration Process
https://github.com/gotfrid/canada-immigration-bot
aws nodejs telegram-bot
Last synced: 8 months ago
JSON representation
Telegram bot to track latest drafts for Canadian Immigration Process
- Host: GitHub
- URL: https://github.com/gotfrid/canada-immigration-bot
- Owner: Gotfrid
- License: mit
- Created: 2022-08-29T07:22:10.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2025-10-15T19:00:39.000Z (9 months ago)
- Last Synced: 2025-10-16T19:59:57.219Z (9 months ago)
- Topics: aws, nodejs, telegram-bot
- Language: TypeScript
- Homepage:
- Size: 13.5 MB
- Stars: 6
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Canada Immigration Bot
## Reference
[Telegram Bot on Supabase Edge example](https://github.com/supabase/supabase/blob/master/examples/edge-functions/supabase/functions/telegram-bot/README.md)
## Tooling
1. Docker
2. Supabase CLI
3. Deno
4. Github Actions
```sh
supabase login
supabase projects list
supabase link --project-ref
```
## Telegram bot
### Set telegram bot to serverless mode
```sh
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
```sh
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.
```sh
deno compile -A --output ./.github/workflows/update_data github_action.ts
```