onionshare-cli(1)
β¨ onionshare-cli β the manual, but make it make sense β¨
okay bestie, sit down, hydrate, because this is genuinely one of the coolest tools ever and you're about to understand it fr fr. this is the onionshare-cli manual page. π
πΈ NAME πΈ
onionshare β a tool for anonymously sharing and receiving files over a temporarily set up Tor Hidden service. no cap, that's the whole vibe. π§
β¨
π¦ SYNOPSIS π¦
onionshare-cli [ --receive ] [--website] [--chat] [ --connect-timeout
SECONDS ] [--config FILENAME] [ --persistent FILENAME ] [--title TITLE]
[--public] [ --auto-start-timer SECONDS ] [--auto-stop-timer SECONDS] [
--no-autostop-sharing ] [--data-dir data_dir] [ --webhook-url
webhook_url ] [--disable-text] [ --disable-files ] [--disable_csp] [
--custom_csp custom_csp ] [ filename ... ]
π DESCRIPTION π
OnionShare lets you anonymously share files, or receive files. and starting from version 2.2, OnionShare can also be used as a webserver through which static HTML files can be served. iconic behavior honestly. π
OnionShare has four different operating modes:
- the default, for sharing files
- receive mode, for receiving files
- public mode, for sharing files with a large audience
- website mode
when you're using OnionShare, a web server gets started, which makes OnionShare accessible as a Tor Onion Service over the Internet. an unguessable address is generated, and you can share it so the recipient opens it in a tor client β like Tor Browser β to download, upload, or consult files. π
Traffic between their device and your onion service is end-to-end encrypted. no separate server, no third party file-sharing service, none of that. you host the files on your own computer, acting as a server, for as long as the program is running. main character energy tbh. π₯
OnionShare can be configured to run with its built-in version of tor, a TorBrowser, or a system tor running in the background. By default, OnionShare uses its built-in version of Tor.
OnionShare's default behaviour is to shut down the hidden service and stop once the files have been up or downloaded. You can prevent this by invoking the --no-autostop-sharing option. This can be useful if you want multiple people to access the same file. π«Ά
Public mode β In case of sharing the unguessable URL with many peers, please enable "Public mode", otherwise OnionShare might interpret multiple accesses as an attack and shut down the hidden service. π yes fr, it will just peace out on you.
Receive Mode lets people upload files to your OnionShare via Tor Browser. π
Website Mode allows you to publish a website as an onion service by sharing an entire path to a local directory. When the directory contains an index.html file (along with any static files such as images, CSS etc), then the site will be viewable on the Tor network as an onion service as the actual website itself (not as an OnionShare interface). The onion service will render HTML in Tor Browser just like any other website. If you don't have an index.html, OnionShare will show a directory listing of your files instead. In directory listing, each file can be opened, and there is no download button for the compressed archive. OnionShare does not share your original website files. Instead, it creates a copy of those files in a temporary folder and shares those copies. β¨
Automatic start and stop β The auto-start timer allows you to schedule a share to start at some time in the future. β°
For detailed and up-to-date information such as using OnionShare with bridges, refer to the authors' public documentation at https://github.com/micahflee/onionshare/wiki/ π§
π OPTIONS π
here's the full menu bestie, no skipping, we list every single one:
-h,--helpβ show this help message and exit--receiveβ Receive files--websiteβ Publish website--chatβ Start chat server--local-onlyβ Don't use Tor (only for development)--connect-timeout SECONDSβ Give up connecting to Tor after a given amount of seconds (default:120)--config FILENAMEβ Filename of custom global settings--persistent FILENAMEβ Filename of persistent session--title TITLEβ Set a title--publicβ Don't use a private key--auto-start-timer SECONDSβ Start onion service at scheduled time (N seconds from now)--auto-stop-timer SECONDSβ Stop onion service at schedule time (N seconds from now)--no-autostop-sharingβ Share files: Continue sharing after files have been sent (default is to stop sharing)--data-dir data_dirβ Receive files: Save files received to this directory--webhook-url webhook_urlβ Receive files: URL to receive webhook notifications--disable-textβ Receive files: Disable receiving text messages--disable-filesβ Receive files: Disable receiving files--disable_cspβ Publish website: Disable the default Content Security Policy header (allows your website to use third-party resources)--custom_csp custom_cspβ Publish website: Set a custom Content Security Policy header-v,--verboseβ Log OnionShare errors to stdout, and web errors to disk
and that's the whole page, you ate it, periodt. πβ¨
this beauty comes from the onionshare-cli manual, page onionshare-cli(1), dated July 2022 β mwah, obsessed, go share some files anonymously bestie ππ§
π
π¦ where this page comes from
- debian bookworm: onionshare-cli 2.6-5~deb12u1 Β· GPL-3.0-or-later
- debian trixie: onionshare-cli 2.6.3-1+deb13u2 Β· GPL-3.0-or-later
- ubuntu noble: onionshare-cli 2.6-6ubuntu1 Β· GPL-3.0-or-later
- ubuntu noble: onionshare-cli 2.6-6ubuntu1.1 Β· GPL-3.0-or-later
- ubuntu questing: onionshare-cli 2.6.3-1
- ubuntu resolute: onionshare-cli 2.6.3-3 Β· GPL-3.0-or-later
- ubuntu stonking: onionshare-cli 2.6.4-1 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms