CogniGuard is a powerful web extension designed to empower users by identifying and combatting dark patterns on various websites, particularly focusing on E-commerce platforms. Ensuring users a transparent and ethical online experience.
Metric | Score |
---|---|
Accuracy | 0.985993 |
Precision | 0.985138 |
Recall | 0.985993 |
F1-Score | 0.984211 |
- clone the git repository locally.
git clone https://github.com/4darsh-Dev/CogniGaurd.git
- Install python and setup virtual envionment.
pip install virtualenv
cd api
cd CogniGaurd
python -m venv myenv
.\myenv\Scripts\activate
source myenv/bin/activate
- Installing required modules and libraries
pip install -r requirements.txt
- Running Django Development Server
python manage.py makemigrations
python manage.py migrate
python manage.py runserver
-- Server will be started at localhost (example: http://127.0.0.1:8000/)
- Open Google Chrome Browser and visit url
chrome://extensions/
- Turn on Developer Mode.
- Click on load unpacked and then select the cogniguard-web folder with manifest.json
- Click on extension icon and you will find the CogniGuard.
- Web Extension: HTML, CSS, JavaScript
- Python (BeautifulSoup, Scrapy): Web scraping for price data analysis.
- Django: Backend for API management and Dark pattern report pattern for CogniGuard
- BERT Model: Fine-tuned for sophisticated pattern recognition.
- JavaScript Code Analysis: Uncover deceptive tactics through DOM manipulation and event listeners.
- Price Manipulation Detection: Warn users of potential price manipulation and fake urgency.
- Crowdsourced Database: Contribute to a collaborative platform by reporting dark patterns.
- Misleading Terms & Conditions Detection: Identify complex terms and potential data leaks.
- Transparency Score Calculation: Receive website transparency scores for an informed browsing experience.
[Include screenshots of the extension interface in action.] coming soon.
Detailed documentation on usage, contribution guidelines, and API integration can be found in the Documentation Link.
-
@4darsh-Dev (Adarsh Maurya) - Project Lead
-
@amansingh494 (Aman Singh) - FrontEnd Developer
-
@Anmolgoel29 (Anmol Goel) - Machine Learning
-
@DharmeshTanwar56 (Dharmesh Tanwar) - UI/UX Designer
-
@goldy-dev123 (Goldy) - Technical Writing
Thank you for considering contributing to CogniGuard! We welcome your help in making this project even better.
Here are the key points to guide your contributions:
-
Fork the Repository: Start by forking the CogniGuard repository to your own GitHub account. π΄
-
Clone the Repository: Clone the forked repository to your local machine using . π»
git clone https://github.com/4darsh-Dev/CogniGaurd
-
Create a Branch: Create a branch for your contributions using a descriptive branch name. πΏ
-
Make Changes: Implement your changes or additions, ensuring they align with the project's goals. π
-
Testing: Test your changes thoroughly to ensure functionality and prevent regressions. βοΈ
-
Commit Changes: Commit your changes with clear, concise messages. π¬
-
Create Pull Request: Push your changes to your forked repository and create a Pull Request (PR) to the main CogniGuard repository. π
-
Follow Code Standards: Adhere to coding standards and guidelines defined in the project. π
-
Provide Detailed PR Description: Clearly explain the purpose and impact of your PR. π
-
Participate in Discussions: Engage in discussions related to your PR and address feedback promptly. π¬
By following these guidelines, you contribute to the growth and improvement of CogniGuard. Thank you for your valuable contributions! π
Check out the project's roadmap to understand the planned features, improvements, and future milestones.
- Creating the CogniGaurd Frontend and Api integration.
- Building Datasets for fine tuning BERT Deep learning Model.
- Setting up python virtual environment with necessary modules and libraries.
- Fine Tuning BERT model for analyzing terms and conditions page.
- Testing the BERT model on random websites.
- Django Backend for serving CogniGuard Landing and report dark pattern pages.
- Setting up Database for Django app.
- ...updating soon
Familiarize yourself with the project's code of conduct to ensure a positive and inclusive community.
- Welcome to the CogniGuard Community! π
- Values: Prioritize inclusivity, respect, collaboration, open-mindedness, and transparency. π
- Expected Behavior: Embrace positive language, constructive criticism, and acknowledgment of efforts. Adhere to guidelines and maintain a respectful tone. π
- Unacceptable Behavior: Prohibit harassment, trolling, personal attacks, and privacy violations. π«
- Reporting: Promptly report violations. Investigation includes warnings or removal from the community. π‘οΈ
- Conclusion: We aim to create a space where everyone feels welcome, valued, and respected. Join us in fostering a positive and collaborative community! π
We express our gratitude to the incredible individuals who have contributed to the development and success of CogniGuard. π Your dedication, passion, and insights have played a pivotal role in shaping this project.
Special thanks to the open-source community for their continuous support and collaborative spirit. π Your contributions, whether big or small, have contributed to the growth and improvement of CogniGuard.
We appreciate the efforts of each tester, developer, and community member who has devoted time and expertise to make CogniGuard a valuable tool.
Thank you for being part of our journey and contributing to a transparent and user-centric online environment. π Your involvement is crucial to the success of CogniGuard!
We value your feedback! Report issues at [email protected] Propose features, or submit pull requests. Let's create a fair and transparent digital environment together! πβ¨