Coder Social home page Coder Social logo

melvin-abraham / google-assistant-unofficial-desktop-client Goto Github PK

View Code? Open in Web Editor NEW
3.6K 78.0 400.0 6.28 MB

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

License: Apache License 2.0

JavaScript 91.01% CSS 8.04% HTML 0.95%
google-assistant google-assistant-sdk electron-app virtual-assistant desktop-app electron desktop-assistant cross-platform g-assist windows linux macos gaudc gassist

google-assistant-unofficial-desktop-client's People

Contributors

adlerluiz avatar albanobattistella avatar andersmmg avatar brianteeman avatar diegovallejodev avatar esau-morais avatar fraaxius avatar im-coder-lg avatar mcpe-pc avatar melvin-abraham avatar mkody avatar nikosavola avatar onlycs avatar renzo904 avatar robot-inventor avatar sumeshir26 avatar turphin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

google-assistant-unofficial-desktop-client's Issues

[Question] I cannot save the OAuth consent screen

image

It's the same as the image shows, after I click through every option filling out the mandatory fields, I doesn't show me an option to save it.

The crazy thing is I've done this before, and it had worked flawlessly

Choosing microphone input and audio output

Hello Melvin!

Recently I noticed that in the settings we can't choose which audio device google assistant will get the audio source from and send the audio source to.

Since I got multiple audio devices on my pc I need to change it to the ones I use regularly on almost every program or sometimes I want it to be on specific ones like my VR headset microphone in case I want to know some stuff while using my VR headset.

A small selection drop-down box with all of the user's audio devices and you can choose the one for the microphone and one for the headset will do the job.

Edges of the corners are not translucent

Describe the bug
Whenever I launch the app, at every corner, they are not translucent, but white.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'yarn start'
  2. See error

Expected behavior
Clear and transparent rounded corners.

Screenshots
Screen Shot 2020-04-16 at 9 29 03 AM

Desktop (please complete the following information):

  • OS: [MacOS Catalina Version 10.15.1 (19B88)]
  • Version [1.0.0-rc.1]

Ability to change hotkey

I would simply love to be able to change the hotkey to whatever I want. That is all, could not see an option for that. Thank you

Web results do not appear

Describe the bug
Upon searching for web results, the Google Assistant states results have been found however none are shown.

To Reproduce
Steps to reproduce the behavior:

  1. Activate assistant
  2. Search for web results (Ex: "Search for GitHub", "Show me pictures of frogs", "Give me web results for Electron")
  3. Google Assistant states results were found
  4. No results are shown

Expected behavior
I expect to see a list of websites (including the name, link, and a description) and occasionally embeds containing relevant information or images.

Screenshots
Search for GitHub
Show me pictures of frogs
Give me web results for Electron

Desktop:

  • OS: Windows 10 Home Build 1909
  • Version 1.0.0-rc.2

Additional context
I'm not entirely sure if this is a bug or a missing feature, sorry. On one hand, I haven't seen anyone else complaining about this, but on the other hand, I haven't seen it stated that this feature isn't currently available anywhere.

ISSUE: Assistant not working.

Describe the issue
When tapping the microphone button on the UI, it shuts off straight away, however, the assistant 'bing' came up when pressing the mic. When typing to it, a blue loading bar goes halfway on the bottom of the header and shows what I've typed on the top of the window, no output noise or response was given.

Screenshots

Assistant Capture.zip

Desktop

  • OS: Windows 10 Build 21277
  • Assistant Version: 1.0.0-rc.2

Shortcut Change

Will be great if we can have an option to change the quick access shortcut.

[Feature Request] System language

Hello,

I really love your app, I have been waiting for a long time to have Google Assistant on Windows 10 and others and your app is just awesome!

My suggestion : Detect operating system language automatically

Thanks !

A Java script error occured in the main process

I installed the google assistant (unofficial client) from the ubuntu software store. the installation was smooth, but when i try to launch the application from my applications menu, it opens a pop up saying that a java error occured in the main process i have attached a screen shot of the pop-up down here. and about my system specificaion, i use ubuntu 20.04.1
Screenshot from 2020-11-02 19-49-58

