Skip to content

Unoffical Google AI Studio cilent, support external login.

Notifications You must be signed in to change notification settings

Augus1217/Google-AI-Studio-Desktop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Google AI Studio Desktop

Google AI Studio Desktop Note: Screenshot taken on Linux with a highly customized GNOME desktop environment.

This is an unofficial desktop client for Google AI Studio, built with Electron. It provides a native-like experience and addresses login issues often encountered in non-standard browser environments.

✨ Features

  • Native Experience: Frameless window design with a custom dark mode title bar.
  • Full Navigation: Integrated Back, Forward, Reload, and Home buttons within the title bar.
  • Highly Customizable:
    • Auto Clear Cookies: Option to automatically clear cookies on startup for a clean session.
    • Custom Home Page: Set your preferred starting URL.
    • Show URL: Toggle the display of the current URL in the title bar.
    • Multi-language Support: Supports 15+ languages including English, Chinese, Japanese, German, and more.
  • Advanced Features (v1.5.0):
    • Persistent Accounts: Automatically remembers your last active account (e.g., /u/1) across sessions.
    • Profile Manager: Upload and manage custom profile avatars in Settings.
    • Smart Notifications: Desktop notifications when the AI finishes generating a response (works in Chat & Playground).
    • Auto-Updater: Check for and download updates directly from the app.
  • Login Support:
    • Direct Login: Utilizes a specific User-Agent strategy (Chrome 144) to simulate a standard browser environment.
    • External Login: A fallback mechanism if direct login is blocked by Google. Allows logging in via Chrome/Edge and manually injecting the session cookie.
  • Troubleshooting: Built-in "Reset App" feature to clear all cache and data with one click and restart the application.

🚀 Installation & Running

  1. Clone the repository:

    git clone https://github.com/Augus1217/Google-AI-Studio-Desktop
    cd google-ai-studio-desktop
  2. Install dependencies:

    npm install
  3. Start the application:

    npm start

🛠️ Troubleshooting

Login Issues ("This browser or app may not be secure")

Google has strict checks for browser environments. If you encounter a login block:

  1. Try Again: Often, after the initial session initialization, a second login attempt will succeed.
  2. Use External Login:
    • Click the Key icon (🔑) in the title bar.
    • Click "Open Google AI Studio" (this attempts to open the link in your external Chrome or Edge browser).
    • Log in to Google AI Studio in your external browser.
    • Open Developer Tools (F12) -> Network tab.
    • Refresh the page and click on the first request.
    • Under Headers -> Request Headers, find the Cookie field.
    • Copy the entire Cookie value, paste it into the application's dialog box, and confirm.
  3. Reset App:
    • Click the Settings icon (⚙️) in the title bar.
    • Scroll to the bottom and click the red "Reset App" button.
    • This will clear all cache and settings, and restart the application.

⚙️ Configuration File Location

The config.json file is stored in the user's application data directory:

  • Linux: ~/.config/google-ai-studio-desktop/config.json
  • Windows: %APPDATA%/google-ai-studio-desktop/config.json
  • macOS: ~/Library/Application Support/google-ai-studio-desktop/config.json

🔮 Roadmap (What's Next)

  • Gemini Desktop Integration: Seamlessly switch between Google AI Studio and Gemini (gemini.google.com) within the app.
  • Custom Themes: Inject custom CSS for deeper personalization (make it yours!).
  • Proxy Settings: Native interface for configuring proxy settings.

📜 License

ISC

About

Unoffical Google AI Studio cilent, support external login.

Resources

Stars

Watchers

Forks

Packages

No packages published