{"id":17668599,"url":"https://github.com/evanshortiss/notable-git-sync-setup","last_synced_at":"2025-05-08T22:14:27.539Z","repository":{"id":66153920,"uuid":"295717833","full_name":"evanshortiss/notable-git-sync-setup","owner":"evanshortiss","description":"Automatically synchronise your Notable folder to Git every few minutes 🔄","archived":false,"fork":false,"pushed_at":"2023-10-24T15:49:09.000Z","size":50,"stargazers_count":17,"open_issues_count":0,"forks_count":6,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-05-08T22:14:22.631Z","etag":null,"topics":["notable"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/evanshortiss.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-09-15T12:16:26.000Z","updated_at":"2025-03-18T16:34:03.000Z","dependencies_parsed_at":"2024-10-24T02:04:20.734Z","dependency_job_id":null,"html_url":"https://github.com/evanshortiss/notable-git-sync-setup","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evanshortiss%2Fnotable-git-sync-setup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evanshortiss%2Fnotable-git-sync-setup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evanshortiss%2Fnotable-git-sync-setup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evanshortiss%2Fnotable-git-sync-setup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/evanshortiss","download_url":"https://codeload.github.com/evanshortiss/notable-git-sync-setup/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253154977,"owners_count":21862623,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["notable"],"created_at":"2024-10-23T23:23:11.384Z","updated_at":"2025-05-08T22:14:27.522Z","avatar_url":"https://github.com/evanshortiss.png","language":"Shell","readme":"# Notable Git Sync\n\n\u003cdiv align=\"center\"\u003e\n  \u003cp\u003eConfigures a \u003ca href=\"https://www.launchd.info/\"\u003eUser LaunchAgent\u003c/a\u003e for macOS and \u003ca href=\"https://systemd.io/\"\u003eService Manager\u003c/a\u003e for Linux that synchronises the \u003ccode\u003e~/.notable\u003c/code\u003e folder to a Git repository.\n  \u003cp\u003eYou'll get a nice notification if you have a recent version of Node.js installed.\u003c/p\u003e\n  \u003cimg alt=\"Example Notification\" width=\"500\" src=\"https://github.com/evanshortiss/notable-git-sync-setup/blob/master/notification.png?raw=true\"/\u003e\n\u003c/div\u003e\n\n## Requirements\n\n### macOS\n\n* A Git repository on GitHub, GitLab, or some Git server.\n* Git installed on macOS ([Installation options](https://git-scm.com/download/mac)).\n* Git SSH keys configured ([GitHub Docs for SSH](https://docs.github.com/en/github/authenticating-to-github/connecting-to-github-with-ssh)) using default `id_rsa` naming scheme.\n* [Optional] Node.js v12+ is required for macOS notification integration.\n\n### Linux\n\n* A Git repository on GitHub, GitLab, or some Git server.\n* Git installed ([Installation options](https://git-scm.com/download/linux)).\n* Git SSH keys configured ([GitHub Docs for SSH](https://docs.github.com/en/github/authenticating-to-github/connecting-to-github-with-ssh)) using default `id_rsa` naming scheme.\n\n## OS Support\n\nCurrently only macOS and Linux is supported. Pull Requests that add support for other platforms are welcome!\n\n## Setup\n\n_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`._\n\nClone the repository, run the `setup.sh`, and follow the prompts:\n\n### macOS\n\n```bash\ngit clone https://github.com/evanshortiss/notable-git-sync-setup notable-sync\n\ncd notable-sync\n./setup.sh\n```\n\n### Linux\n\n```bash\ngit clone https://github.com/evanshortiss/notable-git-sync-setup notable-sync\n\ncd notable-sync\nsudo chmod +x ./setup.sh\n# -E preserve environment (for git commands)\nsudo -E ./setup.sh\n```\n\n## Default Configuration\n\nThe configuration for the service is defined in the *plist.template.xml*.\n\n* Assumes a default `~/.ssh/id_rsa` SSH configuration for Git.\n* Logs are written to `/tmp/notable-sync.stdout` and `/tmp/notable-sync.stderr` in macOS.\n* `sudo journalctl -u notable-sync` to see logs in Linux.\n* By default, notes are synchronised to the Git repository every 10 minutes.\n* Fails on Git merge conflicts. Are your notes are not syncing? This might be why.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fevanshortiss%2Fnotable-git-sync-setup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fevanshortiss%2Fnotable-git-sync-setup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fevanshortiss%2Fnotable-git-sync-setup/lists"}