[Issue][Ubuntu 20.04] Not Working Mic or Config Button.

Describe the bug
I've just installed by snap command, as the main page says...
When I open it from the tray, it opens normally but i can't send commands, the mic button doesn't work, neither the config button.
the screen is not frozen because the animations works, the close and maximize button works, and the text box works (but not send commands anyaway)
i've opened from the terminal just to see if it has errors, but not relevant, see the screenshot.

To Reproduce
Steps to reproduce the behavior:

  1. Open g-assist from terminal or by shortcut
  2. launch app from the tray
  3. Not working buttons.

Expected behavior
Mic buttons to send commands that i've typed (yes, the type is working)

Screenshots
image

Desktop (please complete the following information):

  • OS: [Ubuntu 20.04 LTS, kernel 5.9.8-050908-generic]
  • Version [1.0.0-rc.2]

Replace Depreciated/Unsupported Dependencies

Describe the bug
A few different packages are depreciated or unsupported for NPM.

To Reproduce
Steps to reproduce the behavior:

  1. Download & Unzip
  2. Open Command Prompt (Windows) / Terminal (Ubuntu & Chronos)
  3. run "npm install"
    Expected behavior
    All packages successfully install.
    Screenshots
    N/a
    Desktop (please complete the following information):
  • OS: Windows 10 Pro Insider Preview Version 2004 (Build 19569.1000), Windows 10 Pro 20H2, Ubuntu 20.04-20.10

Additional context
Add any other context about the problem here.

Signing in as a user

Is your feature request related to a problem? Please describe.
For certain uses Google Assistant requires a signed-in user. Setting the default temperature unit to Celsius is one such example.

Describe the solution you'd like
Provide an interface to connect your Google Account.

Describe alternatives you've considered

Additional context
Screenshot 2020-10-14 at 12 23 27

Unexpected Exception Occured

Unexpected Exception Occured
An unexpected error occurred.
Error: Tried calling start() before the ready event!

I set up my google actions and added the key file path. then this appeared and i cant get rid of it
Screenshot_1

Light Mode and other features

Hi,
First of all, I want to thank you for this project! I loved it!
I would like to see a light mode option (my Windows theme is set to light).
Furthermore, I know this sounds like nitpicking, but could you update some fonts and formatting? If you ask for the weather, rainy days would be spaced weirdly (see attachment). Also, could you update the font so that it is Google's font everywhere? It would also be nice if you included speech bubbles for the user/Google Assistant's words.

By the way, I don't really want this to sound like nitpicking, but it was just something that bothered me.

Thank you so much!

image

[Feature Request] enabling access to browser in linux

I would want my google assistant to control my computer to mainly show up web related information on my browser, what i mean is, when i ask simple questions like "where is italy located" the output is just a blank screen and a voice saying "here is what i found from wikipedia" (no info displayed on screen). I want the assistant to open my browser and show up the wikipedia content what was found relevant.

doesn't work on raspberry pi

Describe the bug
I tried to build this app on Ubuntu 20.10 for the Raspberry Pi, npm install finished successfully but when running npm start the tray icon appears but nothing else works. clicking on the icon and selecting launch assistant doesn't do anything. I included a screenshot of the terminal output.

To Reproduce
Steps to reproduce the behavior:

  1. use build instructions with npm on ubuntu 20.10 on a raspberry pi
  2. when typing npm start I get a few errors from MESA-LOADER and app doesn't work correctly.

Expected behavior
I expected google assistant to start when clicking on start assistant in the tray icon menu.

Screenshots
image

Desktop:

  • OS: Ubuntu 20.10 for raspberry pi (arm64) on a pi 4b 4gb
  • Version: 1.0.0-rc.2

Additional context
I tried running the next command in the build instructions (npm run dist) and it errored out, I think because of the errors when running npm start.

[Feature Request] Integrate Google Assistant more deeply into the system (Windows 10)

Hello,

I really love your app, I have been waiting for a long time to have Google Assistant on Windows 10 and others and your app is just awesome!

My suggestion : Try to find a solution to "surpass" Cortana which is automatically integrated into Windows, so be able to use the "Windows + C" keyboard shortcut which is initially intended for Cortana. And a lot of other things...

Thanks !

Add Russian Language

Is your feature request related to a problem? Please describe.
Google Assistant officially supports Russian language, but your app isn't. Google Home device supports Russian language too, so it supposed to be inplemented in Google Assistant API.

TTS Bug?

Describe the bug
The Assistant randomly says "Sorry, there was a problem, please try again later."
Everything goes ok, it responds and a minute after it just says that for no reason.

To Reproduce
Steps to reproduce the behavior:
It happens time-to-time

Expected behavior
It shouldn't do anything because it successfully completed the task.

Screenshots
/

Desktop (please complete the following information):

  • OS: [Windows 8.1 Build 9600]
  • Version [1.0.0-rc.1]

Additional context
/

IGNORE ME: Automatic microphone trigger

Is your feature request related to a problem? Please describe.
I use Google Assistant primarily with voice. When I trigger the app with the hotkey, I then need to navigate my mouse in order to click the microphone.

Describe the solution you'd like
I would like the option to trigger the microphone automatically, allowing me to press a hotkey and begin speaking.

Describe alternatives you've considered
There is an option to toggle the microphone when hotkey is triggered - I am unsure what that feature does, and if it is the exact feature I am requesting, but it currently does not do that. The app's behavior does not change if that setting is on or off.

Additional context
This is how I use the product on my mobile devices and Chrome devices. The extra step makes it just as fast as using a Launcher and I'd like to avoid that.

[Feature Request] Multiple instances change

Hello,

I really love your app, I have been waiting for a long time to have Google Assistant on Windows 10 and others and your app is just awesome!

My suggestion : Instead of displaying an error message "Preventing launch: An instance of Google Assistant is already running. Openration Aborted" when trying to open the Google Assistant when it is already open, the shortcut should activate the microphone.
image

Thanks !

Addition of compiled executables for linux.

Hello Melvin,
I have compiled packages for linux systems and have uploded them to my fork. Unfortunately, I wasn't able to make a pull request for releases (I am new to contributing through GitHub). Please add them from their to your project so that others can simply download and run it.
PS:I have compiled them as appimages and snap package for x86 systems.
Here's the link: https://github.com/ayush06feb/Google-Assistant-Unofficial-Desktop-Client/releases/tag/v1.0.0-rc.1

Electron window is not launching

Describe the bug
On running npm start, the electron window is not launching. The following error is logged in the terminal,

(node:5462) Electron: Loading non-context-aware native module in renderer: '/home/v4d3r/Downloads/packages/Google-Assistant-Unofficial-Desktop-Client/node_modules/grpc/src/node/extension_binary/electron-v9.0-linux-x64-glibc/grpc_node.node'. This is deprecated, see electron/electron#18397.

To Reproduce
Steps to reproduce the behavior:

  1. Go to the project directory
  2. run npm install
  3. run npm start
  4. The task-bar tray icon is started, however the app does not launch.

Expected behavior
The landing window should pop up.

Screenshots

Tray Icon

image

Desktop (please complete the following information):

  • OS: GNU/Linux 5.8.13-arch1-1 with deepin20-wm
  • GAUDC Version 1.0.0-rc.1
  • Electron: v9.2.1

Additional context
The same behaviour is noticed after building and running g-assist

[Feature Request] Simpler login system

Hello,

I really love your app, I have been waiting for a long time to have Google Assistant on Windows 10 and others and your app is just awesome!

My suggestion : A simpler login system, I don't know if it's possible, but like other applications or website, use a simple form to log into your Google account, without having to create a project yourself, etc.

Thanks !

Not working on Linux Kde neon.

Screenshot_20201026_224305

after Setting the credential location I am getting this if I ignore this then paste my code then clicking submit does nothing.

Using Linux Kde neon based on ubuntu20.04 installed it via snap

[Feature Request / Issue] Microphone monopolization on Windows 10

Hello,

I really love your app, I have been waiting for a long time to have Google Assistant on Windows 10 and others and your app is just awesome!

