{"repo":"tas33n/Google-drive-cdn-worker","free":true,"listed":false,"github":"https://github.com/tas33n/Google-drive-cdn-worker","clone":"git clone https://github.com/tas33n/Google-drive-cdn-worker.git","description":"Self Hosted CDN - Turn your Google Drive into a fast CDN. Upload files via API, serve them globally through Cloudflare's edge network. Perfect for hosting images/videos for your portfolio site.","language":"JavaScript","stars":13,"topics":["cdn","cloudflare","cloudflare-workers","free-cdn","gdindex","goindex","google-cdn","google-drive-uploader","self-hosted"],"license":"MIT","category":"self-hosted-apps","readme_excerpt":"🚀 Google Drive CDN Worker Turn your Google Drive into a fast CDN. Upload files via API, serve them globally through Cloudflare's edge network. Live running: https://cdn.bevore.me What It Does - Upload files via API (requires auth) - Serve files publicly via CDN (no auth needed) - Auto-rotate between multiple service accounts (up to 100) - Dashboard with stats and API docs - Video streaming with range request support Perfect for hosting images/videos for your portfolio site. My Other Project: I built a Telegram-powered image hosting CDN you might find useful: https://github.com/tas33n/telegram-image-hosting Quick Start 1. Install 2. Run Bootstrap This script will: - Cache OAuth tokens (no re-auth needed next time!) - Verify Drive API access (you enable it manually) - Import existing service accounts (if you have JSON files) - Set up a Google Drive folder - Share it with imported service accounts - Save everything to src/service-accounts.json (auto-bundled on deploy) You'll need: - Google Cloud Project (create one) - OAuth Desktop App credentials (create here) - Drive API enabled (enable here) - (Optional helper) IAM API enabled plus the roles/iam.serviceAccountCreator and roles/iam.serviceAccountKeyAdmin roles if you plan to generate service accounts with the helper script (service accounts permissions, key creation requirements) Note: The script caches your OAuth tokens locally, so you won't need to re-authenticate every time! 3. (Optional) Generate Service Accounts Use this","default_branch":null,"files":null,"tree":[],"storefront":"/r/tas33n","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/tas33n/Google-drive-cdn-worker/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}