Skip to content

Obsidian Sync is a tool that allows you to synchronize your Obsidian notes with a Git repository for free.

License

Notifications You must be signed in to change notification settings

arturboyun/ObsidianSync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Obsidian Sync

Issues License

Description

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.

Features

  • 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

Installation

  1. Clone the repository to your local machine:
git clone https://github.com/arturboyun/ObsidianSync.git
  1. Create a new Git repository on a hosting service such as GitHub, GitLab, or Bitbucket.
  2. Clone the repository to your local machine:
git clone https://your-repo-url.git $HOME/Obsidian/Vault
  1. 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!

  1. Run the installation script:
cd ObsidianSync
chmod +x install.sh
./install.sh
  1. Enter the path to your Obsidian vault and the URL of the Git repository.
  2. Well done! You are now ready to synchronize your Obsidian notes with the Git repository.

Usage

  1. Make changes to your Obsidian notes as usual.
  2. Service in background will automatically synchronize your notes with the Git repository.

Update Settings

Just run the installation script again:

cd ObsidianSync
./install.sh

Systemd Service (Start / Restart / Stop / Logs)

Start

sudo systemctl restart obsidian_sync.service

Restart

sudo systemctl restart obsidian_sync.service

Stop

sudo systemctl stop obsidian_sync.service

Logs

sudo journalctl -u obsidian_sync

Contributing

Contributions are welcome! If you have any ideas, suggestions, or bug reports, please open an issue or submit a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for more information.

Contact

For any questions or inquiries, please contact arturboyun.t.me or [email protected]

About

Obsidian Sync is a tool that allows you to synchronize your Obsidian notes with a Git repository for free.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published