instructions

  1. Point two or more computers in the same home or office to http://nearshare.net.
  2. On one or more of these computers, select the file(s) you would like to share.
  3. Watch the file names instantly appear on all of the computers used in step 1.
  4. Click the filenames to download the files.

    Let's get started!

how it works

jargon-free version

technical version

nearshare.net allows you to share files on your home or office network. The nearshare.net page includes a program that runs in your browser for as long as that page is open. When you choose to share a file, that program announces the file's availability to the local network.

nearshare.net allows you to share files within a UDP broadcast domain. The nearshare.net page includes a Java applet. When you choose to share a file, the applet begins sending regular UDP broadcasts on port 7564 at a rate of approximately two per second. These broadcasts contain the filename and related metadata.

When others on your home or office network visit the page (which runs the program), their computers hear your announcements and display them in a list. When they click on a file they wish to receive from you, their browser connects directly to the program running in your browser, transferring the file.

When others on your home or office network visit the page (which runs the applet), they receive your UDP broadcasts and display the results in a list. The URLs presented for each file point to a web server (NanoHTTPD) embedded within the applet running on your computer that serves your shared file(s) directly.

Your files never hit the Internet - they stay within your network at all times.

Your files are never transferred to nearshare.net; the only information flowing between your browser and nearshare.net are the nearshare.net web pages, the applet itself, and the icons displayed in the list (from which, technically, some aggregated anonymous information could be gathered regarding the extensions of shared files).

Ready to give it a try?

Ready to give it a try?