My suggestion : Ultimately, when you have succeeded in activating your application automatically with the sentences "Hey Google" and "Ok Google", take care not to monopolize the microphone. What is a bit annoying is that Windows displays when the mic is in use by an application and in this case since your application is using it all the time I can't tell "easily" when another application is using my mic without my permission. So this Windows option unfortunately loses all meaning.
image

Thanks !

Disable text selection

Describe the feature you'd like
Often I use Electron apps and notice that I can select text. In some cases, this is useful. However, most of the time it just adds to the feeling that I'm using a website, not a native app. This app is similar. I believe that you should not be able to select text in this client to help create a more native feel.

Describe alternatives you've considered
This is, of course, a matter of opinion. Some may prefer the ability to select. Maybe this could even be added as a setting?

I'd be glad to work on this and submit a PR if that'd be helpful!

Unexpected Exception Occured

I get this when I start Google Assistant on windows
Unexpected Exception Occured
An unexpected error occurred.
Error: Tried calling start() before the ready event!

Auto Enable Microphone

Is your feature request related to a problem? Please describe.
I'm always annoyed how the microphone isn't on when I press the hotkeys (Command+Shift+A)
Describe the solution you'd like
When you press the hotkeys (Command+Shift+A), the microphone turns on automatically so you can speak at it.
Describe alternatives you've considered
Toggle to enable or disable microphone when pressed.

Content didn´t show

Hello!
If i wanna search or view my google photos, it shows nothing.
I tried the same commands on the phone and they worked fine.
Please fix it!
Thanks! :)

Add Option to Fully close on close button.

Not really sure if when I press the close button the application stops listening; Just want to clarify. I am pretty paranoid there is always someone listening. Just curious.

Not saving settings

Hi, sorry to bother you

My save settings wont work. I've put in the Key File Path and clicked save, it then autmatically puts the saved token path as the tokens.json but when I click the save button nothing happens. It wont work work, please please help as it was working on my other PC.

not working out of the box

Describe the bug
not working out of the box when i installed from snap

To Reproduce
Steps to reproduce the behavior:
1.just try to run it (no matter what permissions you give it)

Desktop (please complete the following information):

  • OS: Elementary OS Hera 5.1.7

[Issue] Startup launch issue on Windows 10

Hello,

I really love your app, I have been waiting for a long time to have Google Assistant on Windows 10 and others and your app is just awesome!

My issue : When I activate the option to launch the application at system startup on Windows 10, it does not appear in my system bar at the bottom left. On the other hand, when I add an application shortcut in the start-up folder of my "shell: startup" session, an error appears to show that another instance of Google Assistant has been launched.

So I disabled the option to start your app in its settings and left the shortcut in my start folder and it works just fine like that.

On Linux Mint 20 it works perfectly.

Thanks !

Linux executables fail to launch

Describe the bug
I tried installing the snap but I got a pop up error textview with boxes on it. When I tried to open the AppImage I got a similar-looking text view but with proper text. As seen here:
image
I'm using Arch Linux and I've tried the same on XFCE and GNOME environments.

To Reproduce
Steps to reproduce the behavior:

  1. Install Snap / AppImage
  2. Run them

Expected behavior
They should've ran.

Screenshots
Screenshot of App Image attached above, here is a screenshot of snap:
image

Deskto:

  • OS: Arch Linux [Manjaro] on Gnome/XFCE
  • Version: Kernel 5.9.11

Command to launch Assistant

Is your feature request related to a problem? Please describe.
Having a command to launch the assistant like the hotkey is supposed to would allow me to use system hotkeys to activate the assistant, solving #46

Describe the solution you'd like
A command to launch Google Assistant so that it opens the existing instance when ran. Current commands to run it require a new instance to be launched which takes a long time

Error by starting this app

Win 10

image

[Content]
Uncaught Exception:
TypeError: Error processing argument at index 0, conversion failure from 114.5
at App.app.on (C:\Users\Username\AppData\Local\Programs\Google Assistant\resources\app.asar\app.js:145:20)
at App.emit (events.js:187:15)

[OK]

[Feature Request] Option to change the shortcut icon

