Giter Club home page Giter Club logo

browser-extension-cart's Introduction

React + ViteJS

This is an Extension that helps to detect Dark Patterns On a Ecommerce Website.

Ruse-Reveal

Purpose

This repository features a Browser Extension that tackles Dark Pattern on E-commerce websites.

Installation

  1. Clone the repository
git clone https://github.com/JainArchit16/Ruse-Reveal
  1. Change your directory to Ruse-Reveal
cd Ruse-Reveal
  1. Run the command for neccessary packages
npm install
  1. Now build the app
npm run build
  1. Open your browser's extension management page
  2. Enable "Developer mode."
  3. Click "Load unpacked" and select the "dist" folder in your extension directory.

This will load the extension on your browser

Features

  1. Sneak Into Cart
  2. Button Visibility Manipulation
  3. Reviews
  4. Price Prediction

Sneak Into Cart

  1. Give a notification when a new item is added to cart

  1. All cart items will be shown in the cart section of extension with their price, date, and the total amount of items.

  2. Keep a check of all items and make it red when it is their in the cart for 7 or more days

  1. When an item is removed from cart, it will also be deleted from extension UI

Item removed

Button Visibility Manipulation

To address this issue, we have incorporated a button extension into our main model. This enables users to conveniently access membership and cancellation details on an eCommerce website through a standardized display of all buttons within the extension, facilitating seamless operation within the extension itself.

Price Predictor using ARIMA Forecaster

Purpose

This repository features a Price Predictor that leverages an ARIMA (AutoRegressive Integrated Moving Average) model to forecast product prices based on their price history over the past month. The primary goal is to provide users with insights into short-term fluctuations in product prices, aiding them in making informed decisions about the best time to make a purchase.

The product for the current forecast can be found here

Explanation of ARIMA

The model uses a standard ARIMA approach to capture short-term trends in product pricing. ARIMA combines autoregression (AR), differencing (I), and moving averages (MA) to create a robust forecasting tool. The result is a predictive model that can anticipate product prices for the next 7 days.

Repository Structure

The repository is organized with three main components:

server.js

This file is responsible for executing both script.py and script.js. Upon successful execution of script.py, a JSON file (arima_results.json) is generated. This file is then utilized by script.js to plot the price chart on the webpage using Charts.js.

script.py

This Python script, upon successful build, creates the arima_results.json file, containing the predicted prices for the upcoming week.

script.js

This JavaScript file is responsible for rendering the price chart on the webpage. Users can customize the chart's appearance and behavior by modifying this file.

Deployment

The deployed code can be found here

Feel free to explore the provided deployment link to see the Price Predictor in action and visualize the predicted product prices.

Getting Started

To run the Price Predictor locally, follow these steps:

  1. Clone the repository to your local machine.
  2. Install any necessary dependencies.
  3. Execute server.js to initiate the prediction process.
  4. Make sure to refer to the documentation for further details on how to set up and customize the Price Predictor according to your requirements.

Note: To use this forecaster with any other CSV file, update the data source in script.js (line 10) and script.py (line 7) to match the new dataset.

Happy forecasting!

Price Prediction

Certainly! It seems like you want to make some improvements to your GitHub repository's README and also explain a specific feature related to managing reviews on the blockchain. Below is a revised version for your README:


BlockChain Review Manager

Welcome to the BlockChain Review Manager ! This project provides a decentralized solution for managing and storing reviews securely on the blockchain. You can explore the deployed BlockChain API's on Web 2.0 in action and visualize the reviews being managed on Web3.

Repository Structure

  • Contract: The blockchain contract code is available in the directory LINK. It defines the structure and logic for storing reviews on the blockchain.

  • Compile.js: This script is used to compile the blockchain contract.

  • Deploy.js: The deployment script is available in the LINK file. It allows you to deploy the compiled contract onto the blockchain.

Deployment Link

Explore the deployed BlockChain API's GITHUB REPO and DEPLOYMENT LINK to witness the decentralized review management system in action.

Features

One notable feature of this BlockChain Review Manager is its ability to address issues related to dark patterns on websites. Users can directly add reviews of dark patterns observed on a site to the blockchain through the provided APIs. This ensures that the reviews are securely stored on the blockchain, preventing manipulation by website owners or any other entities.

Dark Pattern Review APIs

To facilitate the submission and retrieval of dark pattern reviews, the BlockChain Review Manager provides the following APIs:

  1. Get Reviews for a Specific Website:

  2. Get Review Count for a Specific Website:

  3. Get Average Rating for a Specific Website:

Feel free to explore and integrate these APIs to enhance your experience with the BlockChain Review Manager.

How it Works

  1. Identification of Dark Patterns: Users identify and observe dark patterns on websites. These could be manipulative or deceptive design elements.

  2. Direct Submission to Blockchain: Using the BlockChain Review Manager, users can submit reviews of these dark patterns directly to the blockchain. The decentralized nature of the blockchain ensures that these reviews are tamper-resistant.

  3. Immutable Record: Once submitted, the reviews become part of an immutable record on the blockchain. This means that the information cannot be altered or manipulated by website owners or any external parties.

  4. Transparent and Trustworthy: The decentralized nature of blockchain technology adds transparency and trust to the review management process, ensuring that user feedback is genuine and cannot be influenced by external interests.

image

How to Contribute

Feel free to contribute to the development of this project by forking the repository, making improvements, and creating pull requests. Your contributions are highly valued.


I hope this provides a clear and informative overview of your BlockChain Review Manager project. Feel free to modify it further based on your preferences and additional details you may want to include.

Browser-Extension-cart

browser-extension-cart's People

Contributors

ayusharora2212 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.