{"id":20245421,"url":"https://github.com/letsmakecakes/wc-tool","last_synced_at":"2026-05-10T13:03:10.026Z","repository":{"id":217344758,"uuid":"743213264","full_name":"letsmakecakes/wc-tool","owner":"letsmakecakes","description":"Unix command line tool wc built using Golang","archived":false,"fork":false,"pushed_at":"2024-12-26T19:30:20.000Z","size":149,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-14T01:49:43.748Z","etag":null,"topics":["command-line","command-line-tool","go","golang","linux","linux-shell"],"latest_commit_sha":null,"homepage":"","language":"Go","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/letsmakecakes.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-01-14T17:08:21.000Z","updated_at":"2024-12-26T19:30:24.000Z","dependencies_parsed_at":"2024-02-24T16:26:08.366Z","dependency_job_id":"58386db0-670b-47c3-ae9e-84af1f345721","html_url":"https://github.com/letsmakecakes/wc-tool","commit_stats":null,"previous_names":["letsmakecakes/wc-tool"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/letsmakecakes%2Fwc-tool","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/letsmakecakes%2Fwc-tool/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/letsmakecakes%2Fwc-tool/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/letsmakecakes%2Fwc-tool/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/letsmakecakes","download_url":"https://codeload.github.com/letsmakecakes/wc-tool/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241688744,"owners_count":20003531,"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":["command-line","command-line-tool","go","golang","linux","linux-shell"],"created_at":"2024-11-14T09:20:54.403Z","updated_at":"2026-05-10T13:03:09.922Z","avatar_url":"https://github.com/letsmakecakes.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WC - Word Count\n\nA clone of the Unix `wc` utility written in Go, implementing the core functionality of counting bytes, lines, words, and characters in text files.\n\n## Features\n\n- Count bytes (-c)\n- Count lines (-l)\n- Count words (-w)\n- Count characters (-m)\n- Default mode (equivalent to -c -l -w)\n- Support for file input and standard input\n- Unicode support\n\n## Building\n\n```bash\ngo build -o wc ./cmd/wc\n```\n\n## Usage\n\n```bash\n# Count bytes\n./wc -c test.txt\n\n# Count lines\n./wc -l test.txt\n\n# Count words\n./wc -w test.txt\n\n# Count characters\n./wc -m test.txt\n\n# Default mode (lines, words, bytes)\n./wc test.txt\n\n# Read from standard input\ncat test.txt | ./wc -l\n```\n\n## Testing\n\n```bash\ngo test ./...\n```\n\n## Project Structure\n\n```\nwc/\n├── cmd/\n│   └── wc/\n│       └── main.go       # Entry point\n├── internal/\n│   └── counter/\n│       ├── counter.go    # Core counting logic\n│       └── counter_test.go\n├── pkg/\n│   └── utils/\n│       └── utils.go      # Utility functions\n├── go.mod\n└── README.md\n```\n\n## License\n\nMIT License","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fletsmakecakes%2Fwc-tool","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fletsmakecakes%2Fwc-tool","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fletsmakecakes%2Fwc-tool/lists"}