Tested only on an Obsidian vault, but may be used for other stuff that uses markdown and YAML frontmatter.
For now, it searches the tags
and status
properties in the frontmatter, finds the files and returns a random list of 20 files from it. (this is more of a personal thing, working to generalise it.)
You can set up which tag
or status
to look for in the conf.json
, and set up the vault path and excluded folders:
{
"vault_path": "/home/nibir/Documents/obsidian_vault/",
"exclusions": ["Templates", "Scripts"], // excluded folder must be in array
"tag": "Study",
"status": "needs work"
}
git clone https://github.com/moiSentineL/obsortian.git
cd obsortian
python finder.py
fix the code, goddamit.