{"id":18295995,"url":"https://github.com/petergrace/clifana","last_synced_at":"2025-04-09T08:42:09.603Z","repository":{"id":145478907,"uuid":"586077971","full_name":"PeterGrace/clifana","owner":"PeterGrace","description":"Do prometheus visualization stuff on the cli","archived":false,"fork":false,"pushed_at":"2023-04-09T19:24:27.000Z","size":20,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-15T02:44:43.584Z","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/PeterGrace.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-01-06T22:05:29.000Z","updated_at":"2023-01-09T18:41:28.000Z","dependencies_parsed_at":"2023-05-24T09:30:49.978Z","dependency_job_id":null,"html_url":"https://github.com/PeterGrace/clifana","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PeterGrace%2Fclifana","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PeterGrace%2Fclifana/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PeterGrace%2Fclifana/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PeterGrace%2Fclifana/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PeterGrace","download_url":"https://codeload.github.com/PeterGrace/clifana/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248008388,"owners_count":21032553,"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-05T14:39:05.639Z","updated_at":"2025-04-09T08:42:09.582Z","avatar_url":"https://github.com/PeterGrace.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# clifana\nDo prometheus visualization stuff on the cli\n\n## ideas\n  - use a toml config file\n    - config file will have a place to specify multiple data sources in easy-to-connect formats\n    ```\n    [[server]]\n    name=myserver\n    url=http://my-prometheus-server:9090/\n    ```\n    - config file will have ability to store common queries that you use a lot\n    ```\n    [[query]]\n    name=cpu\n    query = \"\"\"\n       sum(cpu_seconds_total{foo=\"$bar\"})\n    \"\"\"\n    ```\n    - config file will support cli argument to variable substitution (or maybe envvar?)\n    ```\n    [[server]]\n    name=generic\n    url=\"http://${serverip}:9090\"\n    --\n    ./clifana --connect=server --query=query --args=serverip,127.0.0.1\n    ```\n  - maybe visualize graphs in ascii art similar to the python cli visualization tools that exist already\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpetergrace%2Fclifana","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpetergrace%2Fclifana","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpetergrace%2Fclifana/lists"}