Giter VIP home page Giter VIP logo

file_manager's Introduction

File Manager

Semi-abandoned project to create a minimalistic file manager with tags and better-than-average organization capabilities


Stack: python, tkinter, sqlite
Tools: pre-commit, GitHub Actions
Support: Windows, Linux, untested on Mac (probably works)

Details

UI and Behavior on main

Image of GUI on main branch

The UI on the main branch currently allows adding, deleting, and live-searching tags in the underlying database. Upon typing in the Search/Edit field of the Tags section, the tags list below it will update with current matches. If there are matching tags, the user can select any of them. If the user's search is an exact match, pressing the +/- button hides the tag from the user interface. If there is no exact match, pressing the +/- button creates a new tag. There's currently no way to actually delete a tag from the database from the UI. Clear Selections clears the search box and deselects all tags.

When tags are selected, the Files section updates to list files that contain matches for all of the tags selected. Files that do not include every selected tag are filtered out.

Clicking a listed file result from the Files section (paths hardcoded) opens it using the system's default opener. Middle clicking on a file result "selects" it and updates the Selected File section to include information about that file.

The UI resizes fairly gracefully. There's also a (not totally dark) dark mode.

The UI is obviously very clunky and not very minimal -- lots of unecessary lines and boxes are present. You'll also notice that it has lots of flickering on interaction, as interaction causes the entire UI to be re-constructed. Because it was written in a tightly-coupled way that was very difficult to change, a rewrite of this GUI was initiated on the rewrite_gui branch as opposed to simply updating the original.

UI and Behavior on rewrite_gui

Image of GUI on rewrite_gui branch

This rewrite of the UI was started because of the obnoxious flickering on interaction on the original (as stated in above). The in-progress rework can be used by passing gui2 as an argument to the normal run command: python file_manager/main.py gui2.

This UI can search and select tags and search files. That's about it.

file_manager's People

Contributors

holychowders avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.