{"id":16327060,"url":"https://github.com/mrmlnc/syncy","last_synced_at":"2026-03-11T07:32:34.990Z","repository":{"id":65412294,"uuid":"52815556","full_name":"mrmlnc/syncy","owner":"mrmlnc","description":":file_folder: One-way synchronization of directories with glob","archived":false,"fork":false,"pushed_at":"2019-12-01T20:14:34.000Z","size":113,"stargazers_count":19,"open_issues_count":9,"forks_count":3,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-09-17T08:28:33.244Z","etag":null,"topics":["glob","rsync","synchronization"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mrmlnc.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}},"created_at":"2016-02-29T19:00:12.000Z","updated_at":"2025-06-03T18:59:01.000Z","dependencies_parsed_at":"2023-01-22T07:45:15.302Z","dependency_job_id":null,"html_url":"https://github.com/mrmlnc/syncy","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/mrmlnc/syncy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrmlnc%2Fsyncy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrmlnc%2Fsyncy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrmlnc%2Fsyncy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrmlnc%2Fsyncy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mrmlnc","download_url":"https://codeload.github.com/mrmlnc/syncy/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrmlnc%2Fsyncy/sbom","scorecard":{"id":664449,"data":{"date":"2025-08-11","repo":{"name":"github.com/mrmlnc/syncy","commit":"3b12541e2f3d2cc9daa7994d868f8fd24c3caa6b"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"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":"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":"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":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"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":"Dangerous-Workflow","score":-1,"reason":"no workflows found","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":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"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":"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":"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":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"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":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"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 'master'","Warn: branch protection not enabled for branch '3.x.x'"],"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 30 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"}}]},"last_synced_at":"2025-08-21T17:28:40.755Z","repository_id":65412294,"created_at":"2025-08-21T17:28:40.756Z","updated_at":"2025-08-21T17:28:40.756Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30374282,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-11T06:09:32.197Z","status":"ssl_error","status_checked_at":"2026-03-11T06:09:17.086Z","response_time":84,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["glob","rsync","synchronization"],"created_at":"2024-10-10T23:10:17.909Z","updated_at":"2026-03-11T07:32:34.961Z","avatar_url":"https://github.com/mrmlnc.png","language":"TypeScript","funding_links":["https://paypal.me/mrmlnc"],"categories":[],"sub_categories":[],"readme":"# SyncY\n\n\u003e One-way synchronization of directories with [glob](https://github.com/isaacs/node-glob).\n\n[![Build Status](https://travis-ci.org/mrmlnc/syncy.svg?branch=master)](https://travis-ci.org/mrmlnc/syncy)\n[![Build status](https://ci.appveyor.com/api/projects/status/wgoewjpky294okam?svg=true)](https://ci.appveyor.com/project/mrmlnc/syncy)\n\n## :bulb: Highlights\n\n  * :rocket: Fast by using streams and Promises. Used [cp-file](https://github.com/sindresorhus/cp-file) and [rimraf](https://github.com/isaacs/rimraf).\n  * :beginner: User-friendly by accepting globs.\n\n## Donate\n\nIf you want to thank me, or promote your Issue.\n\n[![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://paypal.me/mrmlnc)\n\n\u003e Sorry, but I have work and support for packages requires some time after work. I will be glad of your support and PR's.\n\n## Install\n\n```\n$ npm install --save syncy\n```\n\n## Usage\n\n```js\nconst syncy = require('syncy');\n\nsyncy(['src/**', '!src/folder/**'], 'dest')\n  .then(() =\u003e {\n    console.log('Done!');\n  })\n  .catch(console.error);\n```\n\n## API\n\n```\nsyncy(patterns, dest, [options])\n```\n\n#### patterns\n\n  * Type: `string|string[]`\n\nGlob patterns that represent files to copy\n\n#### dest\n\n  * Type: `string|string[]`\n\nDestination directory or directories.\n\n#### options\n\n  * Type: `object`\n\n```js\n{\n  // Display log messages when copying and removing files\n  verbose: false,\n  // Or create your own function.\n  verbose: (stamp) {\n    // action - `copy` or `remove`\n    // to - only for `copy` action\n    console.log(stamp.action + ' | ' + stamp.from + ' | ' + stamp.to);\n  },\n  // The base path to be removed from the path. Default: none\n  base: 'base_path'\n  // Remove all files from dest that are not found in src. Default: true\n  updateAndDelete: true,\n  // Never remove js files from destination. Default: false\n  ignoreInDest: ['**/*.js']\n}\n```\n\n## How to work with Gulp?\n\n```js\nconst gulp = require('gulp');\nconst syncy = require('syncy');\n\ngulp.task('sync', (done) =\u003e {\n  syncy(['node_modules/gulp/**'], 'dest')\n    .then(() =\u003e {\n      done();\n    })\n    .catch((err) =\u003e {\n      done(err);\n    });\n});\n```\n\n## How to work with Grunt?\n\n```js\nconst syncy = require('syncy');\n\nmodule.exports = (grunt) =\u003e {\n  // Default task(s).\n  grunt.registerTask('default', function() {\n    const done = this.async();\n    syncy(['node_modules/grunt/**'], 'dest')\n      .then(() =\u003e {\n        done();\n      })\n      .catch((err) =\u003e {\n        done(err);\n      });\n  });\n};\n```\n\n## Tests\n\n**Tech specs**:\n\n  * Intel Core i7-3610QM\n  * RAM 8GB\n  * SSD (555MB/S, 530MB/S)\n  * Windows 10\n  * Node.js v6.4.0\n\n**Files**: [AngularJS](https://github.com/angular/angular.js/releases/tag/v1.6.0-rc.1) from release v1.6.0-rc.1.\n\n**Note**: `UpdateAndDelete` option is enabled in the grunt-sync, because other plugins have this option initially.\n\n| Description of tests                                 | syncy | gulp-directory-sync | grunt-sync |\n|------------------------------------------------------|-------|---------------------|------------|\n| First run                                            | 3,7s  | 9,1s                | 10,1s      |\n| Re-run                                               | 0,7s  | 1,0s                | 0,8s       |\n| Delete single file from dest directory               | 0,7s  | 0,9s                | 0,8s       |\n\n\n## Changelog\n\nSee the [Releases section of our GitHub project](https://github.com/mrmlnc/syncy/releases) for changelogs for each release version.\n\n## License\n\nThis software is released under the terms of the MIT license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrmlnc%2Fsyncy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmrmlnc%2Fsyncy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrmlnc%2Fsyncy/lists"}