{"id":27072519,"url":"https://github.com/prashanthatp/wc-cpp","last_synced_at":"2025-07-02T09:35:07.677Z","repository":{"id":286259380,"uuid":"931062740","full_name":"PrashanthaTP/wc-cpp","owner":"PrashanthaTP","description":"Unix `wc` tool in C++","archived":false,"fork":false,"pushed_at":"2025-04-05T09:14:10.000Z","size":77,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-05T10:22:21.982Z","etag":null,"topics":["coding-challenges","cpp","cpp17","wc-tool"],"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/PrashanthaTP.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":"2025-02-11T16:55:02.000Z","updated_at":"2025-04-05T09:14:13.000Z","dependencies_parsed_at":"2025-04-05T10:22:26.535Z","dependency_job_id":"bd1f3661-5a32-4c58-a7f3-833c82a19a16","html_url":"https://github.com/PrashanthaTP/wc-cpp","commit_stats":null,"previous_names":["prashanthatp/wc-cpp"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/PrashanthaTP/wc-cpp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PrashanthaTP%2Fwc-cpp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PrashanthaTP%2Fwc-cpp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PrashanthaTP%2Fwc-cpp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PrashanthaTP%2Fwc-cpp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PrashanthaTP","download_url":"https://codeload.github.com/PrashanthaTP/wc-cpp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PrashanthaTP%2Fwc-cpp/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263112198,"owners_count":23415564,"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":["coding-challenges","cpp","cpp17","wc-tool"],"created_at":"2025-04-05T23:18:12.040Z","updated_at":"2025-07-02T09:35:07.610Z","avatar_url":"https://github.com/PrashanthaTP.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"![wc tool banner image](./docs/images/banner_wctool.png)\n# WC Tool in C++\n\n![C++](https://img.shields.io/badge/C++-blue?style=for-the-badge\u0026logo=c%2B%2B\u0026logoColor=white)\n![CMake](https://img.shields.io/badge/CMake-BuildSystem-blue?style=for-the-badge\u0026logo=cmake\u0026logoColor=white)\n![GoogleTest](https://img.shields.io/badge/GoogleTest-UnitTesting-red?style=for-the-badge)\n![License](https://img.shields.io/badge/MIT-License-green?style=for-the-badge)\n\n## Features\n\n```bash\nUsage: ccwc [OPTION] [FILE]\n\nOptions:\n  -c     print the byte counts\n  -w     print the word counts\n  -l     print the newline counts\n```\n\n## Todo\n\n- `-m` option to count characters\n- Reading from standard input\n- Handling when no options are passed\n- Multiple files\n\n## Building\n\n- Clone the repository.\n```bash\ngit clone git@github.com:PrashanthaTP/wc-cpp.git\n```\n- Run `build.sh`. Executable `ccwc.exe` gets generated in `build` folder.\n```bash\ncd wc-cpp; ./build.sh\n```\n\n## Testing\n\n- Tests are written using [GoogleTest](git@github.com:PrashanthaTP/wc-cpp.git) library.\n- Run tests using `test.sh`\n```bash\n./test.sh\n```\n\n## Acknowledgements\n\n- [Build Your Own wc Tool](https://codingchallenges.fyi/challenges/challenge-wc) from [Coding Challenges\n](https://codingchallenges.fyi/)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprashanthatp%2Fwc-cpp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprashanthatp%2Fwc-cpp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprashanthatp%2Fwc-cpp/lists"}