woheller69 / gptAssist

gptAssist is a simple WebView wrapper for ChatGPT
GNU General Public License v3.0
265 stars 6 forks source link

Does chatgpt 4 with plugins work #6

Closed gun4qmm7h closed 1 year ago

gun4qmm7h commented 1 year ago

I wanted to buy chatgtp 4 to use the plugins but I'm not sure if it would work on this app

woheller69 commented 1 year ago

I don't know. Maybe someone else tried it...

woheller69 commented 1 year ago

If someone has an account for ChatGPT 4 please check e.g. with Firefox and NoScript which URLs are essential for plugins. I might then allow them - maybe as an option.

kamenxrider commented 1 year ago

The plugins work just fine except for the icons, they do not load because the URL's are blocked. I think you'd need to create a function that let's them through based on class, attribute.

Here's an example of one of them.

<div class="relative" style="width: 24px; height: 24px;"><img src="https://plugin-3c56b9d4c8a6465998395f28b6a445b2-jexkai4vea-uc.a.run.app/logo.png" alt="Ai PDF logo" class="h-full w-full bg-white rounded-sm"><div class="absolute inset-0 ring-1 ring-inset ring-black/10 rounded-sm"></div></div>

woheller69 commented 1 year ago

are they all named like https://plugin-....logo.png ?

Then I might allow such urls

kamenxrider commented 1 year ago

Unfortunately not, they're hosted by the developers and there's no logic in the naming convention. And some use png while others use svg.

<div class="relative" style="width: 100%; height: 100%;"><img src="https://app.kesem.ai/images/logo.svg" alt="Charts by Kesem AI logo" class="h-full w-full bg-white rounded-sm"><div class="absolute inset-0 ring-1 ring-inset ring-black/10 rounded-sm"></div></div>

Great wrapper nonetheless, thanks a lot!