Lufin

Lufin

Modern self-hosted file sharing with optional end-to-end encryption

191stars
7forks
Last commit: 15d ago
Repo age: 1y old

Lufin is a modern self-hosted file-sharing service that provides secure, temporary file sharing with rich client-side features. It offers optional end-to-end encryption, flexible storage backends, and a static frontend optimized for performance.

Key Features

  • Optional client-side end-to-end encryption (AES-GCM) with zero-knowledge design
  • Support for S3-compatible storage (MinIO, Cloudflare R2) and multiple databases (PostgreSQL, MongoDB, SQLite)
  • Rich client-side previews for images, audio, video, PDFs, spreadsheets and archives
  • Password protection, delete-after-first-download, and configurable retention rules
  • Client-side utilities: EXIF metadata stripping, image compression, archive generation, and automatic renaming
  • Fully static frontend built with React and Vite; backend is lightweight and deployable via Docker Compose with automatic HTTPS
  • LocalStorage-based link management with import/export and cleanup of expired pages

Use Cases

  • Share large files securely between team members or external collaborators with optional password protection
  • Temporary public file hosting for event assets, press kits, or media previews with automatic expiration
  • Integrate with S3/MinIO object storage for scalable hosting while keeping encryption and access controls on the client side

Limitations and Considerations

  • Client-side end-to-end encryption requires JavaScript and will limit server-side processing or embedding unless users opt out of encryption
  • Scalability and performance depend on chosen storage backend and database configuration; plan resources accordingly

Lufin is suitable for teams and self-hosting enthusiasts who need a privacy-focused, feature-rich file-sharing platform that integrates with S3-compatible storage and common databases. It emphasizes client-side privacy controls and a lightweight deployment model.

Categories:

Tags:

Tech Stack:

Share:

Similar Services

Syncthing

Syncthing

Open-source, peer-to-peer file synchronization tool.

79.1k
4.9k
Last commit: 2d ago

Open-source peer-to-peer file synchronization with TLS encryption, no central server, and a browser-based UI.

Alternative to:
Resilio Sync
Resilio Sync
+6
LocalSend

LocalSend

Open-source cross-platform local network file sharing app

73.3k
3.9k
Last commit: 4d ago

LocalSend is a free, open-source app for fast, encrypted file and text sharing between nearby devices over a local network, available on desktop and mobile.

Alternative to:
Apple AirDrop
Apple AirDrop
+6
AList

AList

Multi-storage file listing server with WebDAV and previews

48.8k
8k
Last commit: 26d ago

AList is a multi-storage file listing and sharing server with WebDAV access, file previews, protected routes, uploads, and cross-storage file operations.

Alternative to:
Dropbox
Dropbox
+19
copyparty

copyparty

Portable file server with fast resumable uploads and many protocols

41k
1.7k
Last commit: 19h ago

Copyparty is a portable file server with a web UI, accelerated resumable uploads, deduplication, indexing, and support for WebDAV, SFTP, FTP and more.

Alternative to:
WeTransfer
WeTransfer
+19
qBittorrent

qBittorrent

Cross-platform BitTorrent client built with Qt and libtorrent

35k
4.5k
Last commit: 21h ago

qBittorrent is a fast, free, cross-platform BitTorrent client with a desktop UI and optional Web UI, built on libtorrent for efficient torrent downloading and seeding.

Alternative to:
BitTorrent
BitTorrent
+2
Nextcloud

Nextcloud

Open-source collaboration platform for file sync and groupware

33.8k
4.7k
Last commit: 16h ago

Nextcloud is an open-source content collaboration platform providing file sync & share, groupware (calendar, contacts, mail), real-time office editing, chat and video con...

Alternative to:
Google Drive
Google Drive
+19