AirShare

Send files across your own Wi-Fi

AirShare is a page on this site. Open it on two devices that share a Wi-Fi network, join the same PIN-gated room, and files travel directly between the two browsers — no app to install, no account, and no copy stored on a server.

Open AirShareSame Wi-Fi requiredPIN-gated room

Same network only

No STUN or relay server is configured, and the connection is checked after it is made. If the two ends do not appear to share a local network, AirShare stops it.

Browser to browser

File chunks move over a direct WebRTC data channel, encrypted in transit by the browser. The site only helps the two browsers find each other.

PIN-gated

Rooms are derived from the PIN, so nothing is listed publicly. Join attempts are rate limited per connection.

How a transfer works

Four steps, on two devices.

  1. Step 1

    Open it on both devices

    Visit rishavprasad.in/airshare/app/ on your computer and on the other device. Both must be on the same Wi-Fi.

  2. Step 2

    Create or join with a PIN

    Create a room on one device. AirShare shows an 8-digit PIN; type it on the other device. Only people you give the PIN to can join.

  3. Step 3

    Wait for the direct connection

    The two browsers negotiate a direct WebRTC connection through the site, then verify that both ends use local network addresses.

  4. Step 4

    Send files, then save them

    Accept an incoming file on the receiving device and save it. Messages travel in the same connection. Leave the room when you are done.

Open the transfer room

What it handles

  • Files up to 100 MB, streamed in 64 KB chunks with backpressure
  • Several devices in one room, with a direct connection per pair
  • Short messages that stay in the two browser tabs
  • Accept, decline and cancel before or during a transfer

Deliberate limits

  • Same Wi-Fi required. Guest networks that isolate clients block the connection entirely.
  • PIN, not an account. Anyone who has the PIN and is on the network can join, so share it in person.
  • Memory only. A received file lives in the tab until you save it. Reloading the page starts over.
  • No resume. A dropped connection cancels an unfinished transfer.

Status

The web app is built and covered by automated tests that join two isolated browser contexts with one PIN, check the direct connection and move a file byte-for-byte. A physical two-device run on a real Wi-Fi network still needs a phone and a laptop; until that is done, treat cross-device behaviour as unverified.

The earlier standalone Node.js version remains in the airshare/ folder for a self-hosted setup with larger transfers. It is a separate project and is not part of the deployed site.

Back to home