C-Nedelcu / talk-to-chatgpt

Talk to ChatGPT AI using your voice and listen to its answers through a voice
GNU Affero General Public License v3.0
1.97k stars 333 forks source link

Can make it support a custom website? #93

Open kotobuki09 opened 1 year ago

kotobuki09 commented 1 year ago

I mostly use custom chatGPT until now because of the geographic block problem. Can you make it support custom website similar to chatgpt such as: https://github.com/Chanzhaoyu/chatgpt-web

C-Nedelcu commented 1 year ago

hello, I recommend you try the following: 1- install the extension manually in developer mode 2- edit the extension manifest to enable it on all sites (not just chat.openai.com) 3- see if it works on whatever site you need.

I don't think it will work though because Talk-to-chatGPT is based on the OpenAI DOM, if anything on the page changes, it can break the extension. Of course they don't make it easy to exploit their DOM.

kotobuki09 commented 1 year ago

It didn't work in my case! Is there any other way I can try to make it work for a custom website instead of OpenAI?

C-Nedelcu commented 1 year ago

I think it would require to rewrite most code of the extension. Because the extension currently is written specifically for chat.openai.com.

If you want to propose changes to adapt to other sites, feel free, but I don't think I will be able to do that myself.