Kfiles - An 'OK' file explorer
A downloadable tool for Windows and Linux
KFiles
KFiles is an alternative file browser I made because I didn't like Windows File Explorer
Tags
Unlike other file browsers, KFiles makes use of tags.
Why is this important?
1. Categorizing files and folders by meaning instead of by path.
When you want to go to a friend's house, you don't think *I'm going to A country, B city, C avenue, #123"; you think "I'm gonna go see my friend".
When you're looking for an image on your computer, you don't think "That reminds me of `Pictures/animals/funny_cat.png`"; you think "That reminds me of that funny cat picture".
Using tags enables you to search through files just like in your brain: by meaning instead of by path. It removes the "awkward cursor dance" and eye squinting you may do when you know what you're looking for, but can't find it or don't know how to get there.
2. More advanced querying capabilities.
Using tags makes it so you can filter a bunch of directories like a massive Venn diagram.
Looking for all image files related to projects? Just search the intersection between the `#projects` and `#images` tags.
And if you think of it this way, this means you can also have tags inside of tags: "subtags".
In KFiles, you can tag single files (e.g. `animals/funny_cat.png` with `#animals` and `#memes`), or entire folders and their contents (e.g. `animals/` with `#animals`).
And of course, one tag can have multiple entries (e.g. `~/Music/` and `~/Documents/MyGame/Music/` could both be tagged with `#music`).
Querying
On top of tags, `KFiles` offers a sligltly more advanced searching system than your usual *fuzzy-search*.
There are 4 types of search constraints:
- Filter by type with:
- `--file` or `-f` for files only
- `--dir` or `-d` for directories (folders) only
- Filter by file extension with `.(ext)` (implies searching for files). E.g.
- `.rs` will look for only `.rs` files
- `.txt .toml .json` will look for all files that are either of the 3
- Search for exact matches with `"(query)"`. E.g.
- `"player"` will filter files and folders that contain "player"
- Everything else will be a fuzzy search
Examples
`-d kf`
will give you folders (`-d`) that loosely match "kf".
E.g. projects/KFiles/
-f pics "cat"
will give you files (`-f`) that contain the string "cat", and also loosely match "pics".
E.g. Pictures/my_cat.png
.txt "my file
will give you `.txt` files that contain the string "my file".
E.g. Documents/my file.txt
Note how in this query, there is no need to fully close the quotes -- `"my file` instead of `"my file"`; these 2 are functionally the same.
If there is no closing quote, the rest of the query will be matched.
Combined with tags:
"kfiles" .toml .rs
in `#projects
will search through the `#projects` tag, and return all `.toml` and `.rs` files that contain "kfiles" in their path.
-f nevgonagiyup "gonna
in `#videos` and `#memes`
will search through all paths that are tagged with both `#videos` and `#memes`, and return all files (`-f`) that contain "gonna" and loosely match "nevgonagiyup"
E.g. Never gonna give you up.mp4
Q: Does it work on platforms other than Windows?
A: I don't know. Haven't tried... ¯\_(ツ)_/¯
Update: it works on Linux!
Status | Released |
Category | Tool |
Platforms | Windows, Linux |
Author | Misoshiru Studio |
Tags | Open Source, tool |
Download
Click download now to get access to the following files:
Comments
Log in with itch.io to leave a comment.
Does not work...
- When I open a folder via this, it opens file explorer
- No icons
- Weird visual glitches
- Folders and files not appearing
This is really nice! And there was no need to change any code to make it run on Linux. Awesome project! :)