Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mattazz/irccbackend
Telegram bot that provides updated IRCC news, latest draws, and analyzes draws all on Telegram.
https://github.com/mattazz/irccbackend
expressjs heroku-deployment javascript scraping telegram-bot-api
Last synced: 11 days ago
JSON representation
Telegram bot that provides updated IRCC news, latest draws, and analyzes draws all on Telegram.
- Host: GitHub
- URL: https://github.com/mattazz/irccbackend
- Owner: mattazz
- Created: 2024-11-19T20:18:47.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2025-01-20T17:16:29.000Z (17 days ago)
- Last Synced: 2025-01-20T18:25:54.374Z (17 days ago)
- Topics: expressjs, heroku-deployment, javascript, scraping, telegram-bot-api
- Language: JavaScript
- Homepage: https://t.me/IRCCNewsBot
- Size: 12.2 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.MD
Awesome Lists containing this project
README
# About
Telegram bot that provides updated IRCC news through an RSS Feed.
Welcome to the IRCC News Bot! 🤖🇨🇦
Stay up-to-date with the latest Immigration, Refugees, and Citizenship Canada (IRCC) news and updates.
Here are some commands you can use:
- /help - List down all the possible commandsNews:
- /latest_news - Get the latest news
- /month [month] - Get news for a specific month (e.g., /month January)
- /full - Get the full news feedDraws:
- /last_draws - Get the last 5 IRCC draws
- /draws [number] - Get the last [number] IRCC draws
- /filter_draws [class] - Filter draws by class and shows the last 10 draws (e.g., /filter_draws CEC)
Filter Draw codes:
"CEC" - Canadian Experience Class
"FSW" - Federal Skilled Worker
"FST" - Federal Skilled Trades
"PNP - Provincial Nomination Program# Updates
**November 21, 2024**- **Analyzer Enhancements**: Improved the analyzer to evaluate draws based on sufficient data points within each draw class.
- **Chart Display Logic**: Added logic to conditionally display charts only when there are enough data points.
- **Error Handling**: Revamped error handling mechanisms across the application for better reliability.# Todo
## Logs
- [x] Add creation of local log files for metrics tracking (Daily log files in a log folder) -> Function is there, but can't log in heroku without using add-ons or something like AWS S3
## Draws
- [x] Consider changing from polling to webhook for lower server usage
- [x] Draw report
- [x] Filter draws by class
- [x] Specify occupations part of the draw
- [ ] Add link to the draw
- [ ] Add scheduled db upload of most recent draws, and replace the bot message with a query to the db instead of a scrape
## Analyzer
- [ ] Evaluate the accuracy of the rolling average
## News
- [x] Add press meeting news and other relevant news
- [ ] Change /latest_speech to only show the current month news## Chart
- [x] Improve chart headline to include specific draw class
- [x] Improve styling of chart (red primary color)## Test Branches
- [x] FAQ Menu feat/faqmenu
- [x] Search news by keyword feat/menusearch