ploiu / file_server

a self-hostable file backup server, written in rust because crabs are funny
Apache License 2.0
0 stars 0 forks source link

file tags and attributes #30

Open ploiu opened 1 year ago

ploiu commented 1 year ago

Searchable "tags" and "attributes" for files and folders.

Additions

Tags

Attributes

Searching

use @ for searching attributes from the ui use + for searching tags from the ui e.g. ?search=test&attributes.size=>5KB&attributes.type=image&tags=tag1&tags=tag2&tags=tag3

ploiu commented 11 months ago

Attributes will be done for next release

ploiu commented 11 months ago

44

ploiu commented 2 weeks ago

use Metadata to get file size and date created. Best to use MB/KB/GB/etc instead of MiB/KiB/GiB/etc since they're more predictable(?)

the mime_guess crate can guess some mime types but it is far from being complete. Best thing to do is to look at the file extension and have a static mapping from file extension => searchable file type.


ploiu commented 2 weeks ago

Current file types in file server

ploiu commented 2 weeks ago

common extensions based on mime types and what I have on my file server

file_types.csv