{"id":46569774,"url":"https://github.com/itamaker/go-chrome-ai","last_synced_at":"2026-03-13T12:00:35.490Z","repository":{"id":342750349,"uuid":"1175045311","full_name":"itamaker/go-chrome-ai","owner":"itamaker","description":" Cross-platform Go tool to patch Chrome Local State and enable Ask Gemini and other Chrome AI features, with both CLI and GUI.","archived":false,"fork":false,"pushed_at":"2026-03-11T12:45:37.000Z","size":416,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-11T15:44:06.741Z","etag":null,"topics":["ask-gemini","chrome","chrome-ai","chrome-profile","cli","golang","google-chrome","gui"],"latest_commit_sha":null,"homepage":"https://github.com/itamaker/go-chrome-ai/releases/latest","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/itamaker.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":"itamaker","buy_me_a_coffee":"amaker"}},"created_at":"2026-03-07T06:33:18.000Z","updated_at":"2026-03-11T12:45:39.000Z","dependencies_parsed_at":"2026-03-12T11:01:49.445Z","dependency_job_id":null,"html_url":"https://github.com/itamaker/go-chrome-ai","commit_stats":null,"previous_names":["itamaker/go-chrome-ai"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/itamaker/go-chrome-ai","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itamaker%2Fgo-chrome-ai","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itamaker%2Fgo-chrome-ai/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itamaker%2Fgo-chrome-ai/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itamaker%2Fgo-chrome-ai/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/itamaker","download_url":"https://codeload.github.com/itamaker/go-chrome-ai/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itamaker%2Fgo-chrome-ai/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30422840,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-12T09:20:56.688Z","status":"ssl_error","status_checked_at":"2026-03-12T09:20:13.792Z","response_time":114,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["ask-gemini","chrome","chrome-ai","chrome-profile","cli","golang","google-chrome","gui"],"created_at":"2026-03-07T08:09:53.426Z","updated_at":"2026-03-13T12:00:35.461Z","avatar_url":"https://github.com/itamaker.png","language":"Go","funding_links":["https://github.com/sponsors/itamaker","https://buymeacoffee.com/amaker"],"categories":[],"sub_categories":[],"readme":"# go-chrome-ai\n\n[![All Contributors](https://img.shields.io/badge/all_contributors-1-orange.svg?style=flat-square)](#contributors-)\n\nEnglish | [中文](docs/README.zh.md)\n\n`go-chrome-ai` is a cross-platform Chrome profile patcher written in Go, with both **CLI** and **GUI** modes.\nIt helps enable Chrome AI-related features, including **Ask Gemini**, without reinstalling Chrome or recreating your profile.\n\n![go-chrome-ai social preview](docs/images/social-preview.png)\n\n## Support\n\n[![Buy Me A Coffee](https://img.shields.io/badge/Buy%20Me%20A%20Coffee-FFDD00?style=for-the-badge\u0026logo=buy-me-a-coffee\u0026logoColor=black)](https://buymeacoffee.com/amaker)\n\n## Quickstart\n\n### Install\n\n```bash\nbrew install --cask itamaker/tap/go-chrome-ai\n```\n\n```bash\ncurl -fsSL https://raw.githubusercontent.com/itamaker/go-chrome-ai/main/scripts/install.sh | sh\n```\n\n\u003cdetails\u003e\n\u003csummary\u003eYou can also download binaries from \u003ca href=\"https://github.com/itamaker/go-chrome-ai/releases\"\u003eGitHub Releases\u003c/a\u003e.\u003c/summary\u003e\n\nCurrent release archives:\n\n- macOS (Apple Silicon/arm64): `go-chrome-ai_1.0.5_darwin_arm64.tar.gz`\n- macOS (Intel/x86_64): `go-chrome-ai_1.0.5_darwin_amd64.tar.gz`\n- Linux (arm64): `go-chrome-ai_1.0.5_linux_arm64.tar.gz`\n- Linux (x86_64): `go-chrome-ai_1.0.5_linux_amd64.tar.gz`\n- Windows (arm64): `go-chrome-ai_1.0.5_windows_arm64.zip`\n- Windows (x86_64): `go-chrome-ai_1.0.5_windows_amd64.zip`\n\nEach archive contains a single executable: `go-chrome-ai`.\nThe macOS archives include the GUI-capable binary. Linux and Windows releases ship the CLI binary for portable installs.\n\n\u003c/details\u003e\n\n### First Run\n\nRun:\n\n```bash\ngo-chrome-ai        # CLI mode on every release\ngo-chrome-ai gui    # GUI mode on macOS release builds or source builds\n```\n\nOn some macOS systems, Gatekeeper may block first launch for downloaded binaries. If that happens, run:\n\n```bash\nxattr -d com.apple.quarantine $(which go-chrome-ai)\n```\n\nTypical warning:\n\n\u003e Apple could not verify “go-chrome-ai” is free of malware that may harm your Mac or compromise your privacy.\n\nIt enables Chrome AI-related features (such as **Ask Gemini**) by patching local profile state:\n\n- `is_glic_eligible` (recursive) -\u003e `true`\n- `variations_country` -\u003e `\"us\"`\n- `variations_permanent_consistency_country` -\u003e `[\"\u003clast_version\u003e\", \"us\"]` (if field exists and is patchable)\n\n## Screenshot\n\n![go-chrome-ai GUI](docs/images/go-chrome-ai-gui.png)\n\n## Requirements\n\n- Go `1.26+`\n- Google Chrome installed (Stable / Canary / Dev / Beta)\n\n## Run CLI\n\n```bash\ngo run ./cmd/go-chrome-ai\n```\n\nFlags:\n\n- `-dry-run`: show changes without writing files or killing Chrome\n- `-no-restart`: patch but do not restart Chrome\n\n## Run GUI\n\n```bash\ngo run ./cmd/go-chrome-ai gui\n```\n\nPrebuilt Linux and Windows releases are CLI-only. Build from source if you want the Fyne GUI on those platforms.\n\nThe GUI includes:\n\n- auto-detection of installed Chrome channels\n- one-click patch flow\n- progress bar\n- real-time logs\n\n## Build From Source\n\n```bash\nmake build\n```\n\n```bash\ngo build -o output/go-chrome-ai ./cmd/go-chrome-ai\n```\n\nMakefile:\n\n- `make build`\n- `make release-check` to validate `.goreleaser.yaml`\n- `make snapshot` to build GoReleaser release assets into `dist/`\n\nLocal build output is written to `output/`. GoReleaser packaging output is written to `dist/`.\n\nInstalled binary usage:\n\n```bash\ngo-chrome-ai        # CLI mode on every release\ngo-chrome-ai gui    # GUI mode on macOS release builds or source builds\n```\n\n## What It Does\n\n1. Detects Chrome user-data directories per OS/channel.\n2. Stops running Chrome processes to avoid file locks.\n3. Patches `Local State`.\n4. Restarts previously running Chrome executables (unless disabled).\n\n## Notes\n\n- Back up Chrome `User Data` if you want a safety net.\n- Run with the same OS user that owns the Chrome profile.\n- Not affiliated with Google. Use at your own risk.\n\n## Acknowledgements\n\n[![Built with OpenAI Codex](https://img.shields.io/badge/Built%20with-OpenAI%20Codex-10A37F?style=for-the-badge\u0026logo=openai\u0026logoColor=white)](https://chatgpt.com/codex)\n\nSpecial thanks to **OpenAI Codex** for assisting with parts of the implementation of this project.\n\n## Contributors ✨\n\n| [![Zhaoyang Jia][avatar-zhaoyang]][author-zhaoyang] |\n| --- |\n| [Zhaoyang Jia][author-zhaoyang] |\n\n\n\n[author-zhaoyang]: https://github.com/itamaker\n[avatar-zhaoyang]: https://images.weserv.nl/?url=https://github.com/itamaker.png\u0026h=120\u0026w=120\u0026fit=cover\u0026mask=circle\u0026maxage=7d\n\n## License\n\n[MIT](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitamaker%2Fgo-chrome-ai","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fitamaker%2Fgo-chrome-ai","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitamaker%2Fgo-chrome-ai/lists"}