Skip to content

fedebotu/youchat-google-extension

Repository files navigation

YouChat for Google

Chrome Web Store Add-on Firefox Add-on

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

Screenshot

Why YouChat?

YouChat has some advantages over ChatGPT:

  • Does not need login
  • Knows about recent events
  • Cites sources
  • Faster response time

Screenshot

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)

Chrome Web Store Link

Local Install

  1. Download chromium.zip from Releases.
  2. Unzip the file.
  3. In Chrome/Edge go to the extensions page (chrome://extensions or edge://extensions).
  4. Enable Developer Mode.
  5. 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)

Mozilla Add-ons Store Link

Local Install

  1. Download firefox.zip from Releases.
  2. Unzip the file.
  3. Go to about:debugging, click "This Firefox" on the sidebar.
  4. Click "Load Temporary Add-on" button, then select any file in the unzipped folder.

Build from source

  1. Clone the repo
  2. Install dependencies with npm
  3. npm run build
  4. Load build/chromium/ or build/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

Screenshot

Disable "Prevent sites from fingerprinting me based on my language preferences" in brave://settings/shields

How to make it work in Opera

Screenshot

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!