Skip to content

jaisenGT/FileyFace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FileyFace

fileyface.co -- HackGT 11

Devpost

File Manager that automatically sorts file downloads. One click away from organisation.

Set-Up

  1. Clone the repository

  2. Download all requirements pip install -r requirements.txt

  3. Set API key for OpenAI and TextRazor (if needed)

  4. Run python src/AppGUI.py in the FileyFace repository

  5. Download .pdf, .docx, .pptx, .txt, .zip, and many more files as needed!

    --> files will be automatically sorted

    --> supports all file types

How FileyFace Works

File Analysis

  1. Immediately upon file download, file name and extension are read

  2. Web address of download (e.g. "canvas.com" for an assignment download) is read from Chrome history

  3. 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)

  4. User is able to change file name within GUI; if name is changed, then file name is re-read

  5. User is able to add specific instructions (e.g. "put within the homework folder")

Decision Making

  1. Directory tree is loaded from computer using os functionality

  2. 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

  3. 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

  1. File is unzipped from package (if necessary)
  2. Python os package is used to move file from src to destination
  3. If file already exists at that location, file is left in the Downloads folder with a message to the user
  4. 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

Demo

--video here--

About

HackGT11 -- File Manager that automatically sorts file downloads. One click away.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •