{"id":18410373,"url":"https://github.com/akyoto/sugoi","last_synced_at":"2025-04-07T10:32:15.872Z","repository":{"id":28862194,"uuid":"32386328","full_name":"akyoto/sugoi","owner":"akyoto","description":":wrench: Mini tools for Linux.","archived":false,"fork":false,"pushed_at":"2019-05-12T03:20:47.000Z","size":33,"stargazers_count":7,"open_issues_count":2,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-22T16:52:42.455Z","etag":null,"topics":["linux","shell","toolkit"],"latest_commit_sha":null,"homepage":"","language":"Python","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/akyoto.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":"2015-03-17T10:17:28.000Z","updated_at":"2023-09-05T01:25:26.000Z","dependencies_parsed_at":"2022-09-05T08:51:13.952Z","dependency_job_id":null,"html_url":"https://github.com/akyoto/sugoi","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akyoto%2Fsugoi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akyoto%2Fsugoi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akyoto%2Fsugoi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akyoto%2Fsugoi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/akyoto","download_url":"https://codeload.github.com/akyoto/sugoi/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247637081,"owners_count":20971057,"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","shell","toolkit"],"created_at":"2024-11-06T03:31:36.324Z","updated_at":"2025-04-07T10:32:15.569Z","avatar_url":"https://github.com/akyoto.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sugoi\n\nSwiss army knife for linux.\n\n## Installation\n\n```shell\n./sugoi install sugoi\n```\n\nAdd `alias s='sugoi'` in your `.bash_aliases` for more awesomeness.\n\n## Usage\n\n```\n~$ s\nCommands:\n\taddKeyToServer\n\tblockPort\n\tclearFirewall\n\tcpu\n\tcpuUsage\n\tdiskUsage\n\tdisks\n\tdownloadFromServer\n\tfreeMemory\n\thelp\n\tinstall\n\tls\n\tmemory\n\tmemoryUsage\n\tos\n\tprocessCount\n\tpush\n\tredirectPort\n\tstats\n\ttcp\n\ttcpCount\n\ttune\n\tudp\n\tudpCount\n\tupdate\n\tupgrade\n\tuptime\n\tusage\n```\n\n## Examples\n\n### git add + git commit + git push\n\n```shell\n~$ s push \"Changed some stuff\"\n```\nI personally use `alias sp='sugoi push'` to type it even faster.\n\n### Add SSH key to remote server\n```shell\n~$ s addKeyToServer admin@github.com\n```\n\nEnables SSH auto-login for the specified server. Key needs to be stored in `~/.ssh/id_rsa.pub`.\n\n### Download file from server\n\n```shell\n~$ s downloadFromServer admin@github.com /home/admin/database.dat\n```\n\nDownloads starts instantaneously if you added your SSH key to the server.\n\n### Redirect port\n\n```shell\n~$ s redirectPort 80 4000\n~$ s redirectPort 443 4001\n```\n\n### Block a port\n\n```shell\n~$ s blockport 3000\n```\n\n### Clear firewall rules\n\n```shell\n~$ s clearFirewall\n```\n\n### Show resource usage\n\n```shell\n~$ s usage\nCPU usage:          3%\nMemory usage:       34%\nDisk usage:         73%\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakyoto%2Fsugoi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fakyoto%2Fsugoi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakyoto%2Fsugoi/lists"}