This project provides a solution for syncing Obsidian notes through a Git repository. It allows you to seamlessly manage your Obsidian notes using version control and collaborate with others.
- Automatic synchronization of Obsidian notes with a Git repository
- Support for version control operations such as commit, push, and pull
- Customizable synchronization settings
Conflict resolution for simultaneous edits
- Clone the repository to your local machine:
git clone https://github.com/arturboyun/ObsidianSync.git
- Create a new Git repository on a hosting service such as GitHub, GitLab, or Bitbucket.
- Clone the repository to your local machine:
git clone https://your-repo-url.git $HOME/Obsidian/Vault
- Checkout and set upstream branch
cd $HOME/Obsidian/Vault
git config pull.ff only
git branch --set-upstream-to=origin/main main
!CHANGE main
to your branch name!
- Run the installation script:
cd ObsidianSync
chmod +x install.sh
./install.sh
- Enter the path to your Obsidian vault and the URL of the Git repository.
- Well done! You are now ready to synchronize your Obsidian notes with the Git repository.
- Make changes to your Obsidian notes as usual.
- Service in background will automatically synchronize your notes with the Git repository.
Just run the installation script again:
cd ObsidianSync
./install.sh
sudo systemctl restart obsidian_sync.service
sudo systemctl restart obsidian_sync.service
sudo systemctl stop obsidian_sync.service
sudo journalctl -u obsidian_sync
Contributions are welcome! If you have any ideas, suggestions, or bug reports, please open an issue or submit a pull request.
This project is licensed under the MIT License. See the LICENSE file for more information.
For any questions or inquiries, please contact arturboyun.t.me or arturboyun@gmail.com