This project implements a Python-based file search engine that searches for a target file in a specified directory, ignoring file name case sensitivity.
- Fast searching using Python
- Easy setup with Docker
- Flexible search parameters
- Python 3.10+
- Docker (for Docker setup)
- Clone the repository:
git clone https://github.com/aleko-khomasuridze/File-Search-Engine.git
- Navigate into the project directory:
cd File-Search-Engine - Install dependencies:
pip install -r requirements.txt
- Run the application:
python main.py
- Build the Docker image:
docker build -t filesearchengine . - Run the container:
docker run -d -p 8080:8080 filesearchengine
This section guides you through the main functionalities of the application using the main screen interface.
-
Select the Search Directory:
- Click on the folder icon to open a directory dialog box where you can navigate to and select the directory you want to search.
- Alternatively, you can manually enter the complete directory path in the
Folder Pathfield.
-
Specify the File Name:
- Enter the name of the file you are searching for in the
File Namefield. The application handles case sensitivity, so you don't need to worry about it.
- Enter the name of the file you are searching for in the
-
Define the File Extension:
- Input the extension of the file you are looking for in the
Extensionfield to narrow down the search.
- Input the extension of the file you are looking for in the
-
List All Files by Extension:
- Click on
List Allto display all files within the specified directory that match the given file extension.
- Click on
-
Perform the Search:
- Once all fields are filled, click the
Searchbutton to initiate the search. The application will then display a list of all files that contain the name specified in theFile Namefield.
- Once all fields are filled, click the
-
Open File from List
- Once all the files have been listed in the Table, You can click on the eye button in actions column to open the target file.
These steps will help you efficiently utilize the application to find files based on name and extension within a chosen directory.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
