Skip to content

CloudFlare-ImgBed

Self-hosted image and file host on Cloudflare or Docker with S3 and Telegram storage

Permissive (OSI) · MIT

Listed by , founder & editor

85

Health

Thriving

Overview

Stars

6,957

Last commit

2 days ago

Nov 2026

Repository age

2 years

since Jul 2024

Latest version

v2.7.8

Oct 2026

Contributors

–

6 active in 90 days

Releases

25

last 12 months

Docker pulls

66k

marseventh/cloudflare-imgbed

Language

JavaScript

CloudFlare ImgBed is an image and file hosting tool you can run on Cloudflare Pages or Workers, or with Docker. It brings several storage back ends into one management interface: Telegram, Discord, Cloudflare R2, S3-compatible storage, Hugging Face and WebDAV.

It includes file management, authentication, directory organization, content moderation, a RESTful API and WebDAV access. Metadata can be stored in KV, D1 or SQLite. There is a public gallery, user management and a status page. Some AI features, such as image tag recognition, are also included.

An ecosystem of add-ons includes browser extensions, integrations for Typecho, WordPress and Obsidian, and desktop clients. The project is MIT licensed, started in 2024, and has had 25 releases in the last year.

It is a self-hosted alternative to Imgur. It does not offer a mobile backup app or social features like comments.

Who it's for

Bloggers and site owners hosting images

The API and plugins for WordPress and Typecho make it simple to serve site images from storage you control.

Skip if: You want a photo backup app with face or map views.

Developers using Cloudflare's free tools

It runs on Pages or Workers with D1 or KV, so you may not need a server.

Skip if: You prefer a plain server app with no Cloudflare dependency.

The problem it solves

Public image hosts limit control over your files and links. This gives you your own host that can store files on Telegram, R2, S3 or other back ends.

Strengths

  • Many storage back ends in one interface
  • Runs on Cloudflare Pages, Workers or Docker
  • RESTful API and WebDAV access
  • MIT license
  • 25 releases in the last year

Trade-offs

  • No mobile backup app
  • No face or map views
  • No social features like comments
  • Documentation and add-ons are tied closely to Cloudflare services

Self-host CloudFlare-ImgBed

Self-hostable
Yes
Docker image
marseventh/cloudflare-imgbed
Docker Compose
The repository ships a Compose file

Frequently asked questions

Is it free?

Yes. The code is MIT licensed and you host it yourself.

Can I run it with Docker?

Yes. It supports Docker as well as Cloudflare Pages and Workers.

Which storage can it use?

Telegram, Discord, Cloudflare R2, S3-compatible storage, Hugging Face and WebDAV.

Is there an API?

Yes. It provides a RESTful API and WebDAV.

Similar tools in Photo storage and galleries

imgproxy

Photo storage and galleries

Standalone image resizing server for web apps that need on-the-fly processing

11k 796 today Thriving Apache-2.0

pinry

Photo storage and galleries

Self-hosted tiling image board for saving, tagging and sharing images and links

3.4k 376 yesterday Slowing BSD-2-Clause

PictShare

Photo storage and galleries

Self-hosted image, GIF, video and text host with URL-based resizing and no database

954 137 10 days ago Active Apache-2.0

zimg

Photo storage and galleries

C image server that stores uploads and resizes or converts them through URL parameters

2.7k 396 9 years ago Dormant BSD-3-Clause

Lychee (electerious/lychee)

Photo storage and galleries

Self-hosted PHP photo gallery for people who want to upload, organize and share albums

6.4k 646 5 years ago Dormant MIT

Google Photos Takeout Helper

Photo storage and galleries

Tool that turns a messy Google Takeout export of Photos into one dated folder

6k 334 2 years ago Dormant Apache-2.0