{"id":13587188,"url":"https://github.com/Calinou/lagraph","last_synced_at":"2025-04-07T19:31:00.045Z","repository":{"id":32903033,"uuid":"145612268","full_name":"Calinou/lagraph","owner":"Calinou","description":"Display a ping graph in a terminal","archived":false,"fork":false,"pushed_at":"2023-05-31T00:57:43.000Z","size":137,"stargazers_count":32,"open_issues_count":4,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-05-13T22:45:43.628Z","etag":null,"topics":["command-line","command-line-tool","ping","ping-graph-plotter"],"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/Calinou.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.Apache-2.0.txt","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}},"created_at":"2018-08-21T19:50:01.000Z","updated_at":"2024-04-24T18:21:01.000Z","dependencies_parsed_at":"2024-02-13T21:55:24.459Z","dependency_job_id":null,"html_url":"https://github.com/Calinou/lagraph","commit_stats":{"total_commits":98,"total_committers":4,"mean_commits":24.5,"dds":0.5612244897959184,"last_synced_commit":"d38d8c4d20623e9331b115950fcfabd25860f8c7"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Calinou%2Flagraph","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Calinou%2Flagraph/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Calinou%2Flagraph/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Calinou%2Flagraph/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Calinou","download_url":"https://codeload.github.com/Calinou/lagraph/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223290417,"owners_count":17120911,"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":["command-line","command-line-tool","ping","ping-graph-plotter"],"created_at":"2024-08-01T15:06:04.846Z","updated_at":"2024-11-06T05:31:18.509Z","avatar_url":"https://github.com/Calinou.png","language":"Rust","funding_links":[],"categories":["Rust"],"sub_categories":[],"readme":"# lagraph\n\n[![Crates.io](https://img.shields.io/crates/v/lagraph.svg)](https://crates.io/crates/lagraph)\n\n**lagraph** is a command-line utility that can be used to draw a ping graph over time.\n\n## Features\n\n- Bars drawn using Unicode or ASCII character, supporting \"half characters\"\n  for increased precision\n- True-color output with configurable saturation\n- Setting ping interval and/or count\n- Optional short or long timestamp\n\n## Use cases\n\n- Monitoring your connection quality and stability over time.\n  - This is especially useful when using Wi-Fi or mobile connections such as 4G.\n\n## Installation\n\n### Using `cargo`\n\nIf you already have [Rust](https://rust-lang.org/) installed, you can use\n[Cargo](https://crates.io/) to build and install lagraph:\n\n```bash\ncargo install lagraph\n```\n\nYou need rustc 1.30 or later to build lagraph from source.\n\n## Usage\n\nUse `lagraph --help` for a full list of command-line options.\n\n### Examples\n\nPing an host at the default interval (0.5 seconds):\n\n```bash\nlagraph \u003chost\u003e\n```\n\nPing an host every 5 seconds, displaying a short timestamp on the left:\n\n```bash\nlagraph -i 5 -t short \u003chost\u003e\n```\n\nPing an host with a maximum displayable ping value of 100 milliseconds\nand remove colors from the output:\n\n```bash\nlagraph -M 100 -C none \u003chost\u003e\n```\n\n### Setting true-color output by default\n\nTo use true-color output by default, you need to set the environment variable\n`COLORTERM` to `truecolor`. You can make this permanent by adding the following\nline to your shell startup file (such as `~/.bashrc` or `~/.zshrc`):\n\n```bash\nexport COLORTERM=\"truecolor\"\n```\n\nOn Windows, this can be done using the following commands in a Command Prompt:\n\n```bat\n:: Permanently set COLORTERM to \"truecolor\" for the current user\nsetx COLORTERM truecolor\n:: Sets the variable in the current shell\nset COLORTERM=truecolor\n```\n\nNote that not all terminals support true-color terminal output; see\n[this gist](https://gist.github.com/XVilka/8346728) for more information.\nWindows 10 supports true-color terminal output since the Creators Update\n(version 1703).\n\n## License\n\nCopyright © 2018-2019 Hugo Locurcio and contributors\n\nLicensed (at your option) under the [MIT](/LICENSE.MIT.md)\nor [Apache 2.0](LICENSE.Apache-2.0.txt) license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FCalinou%2Flagraph","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FCalinou%2Flagraph","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FCalinou%2Flagraph/lists"}