jerrod-lankford / google-voice-desktop-app

An electron shell wrapper around the google voice website
243 stars 34 forks source link

pasting images... great app...a few thoughts for refugees from hangouts like me #28

Open dave15559546 opened 3 years ago

dave15559546 commented 3 years ago

I'm pretty unfamiliar with web (and especially electron) dev so I suspect the below additions may be totally not worth the effort subject to your discretion and time

(1) performance is the same as the actual website (which is pretty sluggish on a modern computer with tons of ram/cpu/etc.) --> perhaps via something along the lines of a java userscript (e.g., like how I use tampermonkey to make certain websites function the way I like) it could be sped up (I'd do this myself on the pure web version with tampermonkey but it hasn't bothered me enough to dissect the javascript just yet as I suspect/hope google will just fix it themselves in the coming weeks)

(2) instead of the system tray icon having a red circle on it, perhaps there could be some more customizable notification (e.g., ideally a popup - perhaps a sound?)

(3) add some ability to paste images into conversations like hangouts used to have - I suspect this may be extremely difficult via electron (or just impossible really) as I suspect it's very sandboxed (i.e., you'd need to access the clipboard to generate an image which would then be autoselected via the electron/web interface...)

alternatively, perhaps the paste image feature may be achievable through a java userscript as well via, essentially, carving out the bad bit in google voice and inserting the still available good bit in hangouts though that's still probably difficult to impossible to achieve in electron :(

(4) remove the sidebar element when looking at texts (or just entirely) - I did this on the webgui just using ublock element picker

thanks again - definitely an improvement especially with the pretty dracula theme :)

dave15559546 commented 3 years ago

re: pasting images, I made a little simple script that makes it a bit easier if anyone is interested... (1) install greenshot (2) install irfvanview (3) install autohotkey (I was already using these applications)

(1) take screenshot with greenshot to clipboard (2) run the below ahk script which uses irfanview to convert the clipboard to a png and then store that path in your clipboard (3) just paste the link into the dialog of google voice --> certainly not as easy as before, but not as painful as the more manual alternative...

^+i:: ;this to make pasting an image into google voice less annoying... ;takes whatever I took using greenshot to the file below RunWait, i_view32.exe /clippaste /convert="C:\Data\clipboard\clipboardImage.png" /killmesoftly /cmdexit ;assigns that path above to the clipboard clipboard = C:\Data\clipboard\clipboardImage.png return

hiroo916 commented 3 years ago

I would also love to have the ability to conveniently paste images. I'm on Mac so can't use the workaround posted above.

dave15559546 commented 3 years ago

i'd imagine there's at least a somewhat equivalent method for mac though I'm unfamiliar with mac/OS

also, ironically, now the iOS app is so terrible/slow/unreliable i'm considering just finding some other product all together...

Techwizz-somboo commented 2 years ago

Discord uses Electron and you can paste images from the clipboard so I'd have to imagine it'd be possible for Electron to do it for this app as well but might be hard to get working.

dave15559546 commented 2 years ago

Discord uses Electron and you can paste images from the clipboard so I'd have to imagine it'd be possible for Electron to do it for this app as well but might be hard to get working.

I have virtually zero web dev experience though I'd guess one could peek at the code inside of existing gmail apps to get a sense as to how to do it?

my wishlist for this desktop app would be making it more responsive as it's oddly slow (not a cpu/memory bottleneck) by removing some of the javascript cruft (I'd imagine I could this with my teensy bit of experience in tampermonkey but not likely worth the effort tinkering) and making it easier to paste images...

stevario commented 2 years ago

Looks like this thread has not been visited in a while. My wishlist would be for this app to make the pasting of images from the clipboard a reality. I love and use this app every day. It would be even better if I could just paste images right into the text field.

Thanks!

dave15559546 commented 2 years ago

Looks like this thread has not been visited in a while. My wishlist would be for this app to make the pasting of images from the clipboard a reality. I love and use this app every day. It would be even better if I could just paste images right into the text field.

Thanks!

I've found a better way since - use sharex and have the image uploaded from clipboard to google images/photos so it's nearly immediately accessible from the selection menu of the desktop app - no autohotkey scripting necessary

Jerrod likely isn't interested enough to implement (if even possible without lots of effort) this feature and I don't blame him as we're lucky he did anything...

stevario commented 2 years ago

Looks like this thread has not been visited in a while. My wishlist would be for this app to make the pasting of images from the clipboard a reality. I love and use this app every day. It would be even better if I could just paste images right into the text field. Thanks!

I've found a better way since - use sharex and have the image uploaded from clipboard to google images/photos so it's nearly immediately accessible from the selection menu of the desktop app - no autohotkey scripting necessary

Jerrod likely isn't interested enough to implement (if even possible without lots of effort) this feature and I don't blame him as we're lucky he did anything...

Totally fair. In case I came off as needy rather than appreciative... I am super appreciative that Jerrod put this application together and maintains/updates it. And appreciative of the entire community that helps. This is a solid app that just works. I use it daily. Thanks for all the effort!

dave15559546 commented 2 years ago

Nah - you didn't come off as needy, at least not to me

I also have a little script which kills and restarts the app since it hangs like once a day for me if you're interested

As for the app, it works well enough for Jerrod :)

What little code I give others I don't typically update for them unless it's a really simple adjustment because I simply don't have the time as I wrote the code I have for my specific purposes to save me time as opposed to others...