DriveLoader - Turn Google Drive into your React image CDN

by
DriveLoader is an open-source React library that transforms Google Drive into a reliable media source. It automatically resolves Google Drive image URLs, retries multiple endpoints, caches successful results, and provides React components and hooks for effortless integration. No manual URL conversion, no broken images—just paste your Drive link and start building.

Add a comment

Replies

Best
🚀 Hi Product Hunt! I'm excited to introduce DriveLoader. I built DriveLoader after repeatedly running into broken Google Drive image URLs in React projects. Converting URLs manually and testing different endpoints became frustrating, so I decided to automate the entire process. With DriveLoader, you can simply paste a Google Drive link into your React app, and the library handles URL resolution, endpoint selection, retries, caching, and rendering for you. ✨ Current features: Smart Google Drive URL resolution Automatic endpoint fallback Built-in caching React components & hooks TypeScript support Lightweight & tree-shakeable I'm also working on public folder support, allowing developers to load all images and videos from a Google Drive folder with a simple API. I'd love your feedback, feature requests, and ideas. Thanks for checking it out! 🙌