{"id":25014282,"url":"https://github.com/gregoryv/trim","last_synced_at":"2025-03-30T05:13:10.932Z","repository":{"id":63994792,"uuid":"572372558","full_name":"gregoryv/trim","owner":"gregoryv","description":"Convenient line trimmer with sane defaults","archived":false,"fork":false,"pushed_at":"2024-10-05T07:53:40.000Z","size":287,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-05T07:19:23.799Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":false,"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/gregoryv.png","metadata":{"files":{"readme":"README.md","changelog":"changelog.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-11-30T05:59:52.000Z","updated_at":"2024-10-05T07:53:40.000Z","dependencies_parsed_at":"2022-11-30T13:34:11.049Z","dependency_job_id":null,"html_url":"https://github.com/gregoryv/trim","commit_stats":null,"previous_names":["gregoryv/gotrim"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregoryv%2Ftrim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregoryv%2Ftrim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregoryv%2Ftrim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregoryv%2Ftrim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gregoryv","download_url":"https://codeload.github.com/gregoryv/trim/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246277360,"owners_count":20751549,"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":[],"created_at":"2025-02-05T07:18:58.717Z","updated_at":"2025-03-30T05:13:10.915Z","avatar_url":"https://github.com/gregoryv.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"trim - Convenient line trimmer with sane defaults\n\n![](./trim_logo.svg)\n\n## Quick start\n\n    $ go install github.com/gregoryv/cmd/trim@latest\n    $ trim -h\n    Usage: trim [OPTIONS]\n    \n    Options\n        -c, --columns : 72\n        -s, --suffix : \"...\"\n        -t, --tab-width : 4\n            number of spaces\n        \n        -l, --path-length : 20\n            trim paths to length\n            0 means no trimming and min length is 6\n        \n        -h, --help\n\n\ntrim trims lines on stdin, e.g.\n\n    $ cat testdata/example.txt | trim\n\n\n## Features\n\n1. Trim by specific column\n1. Indicate trim with suffix\n1. Replace tabs with spaces\n1. Replace $HOME/path with ~/path\n1. Shorten paths\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgregoryv%2Ftrim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgregoryv%2Ftrim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgregoryv%2Ftrim/lists"}