{"id":50925197,"url":"https://github.com/bennetyee/span_circuit_info","last_synced_at":"2026-06-16T22:01:54.127Z","repository":{"id":360310663,"uuid":"1245432169","full_name":"bennetyee/span_circuit_info","owner":"bennetyee","description":"Use SPAN's API to get information about selected circuits","archived":false,"fork":false,"pushed_at":"2026-05-25T21:18:48.000Z","size":20,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-25T23:18:05.076Z","etag":null,"topics":["rust","span"],"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/bennetyee.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-05-21T08:05:10.000Z","updated_at":"2026-05-25T21:18:52.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/bennetyee/span_circuit_info","commit_stats":null,"previous_names":["bennetyee/span_circuit_info"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/bennetyee/span_circuit_info","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bennetyee%2Fspan_circuit_info","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bennetyee%2Fspan_circuit_info/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bennetyee%2Fspan_circuit_info/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bennetyee%2Fspan_circuit_info/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bennetyee","download_url":"https://codeload.github.com/bennetyee/span_circuit_info/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bennetyee%2Fspan_circuit_info/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34425024,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-16T02:00:06.860Z","response_time":126,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["rust","span"],"created_at":"2026-06-16T22:01:52.541Z","updated_at":"2026-06-16T22:01:54.119Z","avatar_url":"https://github.com/bennetyee.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# span_circuit_info\n\nThis is a vibe-coded reimplementation of the Python code in the\nrepository https://github.com/bennetyee/SPAN-hacks in Rust, but with\nsome added features, such as exponential backoff retry logic.  The API\nis designed to work with https://github.com/bennetyee/live_plotter to\ndisplay interesting charts.\n\nRemote viewing of circuit power usage is possible by running\n`span_circuit_info` on a home server to log into a file, and then the\nwhen away from home run `live_plotter` to access the data using `ssh\nHOME tail +0f FILE | live_plotter ...` to display the strip chart.\n\nI run\n\n```sh\nspan_circuit_info -a --abs -k instantPowerW --live 5 --timestamp \u003e\u003e span-data/all-circuits.log\n```\n\nwith the labels saved via a single invocation of\n\n```sh\nspan_circuit_info -a -k name -q \u003e span-data/labels\n```\n\nso that when I'm away from home, I can do\n\n```sh\nssh HOME tail +0f span-data/all-circuits.log | eval live_plotter --timestamp --labels `cat span-data/labels ` -v $(expr 60 \\* 60 \\* 24)\n```\n\n(I have a local copy of the `labels` file.)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbennetyee%2Fspan_circuit_info","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbennetyee%2Fspan_circuit_info","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbennetyee%2Fspan_circuit_info/lists"}