{"id":18053784,"url":"https://github.com/hymkor/sponge","last_synced_at":"2025-07-24T17:11:44.546Z","repository":{"id":65245711,"uuid":"54432150","full_name":"hymkor/sponge","owner":"hymkor","description":"sponge clone for Windows (Original: https://joeyh.name/code/moreutils/)","archived":false,"fork":false,"pushed_at":"2024-03-31T12:04:48.000Z","size":28,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-10T22:53:36.857Z","etag":null,"topics":["cui","executable","golang","pipeline","tool"],"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/hymkor.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"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}},"created_at":"2016-03-22T00:14:20.000Z","updated_at":"2024-03-28T07:58:33.000Z","dependencies_parsed_at":"2024-03-29T15:22:55.283Z","dependency_job_id":"dddb9b84-1b4d-4dce-b168-332985775d07","html_url":"https://github.com/hymkor/sponge","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/hymkor/sponge","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hymkor%2Fsponge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hymkor%2Fsponge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hymkor%2Fsponge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hymkor%2Fsponge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hymkor","download_url":"https://codeload.github.com/hymkor/sponge/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hymkor%2Fsponge/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266876452,"owners_count":23999250,"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-07-24T02:00:09.469Z","response_time":99,"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":["cui","executable","golang","pipeline","tool"],"created_at":"2024-10-31T00:08:01.930Z","updated_at":"2025-07-24T17:11:44.465Z","avatar_url":"https://github.com/hymkor.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"sponge (clone)\r\n==============\r\n\r\nsoak up standard input and write to a file.\r\n([original version](https://joeyh.name/code/moreutils/),\r\n [my Rust version](https://github.com/hymkor/sponge-rs))\r\n\r\n```\r\n$ cat foo.txt\r\na\r\nb\r\nc\r\nd\r\n$ cat -n foo.txt | sponge foo.txt\r\n$ cat foo.txt\r\n     1 a\r\n     2 b\r\n     3 c\r\n     4 d\r\n```\r\n(Japanese: 標準入力を全て読み取ってから、その内容を引数のファイルに出力します)\r\n\r\nInstall\r\n-------\r\n\r\nDownload the binary package from [Releases](https://github.com/hymkor/sponge/releases) and extract the executable.\r\n\r\n### Use \"go install\"\r\n\r\n```\r\ngo install github.com/hymkor/sponge@latest\r\n```\r\n\r\n### Use \"scoop-installer\"\r\n\r\n```\r\nscoop install https://raw.githubusercontent.com/hymkor/sponge/master/sponge.json\r\n```\r\n\r\nor\r\n\r\n```\r\nscoop bucket add hymkor https://github.com/hymkor/scoop-bucket\r\nscoop install sponge\r\n```\r\n\r\nUsage\r\n-----\r\n\r\n`sponge {options} {FILENAME(s)...}`\r\n\r\n+ `-b string`\r\n    + Postfix for backup of original files\r\n+ `-v`\r\n    + Output log to the standard error\r\n+ `-h`\r\n    + Show this help\r\n\r\n---\r\n\r\n[Release Note(English)](./release_note_en.md)\r\n[Release Note(Japanese)](./release_note_ja.md)\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhymkor%2Fsponge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhymkor%2Fsponge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhymkor%2Fsponge/lists"}