{"id":22213950,"url":"https://github.com/xmlking/wordcount","last_synced_at":"2025-09-06T17:46:11.098Z","repository":{"id":142313689,"uuid":"218639349","full_name":"xmlking/wordcount","owner":"xmlking","description":null,"archived":false,"fork":false,"pushed_at":"2019-10-30T23:11:35.000Z","size":2147,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-05-01T20:22:24.815Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xmlking.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":"2019-10-30T22:40:07.000Z","updated_at":"2024-06-19T07:45:38.424Z","dependencies_parsed_at":null,"dependency_job_id":"16152839-037e-489b-9c42-4f99ed896e43","html_url":"https://github.com/xmlking/wordcount","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/xmlking/wordcount","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xmlking%2Fwordcount","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xmlking%2Fwordcount/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xmlking%2Fwordcount/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xmlking%2Fwordcount/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xmlking","download_url":"https://codeload.github.com/xmlking/wordcount/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xmlking%2Fwordcount/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273940316,"owners_count":25195096,"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-06T02:00:13.247Z","response_time":2576,"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":[],"created_at":"2024-12-02T21:12:42.932Z","updated_at":"2025-09-06T17:46:11.054Z","avatar_url":"https://github.com/xmlking.png","language":"Go","readme":"# Wordcount\n\n\n\n```\ngsutil ls gs://micro-starter-kit/dataflow/wordcount/\ngsutil cp shakespeare.txt  gs://micro-starter-kit/dataflow/wordcount/input/\ngsutil cp gs://micro-starter-kit/dataflow/wordcount/input/shakespeare.txt  .\n```\n\n\n```bash\n# setup\ngo mod init github.com/xmlking/wordcount\n# build\ngo build\n# run\n./wordcount --input shakespeare.txt --output counts\n\n\n\nexport GOOGLE_APPLICATION_CREDENTIALS=\"/Users/sumo/micro-starter-kit.json\"\n\n\n./wordcount --input gs://micro-starter-kit/dataflow/wordcount/input/shakespeare.txt \\\n            --output gs://micro-starter-kit/dataflow/wordcount/output/counts \\\n            --runner dataflow \\\n            --job_name wordcount1 \\\n            --project micro-starter-kit \\\n            --region us-west1 \\\n            --subnetwork my-subnetwork \\\n            --temp_location gs://micro-starter-kit/dataflow/wordcount/tmp/ \\\n            --staging_location gs://micro-starter-kit/dataflow/wordcount/binaries/ \\\n            --worker_harness_container_image=apachebeam/go_sdk:latest\n\n./wordcount --input gs://micro-starter-kit/dataflow/wordcount/input/shakespeare.txt \\\n            --output gs://micro-starter-kit/dataflow/wordcount/output/counts \\\n            --runner dataflow \\\n            --job_name wordcount1 \\\n            --project micro-starter-kit \\\n            --temp_location gs://micro-starter-kit/dataflow/wordcount/tmp/ \\\n            --staging_location gs://micro-starter-kit/dataflow/wordcount/binaries/ \\\n            --worker_harness_container_image=apachebeam/go_sdk:latest\n```\n\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxmlking%2Fwordcount","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxmlking%2Fwordcount","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxmlking%2Fwordcount/lists"}