Home

Awesome

Notable Git Sync

<div align="center"> <p>Configures a <a href="https://www.launchd.info/">User LaunchAgent</a> for macOS and <a href="https://systemd.io/">Service Manager</a> for Linux that synchronises the <code>~/.notable</code> folder to a Git repository. <p>You'll get a nice notification if you have a recent version of Node.js installed.</p> <img alt="Example Notification" width="500" src="https://github.com/evanshortiss/notable-git-sync-setup/blob/master/notification.png?raw=true"/> </div>

Requirements

macOS

Linux

OS Support

Currently only macOS and Linux is supported. Pull Requests that add support for other platforms are welcome!

Setup

NOTE: This script assumes you are using the ~/.notable directory for storing notes. After running the script use the Change Data Directory option in Notable to set your data directory to ~/.notable.

Clone the repository, run the setup.sh, and follow the prompts:

macOS

git clone https://github.com/evanshortiss/notable-git-sync-setup notable-sync

cd notable-sync
./setup.sh

Linux

git clone https://github.com/evanshortiss/notable-git-sync-setup notable-sync

cd notable-sync
sudo chmod +x ./setup.sh
# -E preserve environment (for git commands)
sudo -E ./setup.sh

Default Configuration

The configuration for the service is defined in the plist.template.xml.