fedebotu/youchat-google-extension
A browser extension to display YouChat response alongside search engine results: like ChatGPT, but with knowledge of recent events and source citations!
YouChat for Google
A browser extension to display YouChat response - like ChatGPT, but with knowledge of recent events and source citation - alongside Google and other search engines results, supports Chrome/Edge/Firefox
Supported Search Engines
Google, Baidu, Bing, DuckDuckGo, Brave, Yahoo, Naver, Yandex, Kagi, Searx
Screenshot
Why YouChat?
YouChat has some advantages over ChatGPT:
- Does not need login
- Knows about recent events
- Cites sources
- Faster response time
However, YouChat does not provide answers as elaborate as ChatGPT. The best way may be to run it alongside the ChatGPT extension on which this project based, as shown above!
Note this is an unofficial implementation and YouChat is not affiliated with this project.
Installation
Install to Chrome/Edge/Brave/Opera
Notice: Brave/Opera users please follow Troubleshooting section after install
Install from Chrome Web Store (Preferred)
Local Install
- Download
chromium.zipfrom Releases. - Unzip the file.
- In Chrome/Edge go to the extensions page (
chrome://extensionsoredge://extensions). - Enable Developer Mode.
- Drag the unzipped folder anywhere on the page to import it (do not delete the folder afterwards).
Install to Firefox
Install from Mozilla Add-on Store (Preferred)
Local Install
- Download
firefox.zipfrom Releases. - Unzip the file.
- Go to
about:debugging, click "This Firefox" on the sidebar. - Click "Load Temporary Add-on" button, then select any file in the unzipped folder.
Build from source
- Clone the repo
- Install dependencies with
npm npm run build- Load
build/chromium/orbuild/firefox/directory to your browser
Troubleshooting
Answer errors
You may try a few steps to fix the errors:
- Make sure to pass the Cloudflare challenge here.
- When passing the challenge, remember to reload the page.
- you.com may have implemented a login system; if this is the case you may login here.
- If nothing works: you.com sometimes changes their API, in this case you may try to fix the extension yourself (see below) or wait for an update (please report the issue here).
API changes
An API change happens when the request URL or the response format changes. For instance, as of February 2023, an example request is as follows: https://you.com/api/streamingSearch?q=hi&domain=youchat .
If you.com changes their API, you may try to fix the extension yourself by following these steps:
- Open you.com and go into the chat. You will need to login first.
- Open the developer tools (F12) and go to the Network tab.
- Submit your query and look for a request to the API.
- Modify it and strip it down to the bare minimum until it works. At this point, you can modify this line to point to your modified request.
How to make it work in Brave
Disable "Prevent sites from fingerprinting me based on my language preferences" in brave://settings/shields
How to make it work in Opera
Enable "Allow access to search page results" in the extension management page
Credit
This project is heavily based on wong2/chat-gpt-google-extension, give it a try - you can even use both YouChat and ChatGPT at the same time!
Also: ZohaibAhmed/ChatGPT-Google
Contributing
Feel free to open an issue or pull request if you have any questions or suggestions!



