{"id":20961365,"url":"https://github.com/perbu/powercost","last_synced_at":"2026-02-06T09:04:51.616Z","repository":{"id":62946827,"uuid":"563525637","full_name":"perbu/powercost","owner":"perbu","description":null,"archived":false,"fork":false,"pushed_at":"2024-12-07T07:58:33.000Z","size":3728,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-25T15:54:01.559Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/perbu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2022-11-08T19:49:22.000Z","updated_at":"2024-12-07T07:58:37.000Z","dependencies_parsed_at":"2024-06-20T00:03:58.029Z","dependency_job_id":"fe49fd20-9437-4789-9f04-b00aaab674c5","html_url":"https://github.com/perbu/powercost","commit_stats":{"total_commits":27,"total_committers":2,"mean_commits":13.5,"dds":"0.33333333333333337","last_synced_commit":"956b43637d8f3741cc879c2cf06d8b967e7780b8"},"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/perbu%2Fpowercost","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/perbu%2Fpowercost/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/perbu%2Fpowercost/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/perbu%2Fpowercost/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/perbu","download_url":"https://codeload.github.com/perbu/powercost/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248473112,"owners_count":21109628,"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-19T02:03:33.380Z","updated_at":"2026-02-06T09:04:51.585Z","avatar_url":"https://github.com/perbu.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# powercost\n\nSilly little cli to query an API with electricity prices for Norway.\n\n## Building\nThere are pre-build binaries for most architectures in the release sections.\n\nTo build from source, you need to have go installed. Then run:\n```bash\ngo build -o pwrcost main.go\n```\nMove the `pwrcost` binary to a directory in your PATH.\n## Usage\n\n```\n$ pwrcost\n\n 0.45 ┤                       ╭─╮\n 0.41 ┤                      ╭╯ ╰─╮\n 0.37 ┤                    ╭─╯    ╰────╮\n 0.34 ┤                   ╭╯           ╰───────────╮\n 0.30 ┼─╮               ╭─╯                        ╰────────╮\n 0.26 ┤ ╰────────╮   ╭──╯                                   ╰─╮\n 0.22 ┤          ╰───╯                                        ╰─╮\n 0.19 ┤                                                         ╰───╮\n 0.15 ┤                                                             ╰────╮\n 0.11 ┤                                                                  ╰──╮\n 0.08 ┤                                                                     ╰─\n                             Prices for 2022-11-10 in NO1\n     00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24\n```\n\nYou can add the flag \"-tomorrow\" and it'll try to give you the prices for tomorrow. If the prices\nare not published yet, it will print an error message to stderr.\n```bash\npwrcost -tomorrow\n```\nYou can also add the flag \"-zone\" to display a different price zone.\n```bash\npwrcost -zone=NO2\n```\n\nSee also `pwrcost -h` for more usage information.\n\n## Todo\n - Highlight the price for the current hour\n - Tests\n - Probably lots. This is a quick hack.\n\n## License\nSee LICENSE.md","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fperbu%2Fpowercost","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fperbu%2Fpowercost","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fperbu%2Fpowercost/lists"}