This GIST has everything you need to run multiple private web browsers on your system.
Kick off install/upgrade script (inspect source-code below) by running the one liner four lines below in your terminal :
/bin/bash -c "$(curl -fsSL \
https://gist.githubusercontent.com/henri/\
34f5452525ddc3727bb66729114ca8b4/raw/\
500.spb-install-script.bash)"
Detailed install instructions : Copy and paste the lines above into a terminal and press enter.
Mild testing has been completed on the following operating systems :
- MacOS
- macOS 10.15 (and later)
- Officially the latest versions of Chromium require macOS 13 or later.
- GNU/LINUX
- Linux Mint
- EndeavourOS
Once installation is complete. The following commands will get you started with SPB.
Start a new private browser session :
~/bin/start-private-browser.bash
Show SPB help :
~/bin/start-private-browser.bash --help | less
Uninstall SPB from your system :
rm -i ~/bin/start-private-browser.bash
Handy wrapper scripts to facilitie SPB usage via the command line :
-
- DuckDuckGo Search : start multiple DuckDuckGo searches.
- DuckDuckGo Chat : have multiple DuckDuckGo AI (LLM) chats.
- YouTube Search : initiate simultanius YouTube searches.
- Perplexity AI Chat : kick off converstations with Perplexity AI
The SPB project is not affiliated with any of the companies or the services listed above. Before using third party web services as listed above (eg Ai, Search, etc) it is reccomended that you first consult the services usage and privay policy. Many of these web based services offer a service in exchange for gathering and storing supplied information). Additional, examples like this are welcomed. If you put together something and would like, share a link to your work then comment below.
As you would expect. The SPB project has zero telemetry. As such if you decide to install and use this software nothing is sent back to mothership. Not even usage anylitics!
As the default browser option in SPB is Brave and that project is a telemetry sender ; it is advisable that you read the Brave privacy policy. Brave is an open source project. However, if having any kind of telemetry being sent out is a problem then you should opt to use a different browser. Also, follow and chime into this issue on github with your opinion(s) regrading telemetry opt-out features within Brave.
SPB is hosted on GitHub and as such data is recorded ⏺️ as you access this page. At the bottom of this page you will find links to disable and manage the way GitHub handles your data and tracking. Also, the following links are useful with regards understanding the stance of GitHub towards privacy and trust :
Different operating systems and even different LINUX distributions have different stances on privacy and telemetry. As such it is advisable that you check these details for your specific operating system. This project works on a variety of operating systems each with their own particulars relating to privacy and telemetry.
You should only run code and use software from sources you trust! If you do not trust yourself to check the project code below or you do not trust my judgment, then it is reccomended to not run this code. The alterative, would be to ask someone familar with shell scripting (the language used to create SPB) to vet the code on your behalf. Just make sure that whomever you ask you trust. With 25+ years of experience writing shell scripts, you would hope that I have learnt to test my work.
SPB is released under the GNU GPL 3 or later. The GNU GPL is a free software licence which protects users freedoms. Learn more about escaping to freedom.
The use cases for this script are immense and include simplified day-to-day web browsing, trouble-shooting, testing, load-testing, having multiple tabs which are not related in terms of cookies etc.
When starting a private session within the Safari WebBrowser on MacOS each tab is seperate (the cookies are not shared between tabs). However, most other browsers share the private cookies with all private tabs. One approach is not better or worse. But if you would like to have multiple instances of a browser but not have them sharing all those dirty cookies, then this script allows you to start up all as many private (and seperate) sessions as you need and as your system will cope with in terms of system resources. Have fun loading some private browsers.
May the privacy be with you!
SPB (start private browser) is able to start multiple private browsers. But do not expect more functionaility or privacy from running a browser in incogneto mode. The idea behind SPB is that you can load multiple instances which are somewhat seperated from one and other. Each instance is still running under your user accont and on your system.
In the event additional privcay is required run SPB within a VM or within a continer. If higher levels of privacy are needed, then consider these projects :
If you test it and it works on your operating system leave a comment :) or let me know it is not working. currently no plans to make this work on Microsoft Windows. It may work within the WLS? Give it a try and let me know!
At this stage the script is maily configured by direct editing. At some point perhaps a config file will be a thing? See the road map for details.
This project is still in the 🌱 seedling stage (with lots of potetential). If you have suggestions / ideas to improve the way it works, then please leave a comment. If you test this on a particular operating system and it works or is not working for you please also leave a comment so that others know to give it a try or not :)
In order to protect users of this project all contributors must comply with the Developer Certificate of Origin. This ensures that all contributions are properly licensed and attributed.
Development / Testing / Automation
General