Car Price Estimator Pro is a browser extension designed to provide accurate market price estimates for cars listed on avito.ma. This tool allows users to either manually input car details or automatically extract data from car listings to determine an estimated market value. It is built with React, TailwindCSS, and Vite, and leverages Chrome's extension APIs for seamless integration with the browser.
-
Machine Learning Model:
Predict_Price_Car – Contains the core machine learning model used for car price estimation. -
Backend API:
Repository coming soon.
- Manual Price Estimation: Users can manually input car details such as manufacturing year, mileage, fuel type, and other specifications to calculate an estimated price.
- Automated Data Extraction: Automatically extracts car details from avito.ma listings to generate a market price estimate.
- Confidence Score: Displays a confidence percentage to indicate the reliability of the estimation.
- Deal Assessment: Identifies whether the listed price is a good deal or overpriced based on market trends.
- Intuitive User Interface: Designed for simplicity and ease of use, with a clean and responsive design.
- Standalone Mode: Includes a standalone page for manual estimations without relying on avito.ma listings.
- Clone this repository or download the ZIP file.
- Open Chrome and navigate to
chrome://extensions/. - Enable Developer mode in the top-right corner.
- Click Load unpacked and select the
distfolder from the project directory.
- Visit a Car Listing: Navigate to a car listing on avito.ma.
- Open the Extension: Click the extension icon in the browser toolbar.
- Choose an Option:
- Manual Estimate: Enter car details manually to get a price estimation.
- Website Estimate: Automatically extract details from the current listing and generate an estimate.
- Review Results: View the estimated market price, confidence score, and deal analysis.
- Node.js (v16 or later)
- npm or yarn package manager
- Google Chrome (for testing the extension)
- Clone the repository:
git clone https://github.com/your-repo/car-price-estimator.git cd car-price-estimator - Install dependencies:
npm install
- Start the development server:
npm run dev
- Build the project:
npm run build
- Load the extension in Chrome:
- Navigate to
chrome://extensions/. - Enable Developer mode.
- Click Load unpacked and select the
distfolder.
- React: For building the user interface.
- TailwindCSS: For styling the application.
- Vite: For fast development and build processes.
- Chrome Extension APIs: For browser integration.
- JavaScript: For scripting and logic.
- Headless UI: For accessible and customizable UI components.
The project integrates with a backend API to estimate car prices. The API expects normalized car data and returns an estimation result. The API details are configured in the src/services/apiService.js file.
Example API Request
{
"year": 2015,
"type_boit": "manual",
"type_carburant": "diesel",
"kilometrage": 80000,
"marke": "Toyota",
"model": "Corolla",
"puissance": 110,
"premiere_main": 1,
"Nombre_doors": 5,
"city": "Casablanca",
"price": 150000,
"url": "https://www.avito.ma/..."
}Contributions are welcome! To contribute:
- Fork the repository.
git clone https://github.com/itsma3il/Avito-Price-Estimator-Extension
- Create a new branch:
git checkout -b feature/your-feature-name
- Make your changes and commit them:
git commit -m "Add your feature description" - Push to your branch
git push origin feature/your-feature-name
- Open a pull request.
This project is licensed under the MIT License.
For questions or support, please contact [[email protected]].