Skip to content

oktupol/onionshare-dl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OnionShare-Dl

Download files from OnionShare-Servers without having to install Tor.

Requirements:

You need to have Docker on your machine.

Usage:

Downloading files

Download files from an OnionShare.

docker run ghcr.io/oktupol/onionshare-dl

Provide the onion-host and private key as parameters:

docker run ghcr.io/oktupol/onionshare-dl -o http://tw6hk...d.onion -k ZU5HN...3Q

or as environment variables:

export ONION_HOST=http://tw6hk...d.onion
export PRIVATE_KEY=ZU5HN...3Q
docker run -e ONION_HOST -e PRIVATE_KEY ghcr.io/oktupol/onionshare-dl

Accessing downloaded files

The shared file will be downloaded into a directory /download inside the container.

Copy it onto your machine with

docker cp [container name]:/download/[file name] .

Container name and file name will be told to you by the program.

Alternatively, set up a volume mount so that the file will be directly downloaded onto your machine. When starting the container, provide it with the parameter -v:

mkdir target-dir
docker run -v $PWD/target-dir:/download ghcr.io/oktupol/onionshare-dl
# Your files will be written into target-dir

Cleanup

Once you copied your file onto your machine, remove the container:

docker rm [container name]