{"id":24812295,"url":"https://github.com/kojix2/verisum","last_synced_at":"2025-03-25T15:32:11.147Z","repository":{"id":244521599,"uuid":"815482685","full_name":"kojix2/verisum","owner":"kojix2","description":"A more comfortable hash checker","archived":false,"fork":false,"pushed_at":"2025-01-23T02:12:54.000Z","size":144,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-30T13:44:43.634Z","etag":null,"topics":["crystal"],"latest_commit_sha":null,"homepage":"","language":"Crystal","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/kojix2.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":"2024-06-15T09:42:21.000Z","updated_at":"2025-01-23T02:16:18.000Z","dependencies_parsed_at":"2024-07-31T10:43:45.756Z","dependency_job_id":"5b1405a8-5855-4e7d-bc61-10b88a634699","html_url":"https://github.com/kojix2/verisum","commit_stats":null,"previous_names":["kojix2/checksum.cr","kojix2/verisum"],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kojix2%2Fverisum","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kojix2%2Fverisum/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kojix2%2Fverisum/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kojix2%2Fverisum/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kojix2","download_url":"https://codeload.github.com/kojix2/verisum/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245489764,"owners_count":20623789,"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":["crystal"],"created_at":"2025-01-30T13:44:46.683Z","updated_at":"2025-03-25T15:32:11.118Z","avatar_url":"https://github.com/kojix2.png","language":"Crystal","funding_links":[],"categories":[],"sub_categories":[],"readme":"# verisum\n\n[![test](https://github.com/kojix2/verisum/actions/workflows/test.yml/badge.svg)](https://github.com/kojix2/verisum/actions/workflows/test.yml)\n\n`verisum` makes the output of `md5sum -c` or `sha256sum -c` prettier.\n\n![screenshot](https://github.com/user-attachments/assets/453701b9-19ec-4409-99f2-4e0fb638df4c)\n\nVerifying MD5 of 100,000 images from \"[たっぷり素材PIXTA](https://www.sourcenext.com/product/pixta/)\"\n\n## Installation\n\nYou can download pre-compiled binaries from [GitHub Release](https://github.com/kojix2/verisum.cr/releases).\n\nTo compile from source code, follow the steps below:\n\n```sh\ngit clone https://github.com/kojix2/verisum\ncd verisum\nshards build --release\nsudo cp bin/verisum /usr/local/bin/\n```\n\nHomebrew:\n\n```\nbrew install kojix2/brew/verisum\n```\n\n## Usage\n\n\n```\n  Options;\n    -c, --calc                       Compute checksums\n    -a, --algorithm ALGORITHM        (md5|sha1|sha256|sha512)\n    -A, --absolute                   Output absolute path [false]\n    -v, --verbose                    Output checksums and errors, etc [false]\n    -C, --color WHEN                 when to use color (auto|always|never) [auto]\n    -D, --debug                      Print a backtrace on error\n    -h, --help                       Show this message\n    -V, --version                    Show version\n```\n\n### Verification\n\nTo verify the checksums with:\n\n```sh\nverisum md5.txt\n```\n\nExample output:\n\n```\n4 files in md5.txt\n4 files, 4 success, 0 mismatch, 0 errors  (0.0 seconds)\n```\n\n### Calculation\n\nWe recommend using standard Unix commands for calculations, \nbut if standard Unix commands are not available, \nyou can also use this tool for calculations.\n\n**Note that the effect of the `-c` option is the opposite of `md5sum`.**\n\n```sh\nverisum -c -a md5 * | tee md5.txt\n```\n\nSort the file list before calculating the checksums:\n\n```sh\nfind . -type f | sort | xargs verisum -c -a md5 | tee md5.txt\n```\n\nExample output:\n\n```\n62525c1aa35e61fb4e60c053e1faa849  LICENSE\n3be217b6d3ac7c38e1805b01b1be0178  README.md\ncb9c37b1954a07579e044e33521c993d  shard.lock\nc680044745baa4b423450c9ecb8baebb  shard.yml\n```\n\n## Development\n\nPull requests are welcome.\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkojix2%2Fverisum","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkojix2%2Fverisum","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkojix2%2Fverisum/lists"}