{"id":15747591,"url":"https://github.com/kachick/gwurl","last_synced_at":"2025-03-13T13:32:16.250Z","repository":{"id":227681461,"uuid":"772088367","full_name":"kachick/gwurl","owner":"kachick","description":"Google distributing Windows installer URL","archived":true,"fork":false,"pushed_at":"2024-10-21T12:33:17.000Z","size":159,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-07T00:38:16.086Z","etag":null,"topics":["google","windows","winget-pkgs"],"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/kachick.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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}},"created_at":"2024-03-14T14:11:29.000Z","updated_at":"2024-10-21T12:37:26.000Z","dependencies_parsed_at":"2024-04-15T04:03:40.163Z","dependency_job_id":null,"html_url":"https://github.com/kachick/gwurl","commit_stats":null,"previous_names":["kachick/gwurl"],"tags_count":0,"template":false,"template_full_name":"kachick/anylang-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kachick%2Fgwurl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kachick%2Fgwurl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kachick%2Fgwurl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kachick%2Fgwurl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kachick","download_url":"https://codeload.github.com/kachick/gwurl/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243414509,"owners_count":20287134,"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":["google","windows","winget-pkgs"],"created_at":"2024-10-04T05:21:03.257Z","updated_at":"2025-03-13T13:32:15.059Z","avatar_url":"https://github.com/kachick.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gwurl - \"Google distributing Windows installer\"'s URL\n\n[![CI - Go Status](https://github.com/kachick/gwurl/actions/workflows/ci-go.yml/badge.svg?branch=main)](https://github.com/kachick/gwurl/actions/workflows/ci-go.yml?query=branch%3Amain+)\n[![CI - E2E Status](https://github.com/kachick/gwurl/actions/workflows/ci-googleapi.yml/badge.svg?branch=main)](https://github.com/kachick/gwurl/actions/workflows/ci-googleapi.yml?query=branch%3Amain+)\n[![CI - Nix Status](https://github.com/kachick/gwurl/actions/workflows/ci-nix.yml/badge.svg?branch=main)](https://github.com/kachick/gwurl/actions/workflows/ci-nix.yml?query=branch%3Amain+)\n\nThis repository has been archibed.\nI may reopen this repository again for very personal use, however I don't need to maintain for now.\n\n## Usage\n\n```console\n\u003e gwurl 'https://dl.google.com/tag/s/appguid%3D%7BDDCCD2A9-025E-4142-BCEB-F467B88CF830%7D%26iid%3D%7BBF6725E7-4A15-87B7-24D5-0ADABEC753EE%7D%26lang%3Dja%26browser%3D4%26usagestats%3D0%26appname%3DGoogle%2520%25E6%2597%25A5%25E6%259C%25AC%25E8%25AA%259E%25E5%2585%25A5%25E5%258A%259B%26needsadmin%3Dtrue%26ap%3Dexternal-stable-universal/japanese-ime/GoogleJapaneseInputSetup.exe'\n\n{appguid:{DDCCD2A9-025E-4142-BCEB-F467B88CF830} ap:external-stable-universal appname:Google 日本語入力 needsadmin:true filename:GoogleJapaneseInputSetup.exe}\nhttp://edgedl.me.gvt1.com/edgedl/release2/kjspmop3m4hu2sbbaotsynsgja_2.29.5370.0/GoogleJapaneseInput64-2.29.5370.0.msi\nhttps://edgedl.me.gvt1.com/edgedl/release2/kjspmop3m4hu2sbbaotsynsgja_2.29.5370.0/GoogleJapaneseInput64-2.29.5370.0.msi\nhttp://dl.google.com/release2/kjspmop3m4hu2sbbaotsynsgja_2.29.5370.0/GoogleJapaneseInput64-2.29.5370.0.msi\nhttps://dl.google.com/release2/kjspmop3m4hu2sbbaotsynsgja_2.29.5370.0/GoogleJapaneseInput64-2.29.5370.0.msi\nhttp://www.google.com/dl/release2/kjspmop3m4hu2sbbaotsynsgja_2.29.5370.0/GoogleJapaneseInput64-2.29.5370.0.msi\nhttps://www.google.com/dl/release2/kjspmop3m4hu2sbbaotsynsgja_2.29.5370.0/GoogleJapaneseInput64-2.29.5370.0.msi\n```\n\n## Tested targets\n\n- Google Chrome\n- Google Japanese IME(Also known as \"Google 日本語入力\")\n\n## Installation\n\nNix\n\n```bash\nnix run github:kachick/gwurl -- 'the_tagged_url_here'\n```\n\nPrebuilt binaries\n\n```pwsh\n# \u003cUPDATE ME\u003e\n```\n\n## Motivation\n\nAs my understanding.\n\nIf we are downloading Google product as a Windows installer, it returns long and encoded URL as `https://dl.google.com/tag/s/appguid%3D%7~iid%3D%`.\\\nThe iid is the \"Instance ID\", so downloading from this URL twice, the installer will not work. Even if you got the binary...!\\\nAs far as I know, they does not open the list of these actual URLs.\n\nI didn't know their motivation, but this is a blocker of getting installer permalinks. Especially in [winget-pkgs](https://github.com/microsoft/winget-pkgs/pull/144281#discussion_r1524718296).\n\n## Resources\n\nUsing their API without any token auth and referenced these OSS resources.\n\n- https://github.com/google/omaha/blob/c97bc28a89fa0d9863a7e9089c37357eb854e8de/doc/TaggedMetainstallers.md?plain=1#L11-L21\n- https://github.com/google/omaha/blob/c97bc28a89fa0d9863a7e9089c37357eb854e8de/doc/ServerProtocolV2.md?plain=1#L21\n- https://github.com/SpecterShell/Dumplings/blob/26a3b4f359a0fb524dc9f30dc5ae924c0f723f8a/Tasks/Google.Chrome/Script.ps1\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkachick%2Fgwurl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkachick%2Fgwurl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkachick%2Fgwurl/lists"}