24Oct/090
StagFS – Standalone tag File System
StagFS is a FUSE file system written in python with the aim of storing meta-data against files, and then representing that in an intuitive tree structure that any application can use natively.
http://bitbucket.org/xlevus/stagfs/
e.g. Take a flat list of files like this
- Loaded (2008) - Lolita (1997) - Lords of Dogtown (2005) - Young Frankenstein (1974)
Into a useful, browse able tree of folders like this
+ cast
+ director
- Adrian Lyne
- Alan Pao
- Catherine Hardwicke
- Mel Brooks
+ genre
+ Action
- Loaded (2008)
- Biography
- Comedy
- Crime
+ Drama
- Loaded (2008)
- Lolita (1997)
- Lords of Dogtown (2005)
+ Music
- Young Frankenstein (1974)
- Romance
+ Sci-Fi
- Young Frankenstein (1974)
- Sport
- Thriller
- keywords
- title
- writer
- year
And that's not to say it's limited to movies. You can tag any types of files into nearly any structure you want. TV shows, photos, documents.
For an example of how it works you can run:
mkdir some_mountpoint ./stagfs.py --source-dir=test some_mountpoint ls some_mountpoint/movie
For an example structure of a StagFS data file, check the movie.stag files inside the test directories.