{"id":29470038,"url":"https://github.com/ashinsan/zigwordcount","last_synced_at":"2025-07-14T12:02:30.533Z","repository":{"id":302361889,"uuid":"1012181682","full_name":"AshinSan/ZigWordCount","owner":"AshinSan","description":"A simple `wc` clone written in Zig for learning purposes ","archived":false,"fork":false,"pushed_at":"2025-07-09T13:52:22.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-07-09T14:51:25.189Z","etag":null,"topics":["cli","learning","system-programming","wc","word-count","zig"],"latest_commit_sha":null,"homepage":"","language":"Zig","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/AshinSan.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-07-02T00:24:08.000Z","updated_at":"2025-07-09T13:52:27.000Z","dependencies_parsed_at":"2025-07-09T14:41:13.516Z","dependency_job_id":null,"html_url":"https://github.com/AshinSan/ZigWordCount","commit_stats":null,"previous_names":["ashinsan/zigwordcount"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AshinSan/ZigWordCount","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AshinSan%2FZigWordCount","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AshinSan%2FZigWordCount/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AshinSan%2FZigWordCount/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AshinSan%2FZigWordCount/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AshinSan","download_url":"https://codeload.github.com/AshinSan/ZigWordCount/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AshinSan%2FZigWordCount/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265288497,"owners_count":23741194,"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":["cli","learning","system-programming","wc","word-count","zig"],"created_at":"2025-07-14T12:01:18.707Z","updated_at":"2025-07-14T12:02:30.519Z","avatar_url":"https://github.com/AshinSan.png","language":"Zig","funding_links":[],"categories":[],"sub_categories":[],"readme":"# zwc - Zig Word Count\n\nThis is a small project I made to learn Zig and get comfortable with systems programming.\n\n`zwc` is a CLI utility written in Zig to count the number of **lines**, **words**, **characters** in a text file similar to the UNIX `wc` CLI.\n\n## Usage\n\n```sh\nzwc [FILE] [OPTION]\n```\n\nYou can also pass other outputs instead of passing a file\n\n```sh\necho hello world | zwc\n```\n\n## Options\n\n- `-h`, `--help`:    Show help messages.\n- `-l`, `--list`:    Show only line count.\n- `-w`, `--word`:    Show only word count.\n- `-c`, `--char`:    Show only character count.\n- `-v`, `--verbose`: Verbose Mode.\n- `--version`: Shows current version. \n\nYou can combine options:\n\n`zwc input.txt -lwc` or `zwc input.txt -cw --line` etc.\n\n## Example\n\n```sh\nzwc input.txt -l -c\n```\n\n## Build\n\n```sh\nzig build\n```\n\n## License\n\nMIT (See [LICENSE](LICENSE) file)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fashinsan%2Fzigwordcount","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fashinsan%2Fzigwordcount","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fashinsan%2Fzigwordcount/lists"}