Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't open in ChatGPT PWA. #13

Closed
GollyJer opened this issue Sep 8, 2024 · 13 comments
Closed

Doesn't open in ChatGPT PWA. #13

GollyJer opened this issue Sep 8, 2024 · 13 comments

Comments

@GollyJer
Copy link

GollyJer commented Sep 8, 2024

I hoped this would open in the Edge Browser chatGPT PWA, but sadly, it does not.

"New" chatgpt uses the url https://chatgpt.com but it does not accept query parameters.
The https://chat.openai.com url still takes query parameters and redirects to chatgpt.com.
That is really the trick of this plugin, which is cool.

PWAs can handle their own urls, but I can't find a way to add chat.openai.com as an additional handler. I don't think it's possible. ☹️

image

@martesi
Copy link
Contributor

martesi commented Sep 12, 2024

https://chatgpt.com/?q= seems to work. I'm using Microsoft Edge, installed ChatGPT manually as a PWA, and couldn't find link handling in App Settings.

martesi added a commit to martesi/ChatGPTPowerToys that referenced this issue Sep 12, 2024
@martesi
Copy link
Contributor

martesi commented Sep 12, 2024

Try this version and see if this works for you.

@GollyJer
Copy link
Author

GollyJer commented Sep 13, 2024

Good find martesi. I thought maybe it would work, but it doesn't. 😢

To enable link handling for pwa's in edge...
go to edge://flags/#edge-webapp-link-handling and enable it.

adsoifj

Then you'll be able to turn on/off link handling in the app settings.
edge://apps/

obdLuhEcvl

@ferraridavide
Copy link
Owner

Thanks guys, i merged @martesi's branch!

@GollyJer
Copy link
Author

@ferraridavide Does it work for you? Even though I have everything set up it still doesn't. I don't think it's on your end, it just seems that Edge isn't actually handling the url via the PWA.

@ferraridavide
Copy link
Owner

ferraridavide commented Sep 13, 2024

The new domain works, which is the only thing that changed, PWA link handling is dependent on the browser, so we might have to wait for browsers to support it or enable the experimental flag

@martesi
Copy link
Contributor

martesi commented Sep 14, 2024

Link Handling works on my end. Every query would open a new PWA window. I'm using 128.0.2739.79.

@endrefasong
Copy link

Just adding some general praise for an active and awesome project 🥳

@AJolly
Copy link

AJolly commented Oct 16, 2024

Whats the benefit of the PWA approach vs say chrome.com --app=https://chat.openai.com ?

@GollyJer
Copy link
Author

GollyJer commented Oct 17, 2024

@AJolly Hey! Crazy to see an old biohacker in a random place like this...

PWA isn't massively different than using a Chrome shortcut like that. The main reason I use a PWA is I want all calls to chatgpt to open in the same window. You can register a PWA to handle links and file types.

Basically, I like to have ChatGPT as a standalone app instead of in a browser tap. Once they release their app for Windows this will be a moot point I suppose.

@GollyJer
Copy link
Author

Ha. It literally just launched today.

https://apps.microsoft.com/detail/9nt1r1c2hh7j

@skydiverrg
Copy link

I've the PWA installed but power toys run still opens Edge for the request.

@AKshayyyy-ak
Copy link

its not working now ?

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

No branches or pull requests

7 participants