{"id":22512107,"url":"https://github.com/dacap/sendfiles","last_synced_at":"2025-04-14T11:40:38.592Z","repository":{"id":266395960,"uuid":"898086974","full_name":"dacap/sendfiles","owner":"dacap","description":"Transfer files between computers","archived":false,"fork":false,"pushed_at":"2024-12-04T03:13:44.000Z","size":10,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-14T03:47:54.368Z","etag":null,"topics":["share-files","transfer-files"],"latest_commit_sha":null,"homepage":"","language":"Go","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/dacap.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2024-12-03T19:06:47.000Z","updated_at":"2025-03-26T17:16:53.000Z","dependencies_parsed_at":"2024-12-04T04:20:54.696Z","dependency_job_id":"4f251ef4-f868-4b89-b2b5-3d3dac1ff36f","html_url":"https://github.com/dacap/sendfiles","commit_stats":null,"previous_names":["dacap/sendfiles"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dacap%2Fsendfiles","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dacap%2Fsendfiles/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dacap%2Fsendfiles/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dacap%2Fsendfiles/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dacap","download_url":"https://codeload.github.com/dacap/sendfiles/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248874212,"owners_count":21175791,"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","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":["share-files","transfer-files"],"created_at":"2024-12-07T02:15:39.978Z","updated_at":"2025-04-14T11:40:38.561Z","avatar_url":"https://github.com/dacap.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sendfiles\n\n\u003e Copyright (C) 2017-2024 David Capello\n\u003e\n\u003e This project is released under the terms of the MIT license.\n\u003e Read [LICENSE.txt](LICENSE.txt) for more information.\n\nA program to send/receive files between two personal computers.\n\n## Usage\n\nWe run the `sendfiles` in computer *A* to receive files:\n\n    sendfiles\n\nAnd in other computer *B* we specify the files to transfer:\n\n    sendfiles file1.zip file2.zip\n\nThis will send `file1.zip` and `file2.zip` files from *B* to *A*. The\nIP of *A* is located automatically by *B* with a scan of IP addresses\nin the local network and the TCP port 8095.\n\n## Usage\n\n    sendfiles [-ip ADDRESS] [-p PORT] [-k PASSWORD] [file1 [file2...]]\n\n* `-ip ADDRESS` connects to the given IP address of the receiver (scan\n  IPs automatically otherwise)\n* `-p PORT` TCP port to use for the connection (8095 by default)\n* `-k PASSWORD` uses a password/key to match computers that use/known\n  the same password. This key is not used to encrypt data (yet).\n\n## Warning: Plain data/key\n\nAll information will be transferred in plain data over the network\nbetween computers. There is zero encryption.\n\n## Protocol\n\nThe client scans IP addresses in the local network, and tries to\nconnect to each one through the TCP port 8095. When it is connected,\nit sends one line:\n\n    key STRING\\n\n\nIf the key is accepted, the server/receiver will respond with:\n\n    ok\\n\n\nand the client can start sending files. In other case the server will respond:\n\n    invalid key\\n\n\nand the connection will be terminated.\n\nWhen the key is accepted, the client sends files following this protocol:\n\n    file FILENAME size INT64 sha1 STRING\\n\n    BYTES[size]\\n\n    file FILENAME size INT64 sha1 STRING\\n\n    BYTES[size]\\n\n    ...\n    done\\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdacap%2Fsendfiles","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdacap%2Fsendfiles","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdacap%2Fsendfiles/lists"}