Open-source, end-to-end-encrypted, no-account file transfer — right in the browser.
Send a file, get a link the recipient opens in any browser — no app, no sign-up, nothing stored in the clear. The web app + marketing site behind bishare.app, built with Hono and running on Cloudflare Workers.
- Screenshots
- Why BIShare?
- What's inside
- How the encryption works
- Part of the BIShare ecosystem
- Run it locally
- Deploy your own
- Project structure
- Stack
- Scripts
- Contributing
- FAQ
- License
![]() |
![]() |
| Home — bishare.app | /transfer — zero-knowledge browser transfer |
![]() |
![]() |
| /rooms — live group sharing | /best-file-sharing-app — comparison guide |
Snapdrop and PairDrop only work when both people are on the same network. WeTransfer routes everything through the cloud, caps free transfers, and shows ads. AirDrop is Apple-only. BIShare gives you a link that works anywhere — end-to-end encrypted, no account, and open source.
| BIShare | Snapdrop / PairDrop | WeTransfer | Wormhole | |
|---|---|---|---|---|
| Works in any browser | ✅ | ✅ | ✅ | ✅ |
| Send to someone on another network | ✅ | ❌ | ✅ | ✅ |
| End-to-end encrypted | ✅ | ✅ | ❌ | ✅ |
| No account to send or receive | ✅ | ✅ | ✅ | ✅ |
| No ads / no size gate | ✅ | ✅ | ❌ | ✅ |
| Resumable large uploads | ✅ | ❌ | ✅ | ❌ |
| Native apps too (iOS/Android/desktop) | ✅ | ❌ | ➖ | ❌ |
| Open source | ✅ | ✅ | ❌ | ✅ |
- 🔒 Zero-knowledge browser transfers (
/transfer) — files are encrypted client-side with AES-256-GCM (WebCrypto) before upload. The key stays in the URL fragment; the server sees only ciphertext. - 🔗 A link for anyone — the recipient opens it in any browser and downloads. No app, no account, and links auto-expire.
- ⚡ Resumable large uploads — multipart upload survives a refresh or a dropped connection.
- 👥 Rooms — share files with a group in a live, shared room over WebRTC/WS.
- 📊 Live public stats (
/stats) — server-rendered counters with a realtime WebSocket (/stats-live) backed by a Durable Object. - 🌍 13 languages — fully localized, dark-first design with a light toggle.
- 🔎 SEO-first — hreflang across every locale, structured data (
SoftwareApplication,FAQPage,ItemList), sitemap, and anllms.txtfor AI search engines. - ☁️ Runs on the edge — pages are built ahead of time and served by one small Cloudflare Worker; no origin server to babysit.
Browser transfers are zero-knowledge — the relay never sees your data:
Sender's browser Recipient's browser
──────────────── ───────────────────
file ──► AES-256-GCM (WebCrypto) link#k=<key>
│ key generated locally │
▼ ▼
ciphertext ──► relay (R2) ──► ciphertext ──► decrypt with #k
(sees only (key from URL
ciphertext) fragment)
The symmetric key lives only in the URL fragment (#k=…). Browsers never
send the fragment to the server, so the key never reaches the relay — it only
ever stores and forwards ciphertext. Links auto-expire, and there's no account
tying a transfer to you. The native apps use the
BIShare Rust protocol
(X25519 + AES-256-GCM) for direct LAN transfers.
BIShare is a full cross-platform file-sharing project — this repo is the web piece.
| Repo | What it is |
|---|---|
| bishare-flutter | The native app — iOS, Android, macOS, Windows, Linux (Flutter + Rust). Instant device-to-device LAN transfer, like AirDrop for every platform. |
| bishare-web (this repo) | The website + in-browser transfer tool + live stats. |
| bishare-protocol | The Rust transfer/crypto protocol (X25519 + AES-256-GCM) shared by the apps. |
The file-transfer API (upload/download, rooms, presigned R2 storage,
telemetry) is a separate service; this site talks to it over HTTPS at
API_URL (default https://api.bishare.app).
Prerequisites: Node.js 26+ and npm.
git clone https://github.com/BIShare-project/bishare-web.git
cd bishare-web
npm install
cp .env.example .env # optional: another API_URL
npm run dev # http://localhost:8788The site talks to the transfer API over HTTPS at API_URL
(default https://api.bishare.app), so /transfer works against the hosted
backend out of the box — no local server needed to develop the UI.
- Fill in your own resource IDs in
wrangler.jsonc(D1 database, custom domain). The committed file uses<PLACEHOLDER>values so no infra details are baked into the public repo. - Create the D1 database:
npx wrangler d1 create bishare-web
- Build + deploy:
npm run deploy # build + wrangler deploy
The web Worker needs no runtime secrets — it only reads D1 and serves pages. Point
API_URL at your own backend if you self-host the API.
Every push to main runs .github/workflows/ci.yml,
which builds the site and deploys it to bishare.app. Add these
repository secrets under Settings → Secrets and variables → Actions:
CLOUDFLARE_API_TOKEN— a token allowed to deploy Workers and access the configured D1 database.CLOUDFLARE_ACCOUNT_ID— the Cloudflare account ID that owns the Worker.CLOUDFLARE_D1_DATABASE_ID— the productionbishare-cloudD1 database ID.
The workflow generates the private production Wrangler config during the run; the real infrastructure config remains gitignored.
src/
├─ site/ # routing, the document, <head>, sitemap, styles, client modules
├─ pages/ # one module per page: marketing, guides, blog, /transfer, /rooms, /stats
├─ ui/ # components shared by the pages
├─ components/ # the tools: upload, rooms, the web Drive
├─ jsx/ # the elements: hono/jsx for pages, hono/jsx/dom in the browser
├─ i18n/ # languages, messages, translators
├─ lib/ # crypto, API client, rooms/webrtc, SEO helpers
└─ messages/<locale>/ # 13-locale message catalogs
scripts/ # build: assets and islands, then every page in every language
worker/index.ts # Cloudflare Worker entry (site + StatsLiveDO)
server/do/stats-live.ts # Durable Object powering /stats-live
public/ # static assets, llms.txt
tool/parity/ # compares two builds: HTML for search engines, pixels, the tools
- Hono (
hono/jsxfor pages,hono/jsx/domfor the interactive parts) · Tailwind · esbuild - Cloudflare Workers · D1 (read-only stats) · Durable Objects (
StatsLiveDO) - WebCrypto (AES-256-GCM) for zero-knowledge browser transfers
| Command | What it does |
|---|---|
npm run dev |
Build, run the Worker locally, rebuild on save |
npm run build |
Build the site into dist/ |
npm test |
Unit tests |
npm run typecheck |
Types of the site, the Worker and the service worker |
npm run deploy |
Build + deploy to Cloudflare Workers |
PRs are welcome — see CONTRIBUTING.md for setup, coding
conventions, and how to add a language. Translations are the easiest way to
help: the message catalogs live in src/messages/<locale>/ and adding a locale
is a few small edits. Found a security issue? Please read SECURITY.md
and report it privately.
Is the relay able to read my files? No. Files are encrypted in your browser with AES-256-GCM before upload, and the key lives only in the URL fragment, which browsers never send to the server. The relay stores and forwards ciphertext only.
Do I need an account? No — neither to send nor to receive. Links auto-expire.
Can I self-host the whole thing?
Yes. Deploy this repo to your own Cloudflare Workers, and point
API_URL at your own instance of the transfer API.
How is this different from the native app? The app (bishare-flutter) adds instant device-to-device transfers over your local network (no upload at all), offline QR-beam, and cross-platform nearby discovery. This web app is the zero-install, works-anywhere companion.
Licensed under the Apache License 2.0: free to use, modify and self-host. Keep the NOTICE file with any copy. The BIShare name and logo are not covered by the license; see TRADEMARKS.md. Releases before 7 October 2026 were MIT-licensed.
If BIShare is useful to you, please ⭐ star the repo — it genuinely helps.
Website · Transfer tool · The app · Protocol



