Skip to content

Abdo-Abuharrus211/coopy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Coopy

A Command Line tool that syncs files between Obsidian vaults and Digital Gardens/blogs.

Idea

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!

Features (not fully implemented yet)

  • 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

Instructions

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.

Todo

  • 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

About

Building a tool to sync my blog content with my Obsidian vault. Selectively deciding which files to copy

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages