{"id":30715889,"url":"https://github.com/ewylson/hist","last_synced_at":"2025-09-03T07:04:21.193Z","repository":{"id":312879556,"uuid":"1041621658","full_name":"ewylson/hist","owner":"ewylson","description":"A simple C program that counts printable ASCII characters in a file and generates a histogram","archived":false,"fork":false,"pushed_at":"2025-09-02T14:37:49.000Z","size":28,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-02T16:14:14.736Z","etag":null,"topics":["c","c99","character-count","character-counter","histogram"],"latest_commit_sha":null,"homepage":"","language":"C","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/ewylson.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-08-20T19:01:17.000Z","updated_at":"2025-09-02T14:37:52.000Z","dependencies_parsed_at":"2025-09-02T16:27:12.781Z","dependency_job_id":null,"html_url":"https://github.com/ewylson/hist","commit_stats":null,"previous_names":["ewylson/hist"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/ewylson/hist","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ewylson%2Fhist","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ewylson%2Fhist/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ewylson%2Fhist/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ewylson%2Fhist/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ewylson","download_url":"https://codeload.github.com/ewylson/hist/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ewylson%2Fhist/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273403945,"owners_count":25099300,"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","status":"online","status_checked_at":"2025-09-03T02:00:09.631Z","response_time":76,"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":["c","c99","character-count","character-counter","histogram"],"created_at":"2025-09-03T07:04:19.903Z","updated_at":"2025-09-03T07:04:21.181Z","avatar_url":"https://github.com/ewylson.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# hist\nA simple C program that counts printable ASCII characters in a file and generates a histogram.\n\n## Download\n\nYou can download the latest or specific version of **hist** from the [Releases](https://github.com/ewylson/hist/releases) page.\n\n### Supported Platforms\n\n| OS    | Arch     | Libc     |\n|-------|----------|----------|\n| Linux | x86_64   | glibc    |\n| Linux | x86_64   | musl     |\n| Linux | i686     | glibc    |\n| Linux | aarch64  | glibc    |\n| Linux | aarch64  | musl     |\n| BSD   | x86_64   | freebsd  |\n\n## How to use\n\n```\nUsage: hist [OPTION]... FILE\nCounts printable characters in a file and creates a histogram.\n\n    -l, --letters-only              count only letters\n    -d, --digits-only               count only decimal digits\n    -a, --alphanumeric-only         count only letters and decimal digits\n    -p, --punctuation-only          count only punctuation marks\n    -L, --lowercase-letters-only    count only lowercase letters among letters\n    -U, --uppercase-letters-only    count only uppercase letters among letters\n    -C, --case-ignore               count identical letters with different case as a single character\n    -r, --range=SIZE                set the histogram range\n        --help                      display this help and exit\n        --version                   output version information and exit\n\nExamples:\n    hist file.txt     Count all printed characters in the file and display a histogram.\n    hist -aC file.txt Count only letters and digits in the file, ignoring case, and display a histogram.\n```\n\n## Building from Source Code\n\n### Linux\n\nThe program can be compiled manually with any C compiler that supports the C99 standard or later, such as GCC or Clang:\n```console\ncc main.c -o hist -std=c99 -O2\n```\n\n## License\n\nThis project is licensed under the MIT License.  \nYou are free to use, modify, and distribute it under the terms of that license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fewylson%2Fhist","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fewylson%2Fhist","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fewylson%2Fhist/lists"}