{"id":27867970,"url":"https://github.com/sigurd4/poengsum","last_synced_at":"2026-03-06T23:32:36.211Z","repository":{"id":290046488,"uuid":"973210919","full_name":"sigurd4/poengsum","owner":"sigurd4","description":"A very simple CLI tool that counts points and keeps track of teams competing in a quiz.","archived":false,"fork":false,"pushed_at":"2025-08-02T15:17:09.000Z","size":76,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-13T17:02:48.972Z","etag":null,"topics":["cli-app","cli-application","cli-tool","command-line","command-line-interface","command-line-tool","competition","game","leaderboard","quiz","ranking","score","utility"],"latest_commit_sha":null,"homepage":"https://crates.io/crates/poengsum","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/sigurd4.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,"zenodo":null}},"created_at":"2025-04-26T14:01:07.000Z","updated_at":"2025-08-02T15:17:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"c145dce2-7a06-4acd-aa10-a1680dc02542","html_url":"https://github.com/sigurd4/poengsum","commit_stats":null,"previous_names":["sigurd4/poengsum"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sigurd4/poengsum","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sigurd4%2Fpoengsum","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sigurd4%2Fpoengsum/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sigurd4%2Fpoengsum/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sigurd4%2Fpoengsum/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sigurd4","download_url":"https://codeload.github.com/sigurd4/poengsum/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sigurd4%2Fpoengsum/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30203353,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-06T19:07:06.838Z","status":"ssl_error","status_checked_at":"2026-03-06T18:57:34.882Z","response_time":250,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["cli-app","cli-application","cli-tool","command-line","command-line-interface","command-line-tool","competition","game","leaderboard","quiz","ranking","score","utility"],"created_at":"2025-05-04T22:56:09.175Z","updated_at":"2026-03-06T23:32:36.201Z","avatar_url":"https://github.com/sigurd4.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status (nightly)](https://github.com/sigurd4/poengsum/workflows/Build-nightly/badge.svg)](https://github.com/sigurd4/poengsum/actions/workflows/build-nightly.yml)\n[![Build Status (stable)](https://github.com/sigurd4/poengsum/workflows/Build-stable/badge.svg)](https://github.com/sigurd4/poengsum/actions/workflows/build-stable.yml)\n\n[![Test Status](https://github.com/sigurd4/poengsum/workflows/Test/badge.svg)](https://github.com/sigurd4/poengsum/actions/workflows/test.yml)\n[![Lint Status](https://github.com/sigurd4/poengsum/workflows/Lint/badge.svg)](https://github.com/sigurd4/poengsum/actions/workflows/lint.yml)\n\n[![Latest Version](https://img.shields.io/crates/v/poengsum.svg?logo=rust)](https://crates.io/crates/poengsum)\n[![AUR Version](https://img.shields.io/aur/version/poengsum?logo=archlinux)](https://aur.archlinux.org/packages/poengsum)\n\n[![License:MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n[![Coverage Status](https://img.shields.io/codecov/c/github/sigurd4/poengsum)](https://app.codecov.io/github/sigurd4/poengsum)\n\n# poengsum\n\nQuickly generate a leaderboard for a quiz from your terminal.\n\n## Input\n\nYou write the score of each team in a file called `poengsum.txt`, like in this example:\n\n```txt\nNester Grønn: 13 20\nDet klør på quizzen: 6 12\nBrew wars: Return of the Heimert: 6 29 9\n2. Etg.: 12 10\nCamp Royal: 32 20 25\nThe Boratas: 22 20\nDe Tilfeldige: 20 14 9\nKate's Bush: 42.5 21 42.5\nBlank: 21 16\nNavigators (gir aldri opp): 19.5 17 9\nThe Good Seeds: 49 47 47\nSølvkre: 32 24 13\nDreit på draget laget: 23 21 16\nGuranarane: 36.5 31 45\nDe anonyme: 11 13\nNull peiling: 11 13\n```\n\nEach line contains one team, followed by a colon, and then whitespace separated point values for each round. Team names can include a colon. The points follow the last colon on each line. Teams that have not participated in all rounds will have a score of 0 in those rounds they were not participating in. It supports UTF-8.\n\nThe program will then parse this file when ran in the same directory, and gives helpful and easy-to-understand error messages if issues arise with reading or parsing it.\n\n## Output\n\nYou can then display the leaderboard for the total sum of all rounds thus far by entering `poengsum` in the terminal, in the same directory as `poengsum.txt`.\n\n```bash\npoengsum\n```\n```\n16. Det klør på quizzen: 18\n15. 2. Etg.: 22\n13. De anonyme: 24\n13. Null peiling: 24\n12. Nester Grønn: 33\n11. Blank: 37 ↓3\n10. The Boratas: 42 ↓3\n9. De Tilfeldige: 43 ↑2\n8. Brew wars: Return of the Heimert: 44 ↑2\n7. Navigators (gir aldri opp): 45.5 ↑2\n6. Dreit på draget laget: 60\n5. Sølvkre: 69 ↓1\n4. Camp Royal: 77 ↑1\n3. Kate's Bush: 106\n2. Guranarane: 112.5\n1. The Good Seeds: 143\n```\n\nYou can also see the amount of positions that each team climbed or fell since the previous round, denoted by the arrow after their score. If your terminal supports colored text, then these will also be colored red and green for a more pleasant viewing experience.\n\nYou can also specify a specific sequence of rounds as command-line arguments to the command `poengsum`, and it will display the score, as if these rounds were replayed in the given sequence.\n\nFor example, if i want to see how it would have played out if round 2 happened first, and then round 1 happened twice, i can do this:\n\n```bash\npoengsum 2 1 1\n```\n```\n16. Det klør på quizzen: 24\n15. 2. Etg.: 34\n13. De anonyme: 35\n13. Null peiling: 35\n12. Brew wars: Return of the Heimert: 41 ↓2\n11. Nester Grønn: 46 ↑1\n10. De Tilfeldige: 54 ↑1\n9. Navigators (gir aldri opp): 56\n8. Blank: 58\n7. The Boratas: 64\n6. Dreit på draget laget: 67\n5. Camp Royal: 84\n4. Sølvkre: 88\n3. Guranarane: 104 ↓1\n2. Kate's Bush: 106 ↑1\n1. The Good Seeds: 145\n```\n\nHow convenient!\n\n## Installation\n\n### Cargo\n\nYou can install this program from [crates.io](https://crates.io) through [Cargo](https://www.rust-lang.org/tools/install), by running this command in your command-line:\n\n```bash\ncargo install poengsum\n```\n\nThis will by default install the application to the directory `~/.cargo/bin/`. Make sure `~/.cargo/bin/` is included in your `PATH`.\n\n### Arch-linux (AUR)\n\nThis program is also available on the AUR under the name [poengsum](https://aur.archlinux.org/packages/poengsum). If you're running an Arch-based distro, you can get it there.\n\n```bash\nyay -S poengsum\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsigurd4%2Fpoengsum","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsigurd4%2Fpoengsum","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsigurd4%2Fpoengsum/lists"}