DDAS is a web application that helps users identify and manage duplicate files in their download directory. It consists of a Python Flask backend and a React frontend.
- Python 3.x
- Node.js and npm
git clone https://github.com/Sravan2510/data-download-duplication-alert-system.git
cd data-download-duplication-alert-system
- Navigate to the backend directory:
- Create and activate a virtual environment (optional but recommended):
- Install Python dependencies:
- Configure the base directory: Open app.py and modify the base_dir variable in the download and delete routes to point to your downloads directory:
- Start the Flask server: The backend server will run on http://127.0.0.1:5000
-
Navigate to the frontend directory:
-
Install Node.js dependencies:
-
Configure the API endpoint:
- The frontend is configured to connect to http://127.0.0.1:5000 by default
- If your backend runs on a different address, update the API URLs in src/App.jsx
-
Start the development server: The frontend will be accessible at http://localhost:5173
- Open your web browser and navigate to http://localhost:5173
- The application will automatically scan your configured downloads directory
- Use the search bar to filter files by name
- View file statistics in the top cards
- Manage files using the action buttons:
- 🗑️ Delete files
- ⬇️ Download files
- Files are categorized as:
- UNIQUE: No duplicates found
- ORIGINAL: The first instance of a duplicated file
- DUPLICATE: Subsequent copies of an original file