{"id":28087515,"url":"https://github.com/thiswillbeyourgithub/ntfy_syncthing_conflict_checker","last_synced_at":"2025-05-13T11:32:22.612Z","repository":{"id":275960281,"uuid":"927744725","full_name":"thiswillbeyourgithub/ntfy_syncthing_conflict_checker","owner":"thiswillbeyourgithub","description":"A Zsh script to detect Syncthing file conflicts and send notifications via ntfy.","archived":false,"fork":false,"pushed_at":"2025-03-29T10:28:04.000Z","size":29,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-29T11:28:07.151Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thiswillbeyourgithub.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2025-02-05T13:27:35.000Z","updated_at":"2025-03-29T10:28:07.000Z","dependencies_parsed_at":"2025-02-05T14:43:50.033Z","dependency_job_id":null,"html_url":"https://github.com/thiswillbeyourgithub/ntfy_syncthing_conflict_checker","commit_stats":null,"previous_names":["thiswillbeyourgithub/ntfy_syncthing_conflict_checker"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thiswillbeyourgithub%2Fntfy_syncthing_conflict_checker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thiswillbeyourgithub%2Fntfy_syncthing_conflict_checker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thiswillbeyourgithub%2Fntfy_syncthing_conflict_checker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thiswillbeyourgithub%2Fntfy_syncthing_conflict_checker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thiswillbeyourgithub","download_url":"https://codeload.github.com/thiswillbeyourgithub/ntfy_syncthing_conflict_checker/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253933036,"owners_count":21986505,"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":[],"created_at":"2025-05-13T11:32:07.266Z","updated_at":"2025-05-13T11:32:22.604Z","avatar_url":"https://github.com/thiswillbeyourgithub.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ntfy Syncthing Conflict Checker\n\nA simple Zsh script to detect and report file conflicts in Syncthing shared folders.\n\n## Features\n\n- Scans all Syncthing shared folders for sync conflicts\n- Supports both local output and remote notifications via ntfy\n- Verbose mode for detailed output\n- Customizable notification topics\n- Checks for required dependencies\n\n## Requirements\n\n- Zsh shell\n- Syncthing with `syncthingctl` command available. Can be found [on this repo](https://github.com/Martchus/syncthingtray)\n- (Optional) ntfy for remote notifications\n\n## Installation\n\n1. Clone this repository or download the script:\n\n```bash\ncd ntfy_syncthing-conflict-checker\n```\n\n2. Make the script executable:\n\n```bash\nchmod +x ntfy_syncthing_conflict_checker.sh\n```\n\n## Usage\n\nBasic usage:\n```bash\n./ntfy_syncthing_conflict_checker.sh\n```\n\nOptions:\n```\n-v, --verbose     Show verbose output\n-t, --topic       Specify notification topic (default: print)\n-D, --no-date     Don't include dates in the output\n-a, --absolute    Use absolute paths instead of relative\n-h, --help        Show this help message\n```\n\nExamples:\n\n1. Check for conflicts with verbose output:\n```bash\n./ntfy_syncthing_conflict_checker.sh --verbose\n```\n\n2. Send notifications to a specific ntfy topic:\n```bash\n./ntfy_syncthing_conflict_checker.sh --topic mytopic\n```\n\n3. Check for conflicts without showing dates:\n```bash\n./ntfy_syncthing_conflict_checker.sh --no-date\n```\n\n4. Check for conflicts using absolute paths:\n```bash\n./ntfy_syncthing_conflict_checker.sh --absolute\n```\n\n## Output\n\nThe script will output:\n- A list of paths containing conflicts\n- The full paths of conflicting files\n- Warnings for non-existent paths (in verbose mode)\n- Confirmation when no conflicts are found (in verbose mode)\n\n## Notification Support\n\nWhen using the `--topic` option, the script will send notifications via ntfy. Make sure ntfy is installed and configured.\n\n## Contributing\n\nPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.\n\n## Acknowledgements\n\n- Syncthing project: https://syncthing.net/\n- ntfy project: https://ntfy.sh/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthiswillbeyourgithub%2Fntfy_syncthing_conflict_checker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthiswillbeyourgithub%2Fntfy_syncthing_conflict_checker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthiswillbeyourgithub%2Fntfy_syncthing_conflict_checker/lists"}