Skip to content

CloudFlare ImgBed

TrendingActive
MarSeventh/CloudFlare-ImgBed

An open-source file hosting solution built on CloudFlare Pages for images, videos, and documents with comprehensive management features and multiple storage backends.

View on GitHub
Stars
6.7k
Forks
8.5k
Watchers
6.7k
Open issues
47

CloudFlare ImgBed

CloudFlare ImgBed is a comprehensive file hosting solution built entirely on CloudFlare’s infrastructure. It offers a complete file lifecycle management system with upload, storage, retrieval, and deletion capabilities, all while leveraging CloudFlare’s free tier services for most use cases. CloudFlare ImgBed

Core Features

  • Multiple Storage Backends:

    • Telegram Bot storage (20MB file limit with compression options)
    • CloudFlare R2 storage (unlimited file size, subject to R2 pricing)
    • S3-compatible storage options
  • Versatile Upload Options:

    • Drag and drop interface
    • Click to upload
    • Paste files or URLs directly
    • Batch uploads with progress tracking
    • API-based uploads for integration with other tools
  • Comprehensive File Format Support:

    • Images (JPG, PNG, WebP, etc.)
    • Videos (MP4, WebM, etc.)
    • GIFs and animated images
    • Documents and other file types
  • Flexible Link Generation:

    • Markdown format
    • HTML format
    • BBCode format
    • Raw URL format
    • Custom link prefix support for CDN integration
  • Security Features:

    • Web and API authentication
    • Domain access restrictions
    • IP-based statistics and blocking
    • Image content moderation capabilities
  • Customization Options:

    • Custom backgrounds (single image, slideshow, Bing daily images)
    • Adjustable UI transparency and timing
    • Custom site name, logo, and favicon
    • Customizable footer and links

Advanced Features

  • File Management:

    • Browser-based file management interface
    • Blacklist/whitelist functionality
    • Directory support for organized file storage
    • Bulk operations for file management
  • Image Optimization:

    • Client-side image compression
    • Server-side image compression for Telegram storage
    • Adjustable compression quality settings
  • API Access:

    • Upload API for programmatic use
    • Random image API for retrieving random images
    • Full documentation for integration
  • Other Utilities:

    • PicGo integration for desktop uploads
    • Completely serverless architecture
    • No bandwidth or storage limits (within CloudFlare’s free tier)

Deployment

CloudFlare ImgBed is designed to be easy to deploy with minimal setup:

  1. No server required - runs entirely on CloudFlare infrastructure
  2. Unlimited storage capacity (subject to CloudFlare’s policies)
  3. Free *.pages.dev domain, or use your own custom domain
  4. Simple configuration through environment variables
  5. One-click deployment options available

Use Cases

  • Personal or team image sharing
  • Blog image hosting solution
  • Document repository for small teams
  • Media sharing for communities
  • Alternative to paid image/file hosting services
  • Temporary file storage and sharing

This project represents an excellent example of leveraging CloudFlare’s infrastructure to create powerful, cost-effective solutions for common web needs without requiring traditional server infrastructure.

Similar open-source projects, ranked by shared categories and tags.

All Tools projects →