SafeBucket
Self-hosted file sharing platform with direct S3 uploads, SSO, and role-based access control.
Open source alternative to:
SafeBucket is an open-source, self-hosted file sharing platform designed for teams that want full control over their data. Unlike traditional cloud storage solutions, SafeBucket ensures that files never touch your server — uploads and downloads go directly to your S3-compatible storage backend via presigned URLs, while the API handles only metadata, access control, and audit logging.
The platform is built with a security-first, SSO-first mindset. It integrates with any OIDC identity provider for authentication, supports multifactor authentication via TOTP, and enforces role-based access control at both the platform and bucket level. Every sharing action is scoped to buckets with explicit membership rules, and all activity is tracked in real-time audit logs.
SafeBucket's modular architecture allows you to swap out every infrastructure component. Use AWS S3 or self-hosted MinIO for storage, PostgreSQL or SQLite for the database, and NATS or SQS for event handling. It ships with Docker Compose templates for quick local deployment and is actively maintained with signed container images.
Categories:
Build with:
Looking for contributors
This project is actively seeking help, join the community!
Repository details
Updated 5/17/2026, 4:13:13 AM
View RepositoryCompare SafeBucket with
Similar open source alternatives
Paperless-ngx
Self-hosted document management system with OCR, full-text search, and automatic tagging for your paper documents.
PhotoPrism
AI-powered self-hosted photo app for browsing, organizing, and sharing your photo collection.
Google Photos
Twake Drive
The open-source alternative to Google Drive.
Syncthing
Continuous file synchronization program that syncs files directly between your devices — no cloud required.
Dropbox
OpenCloud
Open source platform for file management, sharing, and collaboration — simple and self-hostable.
Lychee
Beautiful self-hosted photo management tool with a stunning web interface.
Google Photos