ravenscroftj eaa4b748a9 | ||
---|---|---|
src | ||
README.md | ||
pdm.lock | ||
pyproject.toml |
README.md
notesync
NoteSync is a simple Python 3.10+ script that automates copying notes from my obsidian vault over to my quartz site to be published whilst ignoring files that are not public.
Notesync recursively walks the target directory, reads the markdown frontmatter for any .md
files it encounters and checks for public: true
. You can also specifically tell it to ignore certain subdirectories completely which is useful if you have directories you never want to publish.
Could Notesync have been a shell script? Yeah probably, but y'know, work with the tools you're most comfortable with.
Installation
- Make sure you have Python 3.10+ installed, create a virtual environment or use conda if that's your jam.
pip install pdm
pdm install
Now you can run notesync with python -m notesync