
Google Drive Storage Gmail Metadata SQLite / PostgreSQL Prometheus Metrics OpenTelemetry Tracing
S3 gateway backed by Google Drive and Gmail
A Go service that presents an S3-compatible HTTP API and stores objects using Google’s free storage. Object data lives in Google Drive files (no size limit). Gmail emails serve as metadata pointers. A local SQLite index eliminates API calls for metadata-only operations like HeadObject and ListObjects. Designed for write-once/read-rarely workloads like offsite backups.
- Any S3 client works – AWS CLI, s3cmd, SDKs, or s3-orchestrator as a backend
- Drive hybrid storage eliminates Gmail’s 25 MB attachment limit – no chunking needed
- Metadata index (SQLite or PostgreSQL) makes HeadObject and ListObjects instant with zero API calls
- Dual API quota pools – Drive and Gmail operate on separate rate limits
- Full observability with Prometheus metrics, OpenTelemetry traces, and structured JSON logging
Key Features
PUT, GET, HEAD, DELETE, ListObjectsV2, multipart uploads, and bucket operations.
Object data in Google Drive, metadata pointers in Gmail emails.
Local or shared database eliminates API calls for metadata-only operations.
Standard S3 multipart protocol for large file uploads from any client.
Request counts, latency histograms, Gmail/Drive API metrics, and operational gauges.
Server spans for S3 requests with client spans for every Gmail and Drive API call.