|
Nov 19 2025
|
|
Have you ever wondered how to make an anonymous website without enabling javascript in Tor Browser? Onionshare makes it easy to host your own static .onion site from home!
|
|
One of the best ways to run Onionshare today is within snapd. First we'll install snapd.
|
|
sudo apt install snapd
|
|
Next we'll use snapd to install the most recent version of snapd.
|
|
sudo snapd install snapd
|
|
Now we're ready to begin the installation of Onionshare.
|
|
sudo snapd install onionshare
|
|
Better go grab a coffee... This could take awhile.
|
|
Upon eventual completion you should be able to run Onionshare using this command:
|
|
/snap/bin/onionshare
|
|
For the command line version of onionshare try this command instead:
|
|
/snap/bin/onionshare.cli
|
|
For advanced Onionshare command line usage when launching a website:
|
|
/snap/bin/onionshare.cli --website --public --config /path/to/your/onionshare.json --persistent /path/to/your/persist.json /path/to/your/Website/
|
|
note: After your first time launching a website in onionshare the persistence file and the config file are generated. The config file is generated here '/home/user/snap/onionshare/current/.config/onionshare/onionshare.json' and the persistence file is generated here '/home/user/snap/onionshare/current/.config/onionshare/persistent/insert-random-name.json'
|
|
You can copy these two files and keep your onion address if you move to a new computer.
|
|
note: When running onionshare using the command line, which is recommended you must write each new html/css/txt/directory file name/location at the bottom of your persistent file in the format the file presents those lines in. For a detailed look view the persistence file generated by onionshare in the location described above. If you don't the pages won't load.
|