Telegram Mini App + bot: upload a video once, get AI-written captions per platform, and publish to YouTube, TikTok, and Instagram in one click.
Role
Stack
A private multi-platform publishing tool built as a Telegram Mini App: upload a video once, Gemini drafts a caption tailored to each connected platform, and a single publish action fans out to YouTube (Data API v3 resumable upload), TikTok (Direct Post via OAuth+PKCE), and Instagram (Business Login, Content Publishing API) — plus scheduled publishing and per-video AI performance takeaways, so posting to three platforms stops being three separate jobs.
Approach
- Telegram Mini App upload flow with per-platform OAuth connect (YouTube, TikTok, Instagram)
- Gemini Flash drafts a caption per platform from the uploaded video, editable before publish
- One publish action fans out across all connected platforms in a single batch
- Scheduled publishing via delayed background jobs (BullMQ)
- Live post-publish stats (views/likes/comments) plus an AI-written takeaway, on demand
Verification note
Live and used in production for real uploads — YouTube and Instagram publishing verified end to end including real published posts; TikTok publishing works but stays scoped to Sandbox/private-account posting under TikTok's unaudited-app restriction. Private tool for a small allow-list of users, not a public product.