38 Commits

Author SHA1 Message Date
vchikalkin
4e5631487f feat: add support for donation link in bot descriptions and update short descriptions 2026-02-17 23:50:28 +03:00
Vlad Chikalkin
7cc225ca47
feat(youtube): refactor download logic and integrate new API (#7)
- Added optional YTDLP_PATH environment variable to configure yt-dlp path.
- Removed old youtube download utility and replaced it with a new API-based approach.
- Implemented new functions to fetch YouTube video download URLs using an external service.
- Introduced yt-dlp integration for fallback download method.
- Created a structured response for video information retrieval.
- Enhanced error handling for video duration and response validation.
2026-02-17 23:32:35 +03:00
vchikalkin
88aa8eb34a fix: instagram reels download 2026-01-20 20:16:29 +03:00
Vlad Chikalkin
9a504c10a3
fix: use downr.org to download from instagram source (#6) 2026-01-20 18:25:53 +03:00
vchikalkin
8a8a21b155 refactor: extract download logic and clean up caption handling 2026-01-15 12:16:47 +03:00
vchikalkin
1f5b4073e0 refactor: remove unnecessary comments and improve code clarity in download feature 2026-01-15 12:04:57 +03:00
Vlad Chikalkin
8919fbb65f
Feature/send post description (#5)
* feat: enhance download feature with caption support for Instagram

* feat: improve message handling with enhanced caching and error management

* feat: add hashtag removal utility and integrate it into caption formatting

* fix: bot sent caption without content from cache

* feat: refactor Instagram download URL handling to simplify video response structure
2026-01-14 18:26:24 +03:00
vchikalkin
ce78952fec chore: fix code with applied eslint rules 2026-01-14 12:23:58 +03:00
Vlad Chikalkin
4d5e10d37c
Revert "feat: use yt-dlp as default download tool with fallback (#3)" (#4)
This reverts commit 46712450b26cb834c4157fff1bf0667a0b829aa4.
2026-01-11 21:06:55 +03:00
Vaagn Avanesyan
46712450b2
feat: use yt-dlp as default download tool with fallback (#3)
* refactor: simplify conditions

* feat: use yt-dlp as default download tool with fallback

* feat: use ytdlp-nodejs instead of direct call
2026-01-11 20:22:27 +03:00
vchikalkin
e79b0216b2 feat: enhance error handling and add limits for video downloads 2025-12-26 16:44:12 +03:00
vchikalkin
4015b6c872 feat: add YouTube support to download messages in English and Russian locales 2025-12-26 15:39:36 +03:00
vchikalkin
8eaa27e8b2 fix: remove try/catch from getYoutubeDownloadUrl 2025-12-26 15:36:58 +03:00
vchikalkin
c4339f67cb feat: add YouTube download support and validation 2025-12-26 15:28:52 +03:00
vchikalkin
2a77cc841b feat: add Instagram video and image download support 2025-12-19 13:26:43 +03:00
vchikalkin
75fa71a9b5 update support contact 2025-09-17 14:15:55 +03:00
vchikalkin
048779cfeb fix download from tiktok 2025-09-12 14:31:53 +03:00
vchikalkin
9a3b3d6bad refactor: global error handling 2025-09-12 13:58:26 +03:00
vchikalkin
7a08f968f4 refactor: disable sequentialize & session 2025-08-25 11:07:51 +03:00
vchikalkin
44978c8b7f feat: add global error handling for the bot to log unhandled rejections and exceptions; improve error logging for Grammy bot errors 2025-08-23 18:31:01 +03:00
vchikalkin
9f7412df6b refactor: update bot feature integration to explicitly register welcome, download, and unhandled features; improve code clarity 2025-08-23 17:50:47 +03:00
vchikalkin
8d0c1f6d2b refactor: streamline feature integration in bot by using a loop for feature registration; add unhandled feature handling 2025-08-23 17:00:46 +03:00
vchikalkin
5396a83150 bot: set commands & info only at run 2025-08-18 13:53:19 +03:00
vchikalkin
581e5a7802 localization: enhance bot descriptions and short descriptions in English and Russian for improved user clarity; update error message for download links 2025-08-18 12:48:20 +03:00
vchikalkin
e4233c506b feat: update bot dependencies to include @grammyjs/runner and @grammyjs/storage-redis; enhance session management and rate limiting configuration 2025-08-16 16:43:12 +03:00
vchikalkin
e308ba74ea feat: implement update logger middleware to enhance bot API call tracking and performance measurement 2025-08-16 15:51:24 +03:00
vchikalkin
c115be2e52 feat: add @grammyjs/commands dependency and implement command handling in the bot; enhance localization with start command descriptions in English and Russian 2025-08-16 15:32:07 +03:00
vchikalkin
004d20ba43 localization: use dash-case for variables names 2025-08-16 14:28:32 +03:00
vchikalkin
e029fd1172 localization: add welcome message in English and Russian to enhance user interaction; ensure consistency in error messages 2025-08-16 14:24:30 +03:00
vchikalkin
162f4d0f85 localization: update error message keys in English and Russian for consistency; adjust bot response logic to use new keys 2025-08-16 14:02:45 +03:00
vchikalkin
7e16c10a9e localization: enhance error messages in English and Russian with clearer instructions and emojis for better user experience 2025-08-15 19:09:40 +03:00
vchikalkin
8df2c47e1a refactor: improve error handling and code readability in download feature; streamline URL validation and response logic 2025-08-15 18:59:45 +03:00
vchikalkin
d1620df932 deploy: add github workflows
Some checks failed
Build & Deploy Bot / Build and Push to Docker Hub (push) Has been cancelled
Build & Deploy Bot / Deploy to VPS (push) Has been cancelled
2025-08-15 18:25:53 +03:00
vchikalkin
00dab85d2f feat: add rate limiting functionality to bot; update localization files for limit exceeded messages in English and Russian 2025-08-15 18:06:23 +03:00
vchikalkin
ae48a23896 refactor: implement Redis singleton pattern for improved connection management; enhance graceful shutdown handling in bot 2025-08-15 17:45:46 +03:00
vchikalkin
463bdfd089 docker-compose: add Redis service and update bot configuration for caching; integrate Redis in download feature for improved performance 2025-08-15 17:23:55 +03:00
vchikalkin
0b6c4427c9 docker-compose: fix build 2025-08-15 14:09:38 +03:00
vchikalkin
7e1ed52725 project: migrate to monorepo 2025-08-15 13:06:04 +03:00