{"id":26574253,"url":"https://github.com/schpet/diffwrite","last_synced_at":"2026-04-30T18:32:41.436Z","repository":{"id":283000631,"uuid":"950356268","full_name":"schpet/diffwrite","owner":"schpet","description":"print a diff while you write stdin to a file","archived":false,"fork":false,"pushed_at":"2025-03-18T03:27:14.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-31T05:08:55.064Z","etag":null,"topics":["cli","shell"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/schpet.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":"2025-03-18T03:14:09.000Z","updated_at":"2025-03-18T03:27:18.000Z","dependencies_parsed_at":"2025-03-18T04:30:04.003Z","dependency_job_id":"0c8ff137-e612-4292-907b-58602f0a876c","html_url":"https://github.com/schpet/diffwrite","commit_stats":null,"previous_names":["schpet/diffwrite"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/schpet/diffwrite","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schpet%2Fdiffwrite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schpet%2Fdiffwrite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schpet%2Fdiffwrite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schpet%2Fdiffwrite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/schpet","download_url":"https://codeload.github.com/schpet/diffwrite/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schpet%2Fdiffwrite/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32473804,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"ssl_error","status_checked_at":"2026-04-30T13:12:06.837Z","response_time":57,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["cli","shell"],"created_at":"2025-03-23T01:39:37.573Z","updated_at":"2026-04-30T18:32:41.412Z","avatar_url":"https://github.com/schpet.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# diffwrite\n\nwrites stdin to a file, while also printing a diff\n\n```bash\n# tired, dusty\necho \"abc\" \u003e results.txt\n# (no output)\n\n# amazing, really good\necho \"def\" | diffwrite results.txt\n# --- a/results.txt\n# +++ b/results.txt\n# @@ -1,1 +1,1 @@\n# -abc\n# +def\n```\n\n| redirection                       | diffwrite                         |\n| --------------------------------- | --------------------------------- |\n| prints nothing, how unixy         | prints a diff                     |\n| streams, wow, unix philosophy     | reads the whole thing into memory |\n| cant even pipe a file into itself | like a snake eating its tail      |\n| posix                             | live a little                     |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fschpet%2Fdiffwrite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fschpet%2Fdiffwrite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fschpet%2Fdiffwrite/lists"}