Turn your private Telegram channel into a high-speed, secure, unlimited cloud drive. Fast streaming downloads, strict Supabase Row Level Security, and zero cloud storage bills.
Engineered according to modern Next.js 14 App Router standards.
Files are streamed to your private Telegram channel using the Bot API (`sendDocument`). Supports files up to 2GB each with unlimited total capacity.
User authentication and metadata are protected by strict Row Level Security (RLS) policies. Only the authenticated owner can view, download, or delete their files.
Direct streaming downloads via Route Handlers. The server streams binary chunks straight to the browser with correct MIME headers and zero RAM bottlenecks.
អនុវត្តតាម ៣ ជំហានងាយៗខាងក្រោមដើម្បីភ្ជាប់ Telegram Bot និង Supabase
ឆាតទៅ @BotFather វាយពាក្យ /newbot ដើម្បីយក TELEGRAM_BOT_TOKEN។ បង្កើត Private Channel ថ្មីមួយ រួច Add Bot ចូលជា Admin (បើកសិទ្ធិ Post Messages & Delete Messages) ហើយយក TELEGRAM_CHAT_ID (ឧទាហរណ៍៖ -100xxxxxxxxxx)។
បង្កើត Project លើ supabase.com រួចចូលទៅកាន់ SQL Editor ហើយចុចប៊ូតុង "SQL Schema" ខាងលើដើម្បី Copy កូដយកទៅ Run។ បន្ទាប់មកចម្លងយក URL, Anon Key, និង Service Role Key ពី Project Settings > API។
បញ្ចូល keys ទាំង ៥ ចូលក្នុង .env.local ឬបញ្ចូលទៅក្នុង Vercel Project Settings > Environment Variables នៅពេល Deploy។