orvanitag/README.md

43 lines
1.4 KiB
Markdown
Raw Normal View History

2023-06-07 00:15:45 +03:00
---
2023-06-07 18:10:44 +03:00
contexts:
2023-06-08 22:23:30 +03:00
- frrreee
2023-06-09 17:16:13 +03:00
projects: []
2023-06-09 14:39:19 +03:00
tags:
2023-06-07 18:10:44 +03:00
- fool
2023-06-09 17:16:13 +03:00
- writeme
2023-06-07 00:15:45 +03:00
---
2023-06-09 17:16:13 +03:00
2023-06-06 22:14:10 +03:00
# Orvani Tagger
(From עוֹרְבָנִי, the Hebrew name for th Eurasian Jay)
Platform independent, folder-based, and portable tagging system for organizing and searching files. The command line interface and organizing principles are heavily inspired by the todo.txt standard.
Every file can be assigned projects, contexts, and tags and have a descriptive note.
Exactly like tasks in todo.txt, files can be categorized by freely defined contexts, defined by the
`@` prefix or projects, defined by the `+` prefix. In addition, the `#` prefix defines hashtags that can be assigned.
So a as an example an audio-file could be assigned to project `+album` and have a context of `@drums` and tagged with `#boombap`, `#lofi`, `#snare`. It's completely up to you how you use the different means of categorization.
## Installation
```
$ uv tool install 'orvanitag[all]'
```
The core only needs PyYAML and rich. Reading and writing embedded metadata uses optional extras: `audio` (pytaglib, needs the TagLib C library), `pdf` (pypdf), `office` (olefile, only for legacy `.doc`/`.xls`/`.ppt`) and `markdown` (python-frontmatter). Plugins whose extra is not installed are skipped.
2023-06-06 22:14:10 +03:00
## Command Line Tool
### Assigning Contextual Tags
Let's
```
$ otag add <file/path> [contextual tags ...]
2023-06-06 22:14:10 +03:00
```
Removing contextual tags from a file
```
$ otag remove <file/path> [contextual tags ...]
2023-06-06 22:14:10 +03:00
```