A Command Line tool that syncs files between Obsidian vaults and Digital Gardens/blogs.
My Digital Garden required a tool to sync between my main Obsidian vault and the DG's
content.
Coopy scans MD files for frontmatter and other metadata to verify they're marked for publishing and then syncs the
content between vaults.
I paired this with a Bash script to be able to run the entire process in a single command from my terminal.
The next step is to convert it into a proper Obsidian Plugin!
- Seamless synchronization between source vault and target destination
- Commands for modifying user configuration
- Arguments hierarchy, command-line arguments take precedence over saved config
- Help docs
I've not set up everything yet for end-users...
For now, I compile and run using cargo run and have a $PATH environment variable to run it from anywhere in my shell.
- Prompt for Paths
- Traverse all folders and their sub folders.
- parse files for frontmatter.
- Check if ready for publishing
- Copy the files to the destination directory
- Only copy files in specific folders
- Complete config implementation
- Add command line arguments and flags
- Write the new paths to the config file if user flags to save
- Add function docs? Is this idiomatic?
- Write test suite
- Refactor and modularize the functions