zedeus / nitter

Alternative Twitter front-end
https://nitter.net
GNU Affero General Public License v3.0
9.77k stars 517 forks source link

Proxy for outgoing requests #418

Closed Mihara closed 2 years ago

Mihara commented 2 years ago

This is a feature request, I'm afraid.

In certain situations, Nitter would be a very useful censorship circumvention tool, if I could configure it to direct all outgoing requests to Twitter through a proxy, like you can do with, for example, Miniflux. Of course, I can set up some manner of vpn-based routing solution, but proxies are just massively easier to configure or switch in case one becomes compromised.

Is there any chance of that? I don't think httpclient can do SOCKS, but even a simple http proxy would help.

zedeus commented 2 years ago

All requests to twitter are already proxied through the server

Mihara commented 2 years ago

Which would require installing it somewhere where twitter is accessible, wouldn't it?

Here's a use case:

If I can tell nitter to go through the socks proxy for outgoing requests, I just use Twitter through it, otherwise I have to jump hoops creating routing rules that would route requests to twitter from nitter through the socks proxy.

zedeus commented 2 years ago

You can run nitter with some software like tsocks to do this