OnionShare
Share a file over Tor Hidden Services anonymously and securely
OnionShare is an open source tool that lets you securely and anonymously share files, host websites, and chatwith friends using the Tor network.
OnionShare lets you securely and anonymously share a file of any size with someone. 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 file. 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 the Tor Browser and TO Enter the URL to download the file from you.
How to install OnionShare in Ubuntu
If you are on a supported distro, you can install the application through software center by clicking the below link.
If the above link not working, run the below command in terminal to install onionshare in Ubuntu
sudo apt install onionshare