Hello,

I really love your app, I have been waiting for a long time to have Google Assistant on Windows 10 and others and your app is just awesome!

My suggestion : Change the application icon, it's a matter of taste, but personally I changed the icon of the shortcut on my task bar to the s-logo of the Google Assistant without a white background.
image

Is it possible to add an option in the settings to choose between more icons? See adding a box for a custom icon?

Thanks !

Shortcut/Hotkey does not work in Wayland sessions on Linux

Describe the bug
The super+shift+a hotkey does not work in Wayland sessions.

To Reproduce
Steps to reproduce the behavior:

  1. Start a DE in a Wayland session (note: Nvidia cards do not run Wayland)
  2. Verify it is Wayland with echo $XDG_SESSION_TYPE
  3. Attempt to launch the assistant with super+shift+a

Expected behavior
Assistant launches

Desktop (please complete the following information):

  • OS: Manjaro Linux (AMD graphics)
  • Version: N/A

Error: Getting metadata from plugin failed with error: invalid_grant


You are Offline!
Please check your Internet Connection...
Error: Getting metadata from plugin failed with error: invalid_grant

This is the error I get when I try to interact with it.


Here is the console output

[ozgur@ozgur ~]$ g-assist
Gtk-Message: 01:47:27.764: Failed to load module "colorreload-gtk-module"
WARNING: Kernel has no file descriptor comparison support: Operation not permitted
(node:2768) Electron: Loading non-context-aware native module in renderer: '/run/user/1000/snap.g-assist/.org.chromium.Chromium.p0zq7X'. This is deprecated, see https://github.com/electron/electron/issues/18397.
(node:2830) Electron: Loading non-context-aware native module in renderer: '/run/user/1000/snap.g-assist/.org.chromium.Chromium.S8rREt'. This is deprecated, see https://github.com/electron/electron/issues/18397.

Error on DevTools

common.js: line 62 ;
    Auth error:Error: invalid_grant
main.js: Line 492 ;
    Error: 14 UNAVAILABLE: Getting metadata from plugin failed with error: invalid_grant
    at Object.exports.createStatusError (/snap/g-assist/1/res…pc/src/common.js:91)
    at ClientDuplexStream._emitStatusIfDone (/snap/g-assist/1/res…c/src/client.js:233)
    at ClientDuplexStream._receiveStatus (/snap/g-assist/1/res…c/src/client.js:211)
    at Object.onReceiveStatus (/snap/g-assist/1/res…nterceptors.js:1311)
    at InterceptingListener._callNext (/snap/g-assist/1/res…interceptors.js:568)
    at InterceptingListener.onReceiveStatus (/snap/g-assist/1/res…interceptors.js:618)
    at /snap/g-assist/1/res…nterceptors.js:1127

Screenshots
Screenshot_20210104_015326
and
Screenshot_20210104_015503

Desktop

  • OS --> Host: ozgur Kernel: 5.8.11-1-MANJARO x86_64 bits: 64 Desktop: KDE Plasma 5.19.5 Distro: Manjaro Linux

Cant authorize

When i try to authorize the app for the token it says access denied

Authorization Error
Error 403: access_denied
The developer hasn’t given you access to this app. It’s currently being tested and it hasn’t been verified by Google. If you think you should have access, contact the developer ([email protected]).

Screenshots
Screenshot_3

App does not open through shortcut after long time kept idle

Describe the bug
applications cannot be launched if it has been kept unused for half an hour (more or less) and i need to instantly kill the process to restart it

To Reproduce
Steps to reproduce the behavior:

  1. keep it idle for half an hour

Expected behavior
after i press Super+ Shift + A it should show me the Google Assistant Interface

Desktop (please complete the following information):

  • OS: Elementary OS
  • Version: 5.1.7 Hera

[Feature Request](Design) Magnification of the microphone icon

Hello,

I really love your app, I have been waiting for a long time to have Google Assistant on Windows 10 and others and your app is just awesome!

My suggestion : Reduce the magnification of the microphone icon when you hover your mouse over it because it almost goes out of the field.
image

Thanks !

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.