An open-source media gateway that streams file uploads directly into your personal Google Drive and serves on-the-fly resized WebP and AVIF images.
How Driveinary bridges your client applications with Google Drive storage.
Connect via Google OAuth2 with scoped permissions limited strictly to files created by Driveinary.
Generate API keys with optional allowed origin restrictions to protect your credentials in production.
Uploads are piped through server memory directly into Google Drive folders without temporary disk writes.
Sharp resizes and transcodes source images to WebP/AVIF on request, cached via HTTP headers.
Standard REST endpoints for media management.
curl -X POST https://drive.yoepan.my.id/api/v1/upload \ -H "Authorization: Bearer drv_live_xxxxxxxx" \ -F "file=@photo.jpg" \ -F "folder=products"
Returns the unique asset ID, MIME type, dimensions, and secure public CDN streaming URL.
<!-- Original source image --> <img src="https://drive.yoepan.my.id/media/clx123abc" /> <!-- Transformed: WebP, 400px width, 80% quality --> <img src="https://drive.yoepan.my.id/media/clx123abc?w=400&format=webp&q=80" />
Supports width, height, format (webp, avif, jpeg, png), and quality query parameters.
Understanding trade-offs between media storage approaches.
| Aspect | Driveinary | Cloudinary | AWS S3 |
|---|---|---|---|
| Storage Backend | Google Drive account | Proprietary cloud | AWS S3 Buckets |
| Storage Billing | Included in Google quota | Credit tiers ($99/mo standard) | Per GB stored + egress fees |
| Setup Complexity | Google OAuth login | Account signup | IAM roles and bucket policies |
| On-the-fly Resize | Included (Sharp engine) | Included (credit-metered) | Requires Lambda setup |
| Source Code | MIT Open Source | Proprietary | Proprietary API |
| Primary Fit | Indie apps, creators, internal tools | Enterprise marketing platforms | High-scale cloud infrastructure |