15 Commits

Author SHA1 Message Date
vchikalkin
e9146a0656 feat(youtube): refactor download logic and integrate new API
- 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:28:53 +03:00
Vlad Chikalkin
9a504c10a3
fix: use downr.org to download from instagram source (#6) 2026-01-20 18:25:53 +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
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
048779cfeb fix download from tiktok 2025-09-12 14:31:53 +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
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
7e1ed52725 project: migrate to monorepo 2025-08-15 13:06:04 +03:00