1.1 KiB
1.1 KiB
YouTube Abandonment Decision - August 27, 2025
Decision Made
Abandon YouTube integration completely and switch to SoundCloud for the Quixotic Telegram MiniApp.
Reasoning
- YouTube bot detection too strong - all anonymous methods blocked
- Cookie-based auth inappropriate for Telegram MiniApp (should be anonymous)
- User needs mainstream music like "Virtual Insanity" - Archive.org won't have it
- SoundCloud still viable option for popular tracks
Actions Taken
- Remove all YouTube-related code from src/youtube.js
- Remove YouTube dependencies (play-dl, ytdl-core, youtube-dl-exec)
- Replace with SoundCloud integration
- Keep similar API interface for frontend compatibility
SoundCloud Implementation Plan
- Use scdl-core or soundcloud-downloader npm packages
- Search functionality via SoundCloud API
- Download functionality for available tracks
- Keep same UI/UX, just change backend source
Fallback Strategy
If SoundCloud also fails, consider:
- Multiple source aggregation
- User-provided links approach
- Different content strategy (playlists, podcasts, etc.)