Developer Platform
Complete
Go Media Storage
Self-hosted media platform with vault-based file access, automatic image compression, and a Go API built for long-running production use.
Case study
Problem
Multiple projects needed centralized file storage with secure access control — not another dependency on third-party CDNs with opaque pricing and permission models.
Solution
Built a self-hosted media server in Go with vault-based access, REST API, dashboard, and automatic image compression on upload.
Technical challenges
- Vault-based authentication where each project gets isolated file namespaces
- Image compression pipeline that runs on upload without blocking the API
- Serving files efficiently with in-memory caching for hot paths
Go
Language
PgGo
DB library
REST
API style
On upload
Compression