Apr 19, 2025
Build your own (mini) Cloudflare Images
Needing an image processing API for a side project, I didn't want to pay for yet another SaaS. After looking at Cloudflare Images, I thought: "How hard could it be to build a simplified version myself?"
So let's build it!
Here's what we need: - Upload, retrieve, and delete images - Resize and compress them (with some other features such as filters, etc.) - Cache results and serve them from a CDN
The Stack
We'll keep this minimal:
- Go - Fast, simple, and minimal for the API service
- FFmpeg - For processing
Features
The system will need the following components:
- API - To handle HTTP requests
- Storage - Deals with image storage and retrieval
- Processing - Handles image processing
TODO! Come back soon...