{"id":13841628,"url":"https://github.com/noahziheng/sdeploy-cli","last_synced_at":"2026-01-16T22:24:30.149Z","repository":{"id":32431312,"uuid":"133022721","full_name":"noahziheng/sdeploy-cli","owner":"noahziheng","description":"A light development tool using SCP,SFTP and RSync","archived":false,"fork":false,"pushed_at":"2022-01-15T02:57:47.000Z","size":46,"stargazers_count":7,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-04T21:24:41.105Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/noahziheng.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":"2018-05-11T09:56:50.000Z","updated_at":"2020-09-30T03:45:22.000Z","dependencies_parsed_at":"2022-08-07T17:30:25.708Z","dependency_job_id":null,"html_url":"https://github.com/noahziheng/sdeploy-cli","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/noahziheng/sdeploy-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noahziheng%2Fsdeploy-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noahziheng%2Fsdeploy-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noahziheng%2Fsdeploy-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noahziheng%2Fsdeploy-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/noahziheng","download_url":"https://codeload.github.com/noahziheng/sdeploy-cli/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noahziheng%2Fsdeploy-cli/sbom","scorecard":{"id":691452,"data":{"date":"2025-08-11","repo":{"name":"github.com/noahziheng/sdeploy-cli","commit":"3e7d80d7265e1c8aeb5bddb5882673656334a800"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.7,"checks":[{"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":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Code-Review","score":0,"reason":"Found 0/15 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":"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":"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":"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":"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":"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":"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: GNU General Public License v3.0: 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":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"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":"Vulnerabilities","score":0,"reason":"14 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-93q8-gq69-wqmw","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-ff7x-qrg7-qggm","Warn: Project is vulnerable to: GHSA-4xc9-xhrj-v574","Warn: Project is vulnerable to: GHSA-x5rq-j2xg-h7qm","Warn: Project is vulnerable to: GHSA-jf85-cpcp-j695","Warn: Project is vulnerable to: GHSA-p6mc-m468-83gw","Warn: Project is vulnerable to: GHSA-29mw-wpgm-hmr9","Warn: Project is vulnerable to: GHSA-35jh-r3h4-6jhm","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-hj48-42vr-x3v9","Warn: Project is vulnerable to: GHSA-4rq4-32rv-6wp6","Warn: Project is vulnerable to: GHSA-64g7-mvw6-v9qj","Warn: Project is vulnerable to: GHSA-52f5-9888-hmc6"],"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-22T02:23:09.171Z","repository_id":32431312,"created_at":"2025-08-22T02:23:09.171Z","updated_at":"2025-08-22T02:23:09.171Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28485225,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T11:59:17.896Z","status":"ssl_error","status_checked_at":"2026-01-16T11:55:55.838Z","response_time":107,"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":[],"created_at":"2024-08-04T17:01:17.096Z","updated_at":"2026-01-16T22:24:30.129Z","avatar_url":"https://github.com/noahziheng.png","language":"JavaScript","funding_links":[],"categories":["JavaScript","JavaScript (485)"],"sub_categories":[],"readme":"# sdeploy-cli\n\nA light development tool using SCP,SFTP and RSync\n\n## Installation\n\n```shell\n# install the cli globally with yarn (Preferred Way)\nyarn global add sdeploy-cli\n\n# install the cli globally with npm (Leagcy Way)\nnpm install -g sdeploy-cli\n\n# install the cli locally with yarn (Preferred Way, for single project, only can use with npm script)\nyarn add sdeploy-cli\n\n# install the cli locally with npm (Leagcy Way, for single project, only can use with npm script)\nnpm install sdeploy-cli\n```\n\n## Usage\n\n```shell\n# Standard CLI\nsdeploy .\n\n# Deploy current directory with local config\nsdeploy . -c ./config.json\n\n# Deploy \"./dist\" to local config \"Aliyun\" \"/data/www\" directory , run 'echo \"Hello World!\"' before upload\nsdeploy ./dist Aliyun -r /data/www -c ./config.json -p \"echo \\\"Hello World!\\\"\"\n```\n\n## Example\n\n### Upload HTML Website to Static Server\n\nLocal Directory: ~/static\nServer Address: 123.45.67.8\nServer Username: noah\nServer Directory: ~/static/html\n\n```shell\n$ yarn global add sdeploy-cli\n\n$ sdeploy ~/static -n\n# Use Add Config Option\nCurrent config location: /Users/noah/Library/Preferences/sdeploy-nodejs/config.json\n? What's config you want to select? Add Config\n? What's config name? RemoteConfig\n? What's driver you want to select? RSyncDriver\n? What's remote server address? 123.45.67.8\n? What's remote server user? noah\n? What's remote server rootpath? ~/\n? What's upload driver argument? -r -l --progress --delete --force\n[Success] Added Remote Config\n'\n$ sdeploy ~/static RemoteConfig -r static/html\n```\n\n### Upload Vue Bundle to Static Server\n\nLocal Directory: ./dist\nServer Address: 123.45.67.8\nServer Username: noah\nServer Directory: ~/static/html\n\n```shell\n$ yarn global add sdeploy\n\n$ sdeploy ./dist -n\n# Use Add Config Option\nCurrent config location: /Users/noah/Library/Preferences/sdeploy-nodejs/config.json\n? What's config you want to select? Add Config\n? What's config name? RemoteConfig\n? What's driver you want to select? RSyncDriver\n? What's remote server address? 123.45.67.8\n? What's remote server user? noah\n? What's remote server rootpath? ~/\n? What's upload driver argument? -r -l --progress --delete --force\n[Success] Added Remote Config\n'\n\n$ sdeploy ./dist RemoteConfig -r static/html\n```\n\nYou can use local installation instead of globally:\n\n```shell\nyarn add sdeploy-cli\n./node_modules/.bin/sdeploy ./dist -c ./config.json -n # Add config on project dir\n```\n\nAnd edit package.json \"script\" to:\n\n```JSON\n...\n  {\n    \"scripts\": {\n      \"deploy\": \"sdeploy ./dist -c ./config.json -p \\\"node build/build.js\\\"\",\n      \"deploy:nobuild\": \"sdeploy ./dist -c ./config.json\"\n    }\n  }\n...\n```\n\n## License\n\nGPLv3\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnoahziheng%2Fsdeploy-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnoahziheng%2Fsdeploy-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnoahziheng%2Fsdeploy-cli/lists"}