Your private, open-source Google Drive backup – built on Cloudflare's edge
Backflare is an open-source, privacy-focused backup service inspired by Google Drive – powered entirely by Cloudflare’s modern developer stack. Designed for creators, engineers, and indie hackers who value control, speed, and scalability.
- Own your data: Everything is open-source. Your files, your control.
- Built on Cloudflare: Leverages Durable Objects, R2, D1, KV, and Workflows.
- Per-tenant architecture: Every user gets isolated, high-performance storage.
- Smart versioning & snapshots: File changes are tracked intelligently.
- Fast sync across devices: Think Dropbox + Git, but serverless.
┌───────────────┐
│ Web App │ (Next.js + Tailwind + shadcn)
└──────┬────────┘
│
Auth via next-auth
│
┌──────▼─────────────┐
│ Durable Object │ (Per-tenant DB logic)
└──────┬─────────────┘
│
┌─────────────┴──────────────┐
│ SQL (DO Attached)│ ← File/folder metadata, snapshots, settings
│ R2 │ ← File/object storage
│ D1 │ ← Global stats, usage, plans
└────────────────────────────┘
│
Workflows & KV (as needed)
-
Frontend: Next.js (via OpenNext), TailwindCSS, shadcn/ui
-
Auth: next-auth
-
Infra: Cloudflare Workers, Durable Objects, R2, D1, KV, Workflows
-
Storage:
- Durable Object + SQL: Per-tenant DB for metadata & state
- R2: File/object storage
- D1: Global data (user count, usage, plans)
- Multi-tenant architecture
- File/folder creation + upload
- File versioning + snapshots
- User dashboard
- Authentication + authz
- Object deduplication (R2 layer)
- Trash + Recovery system
- File previews
- Sync client (CLI and/or desktop app)
# Clone the repo
npx create-next-app backflare
# Install dependencies
pnpm install
# Set up Cloudflare environment
wrangler login
wrangler devMore detailed steps will be added as we progress.
Backflare is built in public. Follow the journey:
- GitHub Projects → Project Board
- Twitter threads (coming soon)
- Devlog on Hashnode/Medium
- Star this repo
- Fork and submit a PR
- Open issues or ideas
- Join the Discord (soon)
MIT – built for hackers, by hackers.
Shivam Dwivedi – Indie hacker, systems thinker, and builder of useful internet tools.
Inspired by real problems. Backed by modern infra. Built for speed.
Want to help or have ideas? DM me on X [@yourhandle] or raise an issue.