Skip to content

feat: add extract-aistudio-auth standalone npx tool#123

Open
xjetry wants to merge 1 commit into
iBUHub:mainfrom
xjetry:feat/extract-aistudio-auth
Open

feat: add extract-aistudio-auth standalone npx tool#123
xjetry wants to merge 1 commit into
iBUHub:mainfrom
xjetry:feat/extract-aistudio-auth

Conversation

@xjetry
Copy link
Copy Markdown

@xjetry xjetry commented Apr 10, 2026

Summary

  • Add a standalone CLI tool (scripts/auth/extract-aistudio-auth/) that extracts Google AI Studio authentication state from a running Chrome/Edge browser via Chrome DevTools Protocol (CDP)
  • Outputs auth-N.json files compatible with AIStudioToAPI, usable via npx extract-aistudio-auth
  • Supports macOS, Linux, and Windows with Chinese UI prompts and cross-platform browser launch guidance

Test plan

  • Run npx extract-aistudio-auth --help to verify CLI entry point works
  • Launch Chrome/Edge with remote debugging enabled, then run the tool to extract auth
  • Verify generated auth-N.json file is valid and can be used by AIStudioToAPI

Add a standalone CLI tool that extracts Google AI Studio authentication
state from a running Chrome/Edge browser via CDP, outputting auth-N.json
files compatible with AIStudioToAPI.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant