{"id":22363739,"url":"https://github.com/teran/checksum","last_synced_at":"2025-07-30T15:31:27.099Z","repository":{"id":57568372,"uuid":"116011865","full_name":"teran/checksum","owner":"teran","description":"SHA256 file verification for consistency check purposes","archived":false,"fork":false,"pushed_at":"2024-11-25T16:37:17.000Z","size":877,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-11-25T17:34:06.694Z","etag":null,"topics":["archiving","checksum","checksum-testing","checksum-validator","consistency-check","consistent-hashing","golang","integrity","integrity-checker","integrity-tool","mediafiles","parallel-processing","verification"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/teran.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":"2018-01-02T12:14:45.000Z","updated_at":"2024-11-25T16:37:25.000Z","dependencies_parsed_at":"2024-11-11T23:16:14.155Z","dependency_job_id":null,"html_url":"https://github.com/teran/checksum","commit_stats":null,"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teran%2Fchecksum","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teran%2Fchecksum/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teran%2Fchecksum/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teran%2Fchecksum/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/teran","download_url":"https://codeload.github.com/teran/checksum/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228154008,"owners_count":17877706,"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":["archiving","checksum","checksum-testing","checksum-validator","consistency-check","consistent-hashing","golang","integrity","integrity-checker","integrity-tool","mediafiles","parallel-processing","verification"],"created_at":"2024-12-04T17:16:59.657Z","updated_at":"2024-12-04T17:17:00.489Z","avatar_url":"https://github.com/teran.png","language":"Go","readme":"# checksum\n\n[![Verify](https://github.com/teran/checksum/actions/workflows/verify.yml/badge.svg?branch=master)](https://github.com/teran/checksum/actions/workflows/verify.yml)\n[![Go Report Card](https://goreportcard.com/badge/github.com/teran/checksum)](https://goreportcard.com/report/github.com/teran/checksum)\n[![Go Reference](https://pkg.go.dev/badge/github.com/teran/checksum.svg)](https://pkg.go.dev/github.com/teran/checksum)\n\nUtility to store length, sha1, sha256 hashes of files in dedicated \"database\"\n(actually just a JSON file) to verify it later as a part of consistency check\nwith automatic new file indexing.\n\n## Usage\n\n\u003c!-- markdownlint-disable MD013 --\u003e\n```man\nUtility to verify files consistency with length, SHA1 and SHA256\n\nUsage: checksum [FLAG]...\n\nVersion:\n    version: 0.8.6-SNAPSHOT-641103d\n    built with: go1.22.4\n    built at: 2024-06-30T06:41:18Z\n\nDescription:\n    checksum creates database (actually just a JSON file) to store file length, SHA1, SHA256\n    to verify file consistency and report if something goes wrong.\n\nFlags:\n    --concurrency, -c            Amount of routines to spawn at the same time for checksum verification    (type: int)\n                                 Default value is 20 for your system\n    --complete                   Completion for shell                                       (type: bool)\n    --datadir, -d                Data directory path to run new files scan                  (type: string)\n    --database, -D               Database file path (required)                              (type: string)\n    --delete-missed              Delete missed files from database                          (type: bool)\n    --generate-checksums-only    Skip verification step and add new files only              (type: bool)\n    --pattern, -p                Pattern to match filenames which checking for new files    (type: string)\n                                 Default is `.(3fr|ari|arw|bay|crw|cr2|cr3|cap|data|dcs|dcr|drf|eip|erf|fff|gpr|iiq|k25|kdc|mdc|mef|mos|mrw|nef|nrw|obm|orf|pef|ptx|pxn|r3d|raf|raw|rwl|rw2|rwz|sr2|srf|srw|x3f)$`\n    --skip-failed, --sf          Skip FAIL verification results from output             (type: bool)\n    --skip-missed, --sm          Skip MISS verification results from output             (type: bool)\n    --skip-ok, --so              Skip OK verification results from output               (type: bool)\n    --progressbar                Show progress bar instead of printing handled files    (type: bool)\n    --version, -V                Print application and Golang versions                  (type: bool)\n    -h, --help                   show help                                              (type: bool)\n```\n\u003c!-- markdownlint-enable MD013 --\u003e\n\n## Why to use checksum but md5sum, shasum and other\n\nchecksum provides straight workflow for verification and adding new files processes\nto avoid remembering something like `find $dir | xargs md5sum \u003e\u003e /tmp/database.txt`.\n\nchecksum automatically:\n\n* verifies files\n* adds new\n* report about fails and misses\n\n## How to install\n\nJust refer to [releases page](https://github.com/teran/checksum/releases) and\ndownload appropriate binary for your platform or build your own one right from\nmaster.\n\n## Build\n\nSystem-wide requirements:\n\n* Go\n* goreleaser\n\nBuild:\n\n```bash\ngoreleaser build --snapshot --clean\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fteran%2Fchecksum","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fteran%2Fchecksum","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fteran%2Fchecksum/lists"}