/Google-Assistant-Unofficial-Desktop-Client

A cross-platform unofficial Google Assistant Client for Desktop (powered by Google Assistant SDK)

Primary LanguageJavaScriptApache License 2.0Apache-2.0

Google Assistant Unofficial Desktop Client

Build Dependencies Downloads Issues License Top Language Last Commit Commits since last release

G Assist Banner

Google Assistant Unofficial Desktop Client is a cross-platform desktop client for Google Assistant based on Google Assistant SDK.

Note:

The "Google Assistant Unofficial Desktop Client" is under development. So, if you find any bugs or have any suggestion, feel free to post an issue or a pull request.

Inspiration

The design is inspired by Google Assistant in Chrome OS and comes in both Light Mode (beta) and Dark Mode 😉.

G Assist Screenshot

Getting Started

In order to use the client, you must have a "Key File" and "Token" for authentication which you can get by going through Device Registration process. You can go through the wiki given below to get started.

"Setup Authentication for Google Assistant Unofficial Desktop Client" Wiki (For both Device Registration & Authentication help):

https://github.com/Melvin-Abraham/Google-Assistant-Unofficial-Desktop-Client/wiki/Setup-Authentication-for-Google-Assistant-Unofficial-Desktop-Client

Other References

If you want a user friendly registration method, use Device Registration UI:

https://developers.google.com/assistant/sdk/guides/library/python/embed/config-dev-project-and-account

If you want to use a CLI tool to complete the Device Registration and Authentication process manually, read the following:

https://developers.google.com/assistant/sdk/reference/device-registration/register-device-manual

After you have registered your device and downloaded the required authentication files, you can head on to Settings and set the "Key File Path" and "Saved Tokens Path" to the location where the respective files are located.

Want to Contribute?

You are more than welcome to contribute to all kinds of contributions:

  • 🤔 Request/Suggest a feature
  • 🐛 Report a bug
  • 📖 Make this documentation better
  • 💻 Contribute with the code

Before you start, we highly recommend you check the Google Assistant Unofficial Desktop Client's contributing guidelines.

How to Build?

Using npm


# Get dependencies from npm
npm install

# Run the Assistant
npm start

# Build the Assistant
npm run dist

Using yarn


# Get dependencies from npm registry
yarn install

# Run the Assistant
yarn start

# Build the Assistant
yarn dist

Download

If you don't want to build the project for yourself, you can download the Assistant Setup/Installer for the respective platform from here (releases)

Linux Build

If you are a linux user, Snap build is recommended over AppImage. You can download the snap from snapstore.

Get it from the Snap Store

Default Keyboard Shortcut

  • Windows: Win + Shift + A
  • MacOS: Cmd + Shift + A
  • Linux: Super + Shift + A

Note: Keyboard shortcut is configurable in the settings

TODO

  • Set build for Mac and Linux in package.json
  • Create Config File
  • Remove 'auth' from the app folder
  • Respond to "Ok Google" or "Hey Google"
  • Activate Mic for continuousConverstion only when audio output is done
  • Use different dependency for audio recording
  • Improve Carousel UI Rendering in the main_area
  • Improve Error Handling
  • Improve Assistant Audio Output
  • Turn off webAudio after visualization
  • "Enable Audio Output" in Settings
  • Divide Settings into sections
  • Don't accept empty queries
  • Info for each Setting
  • Animation while talking
  • Ping when activating mic
  • Welcome screen for first-time users
  • Display images from Google Images
  • Option to disable auto-scaling
  • Cleanup CSS
  • Remove sox as a dependency

Other Libraries Used