Your Favorite Persona Extension
- Introduction
- Prerequisites
- Setting Up Web-Crawling
- Building the Chrome Extension
- Usage
- Troubleshooting
- Contributing
- License
Hansel 🍪 is a Chrome extension designed to fool web trackers based on user-created personas. This guide will help you set up and run the extension on your local machine.
Before you begin, ensure you have the following installed on your machine:
- Python 3.8 or higher
- pip (Python package installer)
- Flutter SDK
- Google Chrome browser
To set up the web-crawling component of the project, follow these steps:
- Open your terminal or command prompt.
- Navigate to the
web-crawling
directory:cd web-crawling
- Install the required packages using pip:
pip install -r requirements.txt
- Start the API server using uvicorn:
uvicorn main:app --reload
- Your local host is now running and ready to accept requests from the web extension.
To build and load the Chrome extension, follow these steps:
- Navigate to the
ui
directory:cd ui
- Build the extension using Flutter:
flutter build web --web-renderer html --csp
- Open Google Chrome and navigate to
chrome://extensions
. - Enable
Developer mode
by toggling the switch in the top right corner. - Click on the
Load unpacked
button. - Select the build directory within the
ui
directory.
Once the extension is loaded in Chrome, you can start using it by clicking on the extension icon in your browser. Follow the on-screen instructions to begin fooling web-trackers.
If you encounter any issues during the setup or usage of the extension, refer to the following steps:
- Ensure all dependencies are installed correctly.
- Check the terminal or command prompt for error messages.
- Restart the API server and reload the extension in Chrome.
We welcome contributions to enhance the functionality and performance of Hansel 🍪. If you would like to contribute, please fork the repository, create a new branch, and submit a pull request with your changes.
This project is licensed under the MIT License.
Feel free to reach out if you have any questions or need further assistance. Enjoy your free cookie 🍪!