{"id":15391792,"url":"https://github.com/antonk52/synd","last_synced_at":"2025-10-06T03:50:47.515Z","repository":{"id":34913314,"uuid":"189496878","full_name":"antonk52/synd","owner":"antonk52","description":"Opinionated rsync wrapper that respects gitignore files","archived":false,"fork":false,"pushed_at":"2025-04-05T09:04:32.000Z","size":782,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-09-25T18:25:36.271Z","etag":null,"topics":["cli","javascript","rsync","synd"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/antonk52.png","metadata":{"files":{"readme":"readme.md","changelog":"CHANGELOG.md","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":"2019-05-30T23:43:58.000Z","updated_at":"2025-04-05T09:04:35.000Z","dependencies_parsed_at":"2024-07-12T23:59:53.847Z","dependency_job_id":null,"html_url":"https://github.com/antonk52/synd","commit_stats":{"total_commits":93,"total_committers":3,"mean_commits":31.0,"dds":"0.22580645161290325","last_synced_commit":"a1e04bc944f138e2c3c1421e761b79a4c8b91ae7"},"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/antonk52/synd","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antonk52%2Fsynd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antonk52%2Fsynd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antonk52%2Fsynd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antonk52%2Fsynd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/antonk52","download_url":"https://codeload.github.com/antonk52/synd/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antonk52%2Fsynd/sbom","scorecard":{"id":199672,"data":{"date":"2025-08-11","repo":{"name":"github.com/antonk52/synd","commit":"a081f58f966658fdc9eb1ea4f94e07b6e151349e"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.9,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/6 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/nodejs.yaml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":3,"reason":"dependency not pinned by hash detected -- score normalized to 3","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/nodejs.yaml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/antonk52/synd/nodejs.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/nodejs.yaml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/antonk52/synd/nodejs.yaml/main?enable=pin","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   1 out of   1 npmCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 27 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":6,"reason":"4 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-p8p7-x288-28g6","Warn: Project is vulnerable to: GHSA-72xf-g2v4-qvf3"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-16T22:35:54.120Z","repository_id":34913314,"created_at":"2025-08-16T22:35:54.120Z","updated_at":"2025-08-16T22:35:54.120Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278556190,"owners_count":26006080,"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","status":"online","status_checked_at":"2025-10-06T02:00:05.630Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["cli","javascript","rsync","synd"],"created_at":"2024-10-01T15:12:59.212Z","updated_at":"2025-10-06T03:50:47.490Z","avatar_url":"https://github.com/antonk52.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Synd\n[![npm version](https://badge.fury.io/js/synd.svg)](https://badge.fury.io/js/synd)\n[![CI](https://github.com/antonk52/synd/workflows/CI/badge.svg)](https://github.com/antonk52/synd/actions)\n[![License: MIT](https://img.shields.io/badge/License-MIT-brightgreen.svg)](https://opensource.org/licenses/MIT)\n[![install size](https://packagephobia.now.sh/badge?p=synd)](https://packagephobia.now.sh/result?p=synd)\n[![Coverage Status](https://coveralls.io/repos/github/antonk52/synd/badge.svg?branch=master)](https://coveralls.io/github/antonk52/synd?branch=master)\n\nOpinionated rsync wrapper written in javascript.\n\n## Install\n\n```sh\nnpm install --global synd\n```\n\n## Usage\n\nCreate a `~/synd.config.js` file in your home directory with a configuration preset for your project.\n\n```js\nmodule.exports = {\n    // remote sync\n    presetName: {\n        src: '/Users/yourUserName/path/to/a/project/to/sync/',\n        dest: '/home/yourUserName/path/to/dir/to/sync/to',\n        server: 'your.company.org'\n    },\n    // local sync\n    anotherPreset: {\n        src: '/Users/yourUserName/path/to/another/project/to/sync/',\n        dest: '/Users/yourUserName/path/to/another/dir'\n    }\n};\n```\n\nTo start sync process run the following\n\n```\nsynd presetName\n```\n\n## Preset Options\n\n|Name                                        | Type         | Default | Description                                            |\n|--------------------------------------------|--------------|---------|--------------------------------------------------------|\n|**[`src`](#src)**                           | `{String}`   |         | Absolute path to the directory you want to sync        |\n|**[`dest`](#dest)**                         | `{String}`   |         | Absolute path to the directory you want to sync to     |\n|**[`server`](#server)**                     | `{String}`   |         | Name of the server you want to sync to                 |\n|**[`initSync`](#initSync)**                 | `{Boolean}`  | `false` | Enables/Disables syncing upon program start            |\n|**[`watch`](#watch)**                       | `{Boolean}`  | `true`  | Enables/Disables watching for file/directory changes   |\n|**[`globalGitignore`](#gitignores)**        | `{Boolean}`  | `false` | Enables/Disables using global `.gitignore` for syncing |\n|**[`localGitignore`](#gitignores)**         | `{Boolean}`  | `false` | Enables/Disables using local `.gitignore` for syncing  |\n|**[`showRsyncCommand`](#showRsyncCommand)** | `{Boolean}`  | `false` | Enables/Disables displaying `rsync` command upon start |\n|**[`parseOutput`](#parseOutput)**           | `{Boolean}`  | `false` | Enables/Disables attempting to parse `rsync` output    |\n|**[`include`](#include)**                   | `{String[]}` | `false` | Paths to include                                       |\n|**[`exclude`](#exclude)**                   | `{String[]}` | `false` | Paths to exclude                                       |\n\n### `src`\nif ends with a slash it's contents will be synced into `dest` directory.\n\nExample: `'/users/anon/path/to/project/'`\n\n### `server`\nOptional. If you want to sync to a remote machine. You need to specify the server name.\n\nExample: `'machine.host.org'`\n\n### `initSync`\nBy default `synd` waits for a file change to start syncing, set to `true` to start syncing upon running `synd \u003cpresetName\u003e`.\n\nExample: `true`\n\n### `gitignores`\nYou can use your project and global gitignore to generate `rsync` filter file to avoid syncing not wanted files.\n\nExample: `true`\n\n### `showRsyncCommand`\n`Synd` uses `rsync` under the hood to sync your files. If you want to see what commands it generates set it to true.\n\nExample: `true`\n\n### `include`\nUse this option to specify additional rules to include files to syncing process which otherwise would not be synced.\n\nExample: `['**/test']`\n\n### `exclude`\nUse this option to specify additional rules to exclude files from syncing process which otherwise would be synced.\n\nExample: `['**/.DS_Store', '**/node_modules']`\n\n## Notes\n\nAfter you run synd it will generate a filter file for your project and place it in `~/.synd/presetName.[hash].filter`. If file already exists synd will use it instead.\n\nYou can also see a list of all your presets by running\n\n```\nsynd --list\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fantonk52%2Fsynd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fantonk52%2Fsynd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fantonk52%2Fsynd/lists"}