Sign inSign up

flintsh/flare

By flintsh

β€’Updated about 6 hours ago

A modern, lightning-fast ShareX/Flameshot file sharing platform built for self-hosting.

Image
API management
Web servers
Databases & storage
1

50K+

flintsh/flare repository overview

Flare Banner

Icon designed by xNefas⁠

⁠A modern, lightning-fast file sharing platform built for self-hosting

Version Last Commit Stars Discord

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.

Deploy on Railway

⁠Docker Deployment (Self-Hosted)
  1. Clone the repository and enter the project directory:
    git clone https://github.com/FlintSH/flare.git
    cd flare
    
  2. Copy the sample environment file:
    cp .env.example .env
    
  3. Update environment variables (e.g. NEXTAUTH_SECRET and DATABASE_URL) to point to your Postgres server and secure your instance with a secret key.
  4. Launch Flare (which runs PostgreSQL) with:
    docker compose up -d
    
  5. 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.

Tag summary

Content type

Image

Digest

sha256:6ac1d56be…

Size

913.8 MB

Last updated

about 6 hours ago

docker pull flintsh/flare:rolling-bfe73e9