fileyface.co -- HackGT 11
File Manager that automatically sorts file downloads. One click away from organisation.
Set-Up
-
Clone the repository
-
Download all requirements
pip install -r requirements.txt
-
Set API key for OpenAI and TextRazor (if needed)
-
Run
python src/AppGUI.py
in the FileyFace repository -
Download .pdf, .docx, .pptx, .txt, .zip, and many more files as needed!
--> files will be automatically sorted
--> supports all file types
File Analysis
-
Immediately upon file download, file name and extension are read
-
Web address of download (e.g. "canvas.com" for an assignment download) is read from Chrome history
-
Beginning of file is parsed and summarised depending on doc type
--> OpenAI API assists in general file summarisation
--> RazorText API assists in keyword location based on weights (entity, phrase, word, topic)
-
User is able to change file name within GUI; if name is changed, then file name is re-read
-
User is able to add specific instructions (e.g. "put within the homework folder")
Decision Making
-
Directory tree is loaded from computer using os functionality
-
File analysis data (file name, extension, summaries, web address) are evaluated by OpenAI API and "best folder destination" is outputted to user
--> new folder is created with os functionality if necessary
--> miscellaneous files are filtered into an "Other" file
-
If user is unsatisfied, "Regenerate" button can be used to re-evaluate inputs for a potentially more accurate folder destination output
--> if user changes the name of a file within the GUI, a "Regenerate" button press is recommended
--> if user adds new instructions to be processed, a "Regenerate" button press is necessary
--> "Regenerate" can be pressed as many times as necessary
File Placement
- File is unzipped from package (if necessary)
- Python os package is used to move file from src to destination
- If file already exists at that location, file is left in the Downloads folder with a message to the user
- If the file is successfully moved to the destination, its name, file path, and timestamp is stored in a file_history.csv file in the FileyFace folder