{"id":19196049,"url":"https://github.com/acj/hts","last_synced_at":"2025-02-23T04:43:11.378Z","repository":{"id":192719820,"uuid":"686497692","full_name":"acj/hts","owner":"acj","description":"Highlight lines of program output based on the latency between them","archived":false,"fork":false,"pushed_at":"2023-11-09T12:17:58.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-04T09:08:49.355Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/acj.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":"2023-09-03T01:40:29.000Z","updated_at":"2023-09-03T01:40:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"d4164962-1e95-4dc8-a058-95f35658f1fe","html_url":"https://github.com/acj/hts","commit_stats":null,"previous_names":["acj/hts"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acj%2Fhts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acj%2Fhts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acj%2Fhts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acj%2Fhts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/acj","download_url":"https://codeload.github.com/acj/hts/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240271519,"owners_count":19774859,"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":"2024-11-09T12:12:18.314Z","updated_at":"2025-02-23T04:43:11.344Z","avatar_url":"https://github.com/acj.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# hts\n\nHighlight lines of program output based on the latency between them\n\n\u003cimg width=\"521\" alt=\"screenshot with hts showing latency for a demo program\" src=\"https://github.com/acj/hts/assets/27923/ba91c337-6c94-4ef1-a964-b7b7ab8f6f59\"\u003e\n\n## Getting started\n\n### Homebrew (recommended)\n\n```\nbrew install acj/taps/hts\n```\n\n### From source\n\nYou'll need a [Rust toolchain](https://rustup.rs). Clone this repository, and then:\n\n```\ncargo build\n```\n\n## Usage\n\n```\nUsage: hts [OPTIONS]\n\nOptions:\n  -d, --debug                        Turn debugging information on\n  -n, --no-echo                      Do not echo lines of input as they arrive; show highlighted output after the command finishes\n  -m, --min-latency \u003cMIN_LATENCY\u003e    Don't highlight lines with latency below this threshold [default: 1ms]\n  -l, --latency-unit \u003cLATENCY_UNIT\u003e  Show the latency between lines in the given unit. Valid units are ns, us, ms, s, m, h, d [default: ms]\n  -h, --help                         Print help\n  -V, --version                      Print version\n```\n\nTry piping a command into `hts`:\n\n```\nping google.com -c 4 | hts\n```\n\nIf you built hts from source, try it again with highlighting:\n\n```\ncargo clean \u0026\u0026 cargo build 2\u003e\u00261 | hts\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Facj%2Fhts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Facj%2Fhts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Facj%2Fhts/lists"}