Skip to content

pwplus/onionshare

 
 

Repository files navigation

OnionShare

Build Status

OnionShare lets you securely and anonymously share files of any size. It works by starting a web server, making it accessible as a Tor hidden service, and generating an unguessable URL to access and download the files. It doesn't require setting up a server on the internet somewhere or using a third party filesharing service. You host the file on your own computer and use a Tor hidden service to make it temporarily accessible over the internet. The other user just needs to use Tor Browser to download the file from you.

Features include:

  • A user-friendly drag-and-drop graphical user interface that works in Windows, Mac OS X, and Linux
  • Ability to share multiple files and folders at once
  • Support for multiple people downloading files at once
  • Automatically copies the unguessable URL to your clipboard
  • Shows you the progress of file transfers
  • When file is done transferring, automatically closes OnionShare to reduce the attack surface
  • Localized into several languages, and supports international unicode filenames
  • Designed to work in Tails, for high risk users

If you're interested in exactly what OnionShare does and does not protect against, read the Security Design Document.

Client Screenshot Server Screenshot

Quick Start

You can download OnionShare to install on your computer from https://onionshare.org/.

You can set up your development environment to build OnionShare yourself by following these instructions. You can also install OnionShare in your Tails persistent volume by following these instructions.

How to Use

Before you can share files, you need to open Tor Browser in the background. This will provide the Tor service that OnionShare uses to start the hidden service.

Open OnionShare and drag and drop files and folders you wish to share, and start the server. It will show you a long, random-looking URL such as http://cfxipsrhcujgebmu.onion/7aoo4nnzj3qurkafvzn7kket7u and copy it to your clipboard. This is the secret URL that can be used to download the file you're sharing. If you'd like multiple people to be able to download this file, uncheck the "close automatically" checkbox.

Send this URL to the person you're trying to send the files to. If the files you're sending aren't secret, you can use normal means of sending the URL: emailing it, posting it to Facebook or Twitter, etc. If you're trying to send secret files then it's important to send this URL securely. I recommend you use Off-the-Record encrypted chat to send the URL.

The person who is receiving the files doesn't need OnionShare. All they need is to open the URL you send them in Tor Browser to be able to download the file.

Using Command Line in Mac OS X

If you'd like to use the command-line version of OnionShare in Mac OS X, after installing open a terminal and type:

ln -s /Applications/OnionShare.app/Contents/Resources/onionshare /usr/local/bin/onionshare

From that point on you can just call onionshare, like: onionshare --help

About

Securely and anonymously share a file of any size

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 81.9%
  • NSIS 10.5%
  • HTML 3.6%
  • Shell 3.5%
  • Batchfile 0.5%