{"id":20090897,"url":"https://github.com/raehik/upcost","last_synced_at":"2026-05-28T23:31:36.787Z","repository":{"id":17903237,"uuid":"20859190","full_name":"raehik/upcost","owner":"raehik","description":"Logs system uptime and tells you the price.","archived":false,"fork":false,"pushed_at":"2014-06-17T10:35:10.000Z","size":132,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-02T15:33:12.718Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","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/raehik.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}},"created_at":"2014-06-15T16:03:02.000Z","updated_at":"2014-06-17T10:53:01.000Z","dependencies_parsed_at":"2022-07-22T03:31:54.842Z","dependency_job_id":null,"html_url":"https://github.com/raehik/upcost","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/raehik/upcost","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raehik%2Fupcost","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raehik%2Fupcost/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raehik%2Fupcost/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raehik%2Fupcost/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/raehik","download_url":"https://codeload.github.com/raehik/upcost/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raehik%2Fupcost/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33630999,"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-05-28T02:00:06.440Z","response_time":99,"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":[],"created_at":"2024-11-13T16:27:01.371Z","updated_at":"2026-05-28T23:31:36.767Z","avatar_url":"https://github.com/raehik.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"upcost\n=========\n\n`upcost` logs uptime along with approximate power consumption and the cost of\nthat power.\n\n`upcost.service` belongs in `/etc/systemd/system/` because AFAIK, that's\nwhere custom services go.  \n`upcost` is the script and can go anywhere, but I put it in\n`/usr/local/lib/systemd/system/scripts/` because that seemed reasonable. I\ndidn't want it in the `$PATH`, as it shouldn't be run more than once per boot.\n\nPlaces its log in `/var/log/upcost/log`. You should create that directory\nfirst, else you might get errors.\n\nSoon enough I'll write a script `upcost` which shows your 'outstanding debt'\nas it were. I might have to change the name of the `upcost` script for that\n(`upcost` makes most sense to me as asking the computer what the cost is). When\nit is paid, the log is rotated.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraehik%2Fupcost","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fraehik%2Fupcost","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraehik%2Fupcost/lists"}