{"id":20720206,"url":"https://github.com/zaaack/scp-sync","last_synced_at":"2025-10-11T04:18:30.691Z","repository":{"id":57170180,"uuid":"345592386","full_name":"zaaack/scp-sync","owner":"zaaack","description":"Sync project files to remote server via scp, ","archived":false,"fork":false,"pushed_at":"2021-03-12T07:05:30.000Z","size":32,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-22T13:31:05.495Z","etag":null,"topics":["developer-tools","remote-development","remote-sync","scp","scp-sync","ssh","sync"],"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/zaaack.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}},"created_at":"2021-03-08T09:00:57.000Z","updated_at":"2021-03-12T07:05:33.000Z","dependencies_parsed_at":"2022-08-27T13:11:58.649Z","dependency_job_id":null,"html_url":"https://github.com/zaaack/scp-sync","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/zaaack/scp-sync","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zaaack%2Fscp-sync","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zaaack%2Fscp-sync/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zaaack%2Fscp-sync/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zaaack%2Fscp-sync/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zaaack","download_url":"https://codeload.github.com/zaaack/scp-sync/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zaaack%2Fscp-sync/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279006246,"owners_count":26084060,"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-11T02:00:06.511Z","response_time":55,"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":["developer-tools","remote-development","remote-sync","scp","scp-sync","ssh","sync"],"created_at":"2024-11-17T03:19:38.156Z","updated_at":"2025-10-11T04:18:30.642Z","avatar_url":"https://github.com/zaaack.png","language":"TypeScript","readme":"# @zaaack/scp-sync\n\nSync project files to remote server via scp.\n\n## Features\n\n* sync file when file changed\n* start command after watching\n* customize watching directory and remote directory\n\n## Usage\n\n```sh\nyarn global add @zaaack/scp-sync\nscp-sync init # this generate config file \"scpSync.json\" in current directory.\n```\n\nthen edit scpSync.json,\n```json\n{\n  \"host\": \"yourName@yourHost\",\n  \"startCmd\": \"start command to run remotely after watching\",\n  \"remoteFolder\": \"yourRemoteFolderPath\",\n  \"localFolder\": \"yourLocalFolderPath\",\n  \"port\": 0,\n  \"sshParams\": [\"extra\", \"ssh\", \"params\", \"when\", \"running\", \"startCmd\"],\n  \"scpParams\": [\"extra\", \"scp\", \"params\", \"when\", \"syncing\", \"files\"],\n  \"ignore\": [\"**/.DS_Store\", \"**/node_modules/**\"] // 忽略同步某些文件，支持 glob\n}\n```\n\nstart watching\n\n```sh\nscp-sync start\n# scp-sync watch # watch and sync files\n# scp-sync exec # exec start command\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzaaack%2Fscp-sync","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzaaack%2Fscp-sync","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzaaack%2Fscp-sync/lists"}