CloudFlare-ImgBed is a serverless image hosting platform built on Cloudflare Workers, designed to accept, store, and serve images through a global edge network. It runs entirely on Cloudflare's serverless infrastructure, handling requests without persistent servers, and caches public responses at the edge for fast content delivery. The system authenticates programmatic access using time-limited API tokens and automatically converts uploaded images to WebP format while compressing oversized files during the upload process.
The platform distinguishes itself through multi-backend storage routing, allowing files to be distributed across configurable providers including S3, R2, Telegram, Discord, and HuggingFace with automatic failover and load balancing. It supports chunked uploads with retry logic for reliable large file transfers, integrates with external moderation APIs to scan uploaded content, and exposes files through the WebDAV protocol for management via standard desktop clients. A dedicated random image endpoint and public gallery provide dynamic content retrieval and sharing capabilities.
The system includes an admin panel for browsing, searching, and managing files and folders, along with upload history tracking and user activity monitoring. It supports drag-and-drop and paste uploads, generates direct, Markdown, HTML, or BBCode links, and offers a multi-language interface toggle between Chinese and English. Configuration can be backed up and restored, and storage channels can be set up with load balancing adjustments from a unified interface.
Deployment options include Cloudflare Pages with automatic updates, Cloudflare Workers via GitHub Actions, or as a self-hosted Docker container.