Skip to content

Media Kit: πŸ“Έ A simple yet powerful Blocklet for media asset uploading and hosting. Features drag-and-drop, image tagging, and easy CDN integration. Perfect for managing digital assets! ✨

License

Notifications You must be signed in to change notification settings

blocklet/media-kit

Repository files navigation

Media Kit - Self-Hosted Media Management Platform

License Version Blocklet Store

The complete media management solution that saves you $100s monthly while giving you total control over your files.

Stop paying recurring fees to Big Tech. Media Kit transforms how you store, organize, and deliver media - all on your own infrastructure with enterprise-grade features that rival industry leaders.

🌟 Quick Links

πŸ“¦ What's Inside

This is a monorepo containing the Media Kit blocklet and its shared packages:

image-bin/
β”œβ”€β”€ blocklets/
β”‚   └── image-bin/          # Main Media Kit application
β”‚       β”œβ”€β”€ src/            # React frontend (Vite + React 19 + MUI v7)
β”‚       β”œβ”€β”€ api/            # Express.js backend with SQLite/Sequelize
β”‚       └── blocklet.yml    # Blocklet configuration
β”œβ”€β”€ packages/
β”‚   β”œβ”€β”€ uploader/           # @blocklet/uploader - React upload components
β”‚   β”œβ”€β”€ uploader-server/    # @blocklet/uploader-server - Express middleware
β”‚   └── xss/                # @blocklet/xss - XSS protection utilities
└── websites/               # Documentation and marketing sites

✨ Key Features

πŸ€– AI-Powered Media Creation

  • Built-in AI Image Generation: Create images from text prompts using DALL-E and other AI models
  • Multi-Model Support: Configure and switch between different AI providers
  • Seamless Integration: AI-generated images automatically saved to your library
  • Powered by AIGNE Framework: Advanced AI capabilities without external API management

πŸ“ Intelligent Organization

  • Smart Folders & Tags: Find any file in seconds with powerful search
  • Multiple Import Options: Drag & drop, paste, Unsplash stock library, or AI generation
  • Universal Format Support: Images, videos, PDFs, documents - handle everything
  • Auto-Deduplication: Never store the same file twice

🌍 Professional Delivery

  • Smart Optimization: Perfect quality, minimal file sizes automatically
  • CDN Ready: Optional global content delivery network support
  • Flexible Sharing: Public URLs, private access, or team collaboration
  • Mobile Perfect: Flawless experience across all devices

πŸ›‘οΈ Enterprise Security

  • Privacy First: Automatic EXIF metadata removal protects your privacy
  • Team Access Control: Precise permissions for every user role
  • XSS Protection: Recursive sanitization for uploaded content
  • Hotlink Protection: Prevent unauthorized resource access

πŸ”§ Developer Friendly

  • Full REST API: Integrate with any website or application
  • Bulk Operations: Manage thousands of files efficiently
  • Component Mode: Embed Media Kit into other Blocklets
  • SDK Support: Easy integration with @blocklet/sdk

πŸš€ Quick Start

Prerequisites

  1. Install Blocklet CLI

    npm install -g @blocklet/cli
  2. Initialize Blocklet Server

    blocklet server init --mode=debug
    blocklet server start

Installation

Option 1: Launch from Blocklet Store (Recommended)

Visit Media Kit on Blocklet Store and click "Launch" - that's it!

Option 2: Deploy from Source

# Clone the repository
git clone https://github.com/blocklet/image-bin.git
cd image-bin

# Initialize project
make init

# Navigate to main blocklet
cd blocklets/image-bin

# Start development server
npm run dev

# Or build and deploy to production
npm run bundle
npm run deploy

πŸ› οΈ Technology Stack

Frontend

  • React 19 with React Router DOM
  • Vite for blazing-fast builds
  • Material-UI v7 for beautiful components
  • Emotion for CSS-in-JS styling
  • @arcblock/ux for Blocklet-specific UI components
  • Uppy for advanced file upload handling

Backend

  • Express.js with async error handling
  • SQLite with Sequelize ORM
  • Multer for multipart file uploads
  • @blocklet/sdk for platform integration
  • AIGNE Hub for AI capabilities

Development Tools

  • pnpm for efficient package management
  • ESLint with @arcblock/eslint-config
  • Prettier for code formatting
  • Husky for git hooks

πŸ“Š Package Structure

Published Packages

Main Application

πŸ” Security Features

  • XSS Protection: Recursive SVG sanitization and content validation
  • CSRF Protection: Built-in token validation via @blocklet/sdk
  • Authentication: Blocklet-based user authentication with role-based access
  • Privacy: Automatic EXIF metadata removal from uploaded images
  • Hotlink Protection: Optional referer checking to prevent unauthorized access
  • Path Validation: Strict file path validation to prevent directory traversal

🎯 Use Cases

Role Replaces Monthly Savings
πŸ“Έ Content Creators Dropbox, Google Drive $15-50
🏒 Small Businesses Cloudinary, AWS S3 $50-200
πŸ‘©β€πŸ’» Web Developers ImageKit, Uploadcare $30-100
πŸ“ˆ Marketing Teams Adobe Creative Cloud Assets $100-500
πŸš€ Growing Startups Multiple SaaS tools $200-1000

πŸ“– Documentation

🀝 Contributing

We welcome contributions! Please see CONTRIBUTING.md for:

  • Development setup and workflow
  • Code style guidelines
  • Testing requirements
  • Pull request process
  • Version management

πŸ™‹ Support

🌟 Why Choose Media Kit?

πŸ’° Massive Cost Savings

Replace expensive subscriptions ($50-500/month) with a one-time setup. No usage limits, no surprise bills.

πŸ”’ Complete Data Ownership

Your media stays on YOUR servers. No vendor lock-in, no privacy concerns, no platform risks.

⚑ Enterprise Performance

Optional CDN support delivers your content faster than major cloud providers - without the enterprise price tag.

πŸš€ Join 10,000+ Users

Join thousands of creators, developers, and businesses who've already made the switch to true digital independence.

πŸš€ Launch Media Kit Now - Free Setup


Built with ❀️ by ArcBlock | Powered by Blocklet Platform

About

Media Kit: πŸ“Έ A simple yet powerful Blocklet for media asset uploading and hosting. Features drag-and-drop, image tagging, and easy CDN integration. Perfect for managing digital assets! ✨

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published

Contributors 13