Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tomodachi94/obsidian-metadata-handler
Adds some useful YAML frontmatter to your Obsidian notes
https://github.com/tomodachi94/obsidian-metadata-handler
obsidian-md obsidian-script python yaml-frontmatter
Last synced: about 8 hours ago
JSON representation
Adds some useful YAML frontmatter to your Obsidian notes
- Host: GitHub
- URL: https://github.com/tomodachi94/obsidian-metadata-handler
- Owner: tomodachi94
- License: mit
- Created: 2021-08-17T03:36:55.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-05-03T19:17:22.000Z (7 months ago)
- Last Synced: 2024-05-03T20:50:52.883Z (7 months ago)
- Topics: obsidian-md, obsidian-script, python, yaml-frontmatter
- Language: Python
- Homepage: https://github.com/tomodachi94/obsidain-metadata-handler
- Size: 27.3 KB
- Stars: 11
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Obsidian Metadata Handler
:warning: **This script has been deprecated. It's not guaranteed to work.** :warning:
> A small Python script to update system metadata and then put it into the YAML frontmatter.
**Note: This is unoffical and is not associated with the developers of Obsidian.**
So far, this script is able to fill in the created and modified dates. Filenames are coming soon.
## Use cases
- You want to move some files around, but are scared of losing the metadata?
- You want to make sure your grandchildren can read the metadata?
- You want to use the metadata in a Dataview script?This is for you!
## Running from source
**It's recommended to do modified date first, as the modified date *will* be overrided when updating the YAML frontmatter.**
This assumes you have Python and `pip` installed as a prerequisite.
### Modified dates
```bash
pip install -r requirements.txt
python obsidian-metadata-handler/modified.py -p "full_path_to_your_vault"
```### Creation dates
```bash
pip install -r requirements.txt
python obsidian-metadata-handler/created.py -p "full_path_to_your_vault"
```## Native builds
These are being worked on, stay tuned!
## See also
- [Forum post](https://forum.obsidian.md/t/yaml-metadata-prefixer-a-python-script/22738)