Flare is a modern, self-hostable file sharing platform designed to work seamlessly with popular screenshot and sharing tools like ShareX and Flameshot. Built with Next.js and designed with simplicity in mind, it offers a complete solution for all your file sharing needs with a strong focus on performance, customizability, and user experience.
β β¨ Features
π Universal Screenshot Integration
ShareX, Flameshot, and Bash Script support
One-click configuration downloads
π Secure & Private - Role-based permissions, private files, and password protection
πΎ Flexible Storage - Local filesystem and S3-compatible storage support
πΌοΈ Universal Preview - Preview images, videos, PDFs, and code with syntax highlighting
π Smart Search - Search by filename, OCR content, and date with filters
π± Modern UI - Clean, responsive interface built with shadcn/ui - easily customizable
βοΈ Configurable
User storage quotas, registration controls, and instance settings
Theme customization with CSS variables and custom colors
Advanced settings for custom CSS and HTML injection
π Admin Dashboard - Usage metrics, user management, and system configuration
π₯ User Management - Role assignment, storage quotas, and content moderation
π URL Shortener - Custom short URLs under your domain with click tracking
π Pastebin - Code and text sharing with syntax highlighting
π€ OCR Processing - Automatic text extraction from images uploaded
π Rich Embeds - Content embeds naturally on all your social media platforms.
β π Quick Start
Flare is quick to deployβyou only need a PostgreSQL server and Docker. Choose one of these options:
β Railway (One-Click)
Click the button below to deploy Flare on Railway. Once deployed, just set your authentication secret and create your admin account.
β Docker Deployment (Self-Hosted)
Clone the repository and enter the project directory:
git clone https://github.com/FlintSH/flare.git
cd flare
Copy
Copy the sample environment file:
cp .env.example .env
Copy
Update environment variables (e.g. NEXTAUTH_SECRET and DATABASE_URL) to point to your Postgres server and secure your instance with a secret key.
Launch Flare (which runs PostgreSQL) with:
docker compose up -d
Copy
Open http://localhost:3000β (or wherever you deployed Flare) to complete the setup and create your admin account.
Pre-built Docker images are available on both Docker Hub and GitHub under flintsh/flare.
β π Configuration
Flare is built to be really configurable. Head to /dashboard/settings to tweak different settings like:
Setting storage quotas and file size limits for users
Defining upload rules and restrictions
Configuring registration options and user permissions
Customizing the siteβs appearance and branding
Managing advanced settings like custom CSS and HTML
For more details on each setting, visit the Docsβ (coming soon).
β π License
Flare is licensed under the MIT License - see the LICENSEβ file for details.