{"id":15357220,"url":"https://github.com/gera2ld/send-dir","last_synced_at":"2026-06-07T11:31:52.644Z","repository":{"id":77381516,"uuid":"335686111","full_name":"gera2ld/send-dir","owner":"gera2ld","description":"Send directory via direct HTTP","archived":false,"fork":false,"pushed_at":"2021-02-04T05:09:28.000Z","size":4,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-05-12T00:33:28.737Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gera2ld.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-02-03T16:28:41.000Z","updated_at":"2025-06-09T10:01:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"240bf5c5-e467-4b94-9300-12aa6a5768d1","html_url":"https://github.com/gera2ld/send-dir","commit_stats":{"total_commits":7,"total_committers":1,"mean_commits":7.0,"dds":0.0,"last_synced_commit":"f1e24eeac9bb54109172cdfbe2979003e7bebbf4"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/gera2ld/send-dir","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gera2ld%2Fsend-dir","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gera2ld%2Fsend-dir/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gera2ld%2Fsend-dir/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gera2ld%2Fsend-dir/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gera2ld","download_url":"https://codeload.github.com/gera2ld/send-dir/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gera2ld%2Fsend-dir/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34020187,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-07T02:00:07.652Z","response_time":124,"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":[],"created_at":"2024-10-01T12:34:05.022Z","updated_at":"2026-06-07T11:31:52.622Z","avatar_url":"https://github.com/gera2ld.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# send-dir\n\nSend directory via direct HTTP between different machines.\n\n## Why\n\nThis could be useful when sending built code to the development server frequently, especially when we don't have SSH. This tool just works if only we have HTTP.\n\n## Usage\n\n```bash\n$ npx send-dir SOURCE_DIR TARGET_DIR\n```\n\nAnd then follow the instructions in output, like running a one-line command in the target machine.\n\nNote that both `SOURCE_DIR` and `TARGET_DIR` can be relative paths, just that `SOURCE_DIR` is relative to the working directory of your source machine and `TARGET_DIR` is relative to that of your target machine.\n\n## Example\n\nHere is a more detailed example.\n\nSay we are at the root of the project, and want to copy `./packages/awesome/lib` to `./node_modules/awesome/lib` in the development machine which does not support SSH server.\n\nThen we just need to run:\n\n```bash\n$ npx send-dir packages/awesome/lib node_modules/awesome/lib\n```\n\nAnd we will see output like this:\n\n```bash\nRun the following command at your target machine:\n\n  curl -fsS http://192.168.31.161:8001/fetch.sh | sh\n```\n\nWe copy the one-line command and paste it in the development machine, or you may type it if the two machines are isolated physically (sad). Done!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgera2ld%2Fsend-dir","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgera2ld%2Fsend-dir","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgera2ld%2Fsend-dir/lists"}