DEV Community

Gan Mahmud
Gan Mahmud

Posted on

A "Brave" way to brows blocked content from terminal

tl;dr

  • Add the brave executable to environment variables
  • From the terminal type: brave --tor <URL>

Apart from Google Chrome, Brave has been one of my go-to browser, specially for its "New Private Window with Tor" feature. Basically it acts as a VPN for browsing ISP/country blocked contents.

I never liked installing any chrome extension or use any free VPN solution (let alone buying it) to brows any blocked content. In stead, I used to fire up the Brave browser and open a tor tab to load the desired URL. But it was still too much work to load a simple URL, well at least for a software professional.

Along came the idea to do it from terminal.

After some research I found out that Brave has a CLI option to open any URL with "New Private Window with Tor". I only have to use the following command -

path-to-brave-executable --tor <URL>

For my convenience, I added the brave executable to my environment variables. Now I can type brave --tor https://medium.com/ in my terminal and voilà.

Top comments (2)

Collapse
 
moukhrahman profile image
Md Mustafizur Rahman

Really helpfull information bhai .

Collapse
 
ganmahmud profile image
Gan Mahmud

Thank you Mustafiz :)