That post seems to be missing.
Penta 28 points a year ago

You can use curl itself, just set a SOCKS5 proxy with --socks5. Simply point it to the address of a running tor instance. So on arch linux for example, install the tor package, start the systemd service and use localhost:9050 as the proxy.

path: 0 19587207, hotness: undefined, score: 28, children: 2
Penta 11 points a year ago path: 0 19587207 19587255, hotness: undefined, score: 11, children: 1
communism 7 points a year ago

Thanks, didn't realise I could do that!

path: 0 19587207 19587255 19587342, hotness: undefined, score: 7, children: 0
SpookyMulder 15 points a year ago

Tor comes packaged with torify which you can prefix any CLI command with to have it route through Tor and resolve onion sites properly.

path: 0 19590658, hotness: undefined, score: 15, children: 4
thingsiplay 5 points a year ago

I never knew about these CLI tools being packaged with Tor. After some research, torify nowadays is a wrapper around torsocks and one should use torsocks directly instead. I even found an 8 year old post citing the man page:

man torify:

"It is provided for backward compatibility; instead you should use torsocks."

path: 0 19590658 19593213, hotness: undefined, score: 5, children: 2
swelter_spark 2 points a year ago

Torsocks is what I use, personally. You just put 'torsocks' in front of whatever command line you can normally use. Works for gui programs, too.

path: 0 19590658 19593213 19595315, hotness: undefined, score: 2, children: 1
thingsiplay 1 point a year ago

Good to know, its easy usage. Do you/I need to have Tor installed on the system, in order for Torsocks to work?

path: 0 19590658 19593213 19595315 19595385, hotness: undefined, score: 1, children: 0
Neptr 4 points a year ago

Officially from the Tor Project there is also oniux. From the blog, "a small command-line utility providing Tor network isolation for third-party applications using Linux namespaces".

path: 0 19590658 19593855, hotness: undefined, score: 4, children: 0
medem 9 points a year ago

Even command line video downloaders such as yt-dlp & co. have an option for proxying the request over SOCKS, and the Tor daemon provides one. IIRC you'd do something like $command --proxy socks5://127.0.0.1:9050 $url.

path: 0 19589666, hotness: undefined, score: 9, children: 0
tvcvt 9 points a year ago

It’s not exactly a single tool, but torsocks kind of enables doing what you’re describing. The syntax would be something like torsocks curl $url

path: 0 19588540, hotness: undefined, score: 9, children: 0
trevor 7 points a year ago

oniux might be exactly what you're looking for.

It was still in early development when I played with it months ago, so I'm not sure if it's ready for daily usage, but it's from the Tor Project team themselves, so I imagine it will only keep getting better.

path: 0 19587998, hotness: undefined, score: 7, children: 0
mark 5 points a year ago

@communism Just use curl and wget with the torsocks wrapper.

path: 0 19587282, hotness: undefined, score: 5, children: 0

thanks for using Leebra!

go to feed...