{"id":17954362,"url":"https://github.com/txthinking/hancock","last_synced_at":"2025-03-25T00:31:58.566Z","repository":{"id":56754771,"uuid":"372213489","full_name":"txthinking/hancock","owner":"txthinking","description":"Manage multiple remote servers and execute commands remotely","archived":false,"fork":false,"pushed_at":"2024-03-20T02:34:46.000Z","size":136,"stargazers_count":18,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-19T05:55:52.596Z","etag":null,"topics":["linux-management","remote-command-execution","remote-control","ssh"],"latest_commit_sha":null,"homepage":"https://www.txthinking.com","language":"Go","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/txthinking.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","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},"funding":{"github":"txthinking","patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":null}},"created_at":"2021-05-30T12:51:56.000Z","updated_at":"2025-02-16T02:08:44.000Z","dependencies_parsed_at":"2024-03-20T03:47:02.410Z","dependency_job_id":null,"html_url":"https://github.com/txthinking/hancock","commit_stats":{"total_commits":64,"total_committers":1,"mean_commits":64.0,"dds":0.0,"last_synced_commit":"24c9d29cf1fe2d1f727bee8736c91a642fcb6b7d"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/txthinking%2Fhancock","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/txthinking%2Fhancock/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/txthinking%2Fhancock/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/txthinking%2Fhancock/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/txthinking","download_url":"https://codeload.github.com/txthinking/hancock/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245377921,"owners_count":20605374,"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":["linux-management","remote-command-execution","remote-control","ssh"],"created_at":"2024-10-29T10:14:21.043Z","updated_at":"2025-03-25T00:31:58.076Z","avatar_url":"https://github.com/txthinking.png","language":"Go","readme":"# hancock\n\nManage multiple remote servers and execute commands remotely\n\n❤️ A project by [txthinking.com](https://www.txthinking.com)\n\n### Install via [nami](https://github.com/txthinking/nami)\n\n```\nnami install hancock\n```\n\n### Usage\n\n```\nNote:\n\n    When adding an instance, the user must be allowed to execute sudo without a password!!!\n    nami and joker are automatically installed when you run command for the first time on instance.\n\nAdd instance\n\n    $ hancock add --name mylinux --server 1.2.3.4:22 --user root --password mypassword\n    $ hancock add --name mylinux --server 1.2.3.4:22 --user root --key ./path/to/mykey.pem\n    $ hancock add -n mylinux -s 1.2.3.4:22 -u root -p mypassword\n    $ hancock add -n mylinux -s 1.2.3.4:22 -u root -k ./path/to/mykey.pem\n\nList instances\n\n    $ hancock list\n\nRemove instance\n\n    $ hancock mylinux remove\n\n\nRun nami on an instance\n\n    $ hancock mylinux nami install brook\n    $ hancock mylinux nami list\n\nRun joker on an instance\n\n    $ hancock mylinux joker brook server --listen :9999 --password hello\n    $ hancock mylinux joker last\n    $ hancock mylinux joker list\n    $ hancock mylinux joker stop 1234\n    $ hancock mylinux joker log 1234\n\nRun command and wait output on an instance\n\n    $ hancock mylinux echo hello\n    $ hancock mylinux sleep 3 '\u0026\u0026' echo hello\n\nStart command and do not wait output on an instance\n\n    $ hancock mylinux start echo hello\n    $ hancock mylinux start sleep 3 '\u0026\u0026' echo hello\n\nUpload your own command\n\n    $ hancock mylinux upload ./path/to/command\n```\n\n## License\n\nLicensed under The GPLv3 License\n","funding_links":["https://github.com/sponsors/txthinking"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftxthinking%2Fhancock","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftxthinking%2Fhancock","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftxthinking%2Fhancock/lists"}