As of 9.28.21 this project has been depreciated and Google Oauth verification is not supported. You can still run the tool but you need to setup your own instance of Google Oauth credentials.
PrivacyBot is a simple automated service to initiate CCPA deletion requests with databrokers.
- PrivacyBot comprises of a React Frontend and a Python Flask Backend web architecture
- After starting the application, PrivacyBot initiates an OAuth authentication request with your Gmail account. You will be asked to allow PrivacyBot to read, compose and send emails from your Gmail account.
- Once the authentication is successfully completed, depending on the data provided to the Flask API, a CCPA data delete email is drafted and sent to the data brokers chosen.
- A confirmation email is sent back to you listing all the databrokers to whom the email was sent.
- A Gmail account - This is the email from which you will be initiating the data delete requests. PrivacyBot's data deletion process is most effective if this email is the one which you use the most for personal use.
- Install Python 3 (https://www.python.org/downloads/)
- Ensure pip3 is installed (https://pip.pypa.io/en/stable/installing/)
- Install node https://nodejs.org/en/download/
3. Open split terminal in VS Code (or any two terminals/cmd prompts on your machine). We will be using one terminal to run the Flask app and the other one to run the React app.
The below commands create and activate a virtual environment named "PB_venv".
$ python3 -m venv PB_venv
$ source PB_venv/bin/activate
$ cd app
$ pip3 install -r requirements.txt
To confirm required packages are installed - see if “flask_cors” is installed:
$ pip3 list
Run the below commands within the activated virtual environment.
$ flask run
The above commands will start the flask application. It can now be accessed through http://127.0.0.1:5000/
Leave this terminal instance as is, and open the second terminal instance.
PFB a step by step list of commands that informs how to install an instance of the React Server.
$ cd app
$ cd PB_UI
$ node -v
$ npm -v
$ npm install
$ npm audit fix
$ npm run build
$ npm start
You will now be able to fill in the required details on the browser form that is opened by the above React commands. Once the required details are filled in and your GMAIL account is authenticated successfully, PrivacyBot will automatically send data deletion requests to the chosen list of data brokers! Yay!