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.
AirShare
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.
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.
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.
Rooms are derived from the PIN, so nothing is listed publicly. Join attempts are rate limited per connection.
Four steps, on two devices.
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.
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.
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.
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.
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.