• Stars
    star
    632
  • Rank 71,124 (Top 2 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created almost 2 years ago
  • Updated about 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A browser extension to display ChatGPT response alongside Search Engine results

This repo has moved to ChatGPTBox. Due to the upstream repo being acquired and closed source, and there has been a period of time where issues and PRs in the upstream have gone unhandled. I decided to publish this extension to the store and keep open-source

Verify search engine configs GitHub release

Installation

A browser extension to display ChatGPT response alongside Search Engine results, supports Chrome/Edge/Firefox/Safari(macOS) and Android.

Support most search engines, including Google, Bing, Yahoo, DuckDuckGo, StartPage, Baidu, Kagi, Yandex, Naver, Brave, Searx, Ecosia, Neeva in total.

Request more search engine support in #6

See more in Releases and Pre-release build

Notice

This repository exists only to support some features that are not supported or denied in upstream, and for ethical reasons, I have not uploaded it to any app store. It isn't related to any extensions of the same name that may exist in some app store

Diff with upstream

Details:
  • Support StartPage, Ecosia, Neeva, Searx(searx.tiekoetter.com, searx.fmac.xyz, searx.be and more)
  • Android support
  • Safari(macOS) support
  • Custom mount point (e.g. for some unsupported engines)
  • Preview your setting (e.g. theme, mount point) in realtime
  • Katex: upstream#75
  • Linkify in ReactMarkdown
  • Interactive mode: upstream#103, now support generating separate sessions for each page
  • Fix answer being overwritten due to "network error" or other errors
  • Theme switcher: #9
  • Collapse answers
  • Popup Setting Window (Upstream has switched to a standalone options page)
  • Allow Insert chatGPT at the top of search results in Setting Window
  • Switch to webpack
  • Javascript
  • See more in Releases

Upstream supports, but not here

Details:

(I don't think these contents are very valuable, but I could be wrong, so if you think of some suitable application scenario or related need, please create an issue)

  1. Upstream supports setting the desired language, and will force the relevant words to be inserted at the end after you enter the question

    • but I think, users always expect to get the language corresponding to their question, when you want to get a different language, you should take the initiative to specify when searching, which is also consistent with the habits of using search engines, and this fork supports interactive mode, you can also continue to tell chatGPT what you want. Once you set up forced insertion, it will change the actual content of the user's question, for example, when you configure French and search in English, chatGPT will always reply to you in French, when you expect a reply in English, you will have to open the settings page, make changes, then refresh and ask the question again, which I think is a very bad process
  2. The upstream extension popup window has an embedded chatGPT page (iframe)

    • but you have to open the chatGPT website and log in to use it, so I think, in that case, why not use it directly on the official website? In addition, interactive mode is already supported here, and each page can be used as a separate session, so this feature is less necessary

Preview

  • SearchEngines

  • Code highlight, interactive mode, dark mode, copy/collapse answers, theme switcher and more

    (Click on the extension icon to open the setting window) code-highlight

  • LaTeX latex

  • Android android

Installation

Install to Chrome/Edge

  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

  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.

Install to Android

  1. Install Kiwi Browser or other mobile browsers that support installing extensions from local files.
  2. Download chromium.zip from Releases on your phone.
  3. Go to Extensions and enable developer mode.
  4. Click + (from .zip/.crx/.user.js) button and load the downloaded zip file.
  5. Click the browser option button, scroll down and click on the extension icon to open the setting window.
  6. Enable Insert chatGPT at the top of search results.

Install to Safari(macOS)

  1. Download safari.dmg from Releases.
  2. Double-click safari.dmg to open it and drag the extension’s icon to your Applications folder
  3. Run this extension in your Applications folder
  4. Click Quit and Open Safari Settings...
  5. Click Advanced in Safari Settings and then turn on Show Develop menu in menu bar
  6. Click Develop in Safari menu bar and then turn on Allow Unsigned Extensions
  7. You will see this extension in Extensions of Safari Settings, turn on it
  8. Click Always Allow on Every Website

Enable for single website

  1. Click on the extension icon to open the popup setting window.
  2. Click Advanced.
  3. Input the website name (of the hostname) in Custom Site Regex, e.g. google
  4. Enable Only use Custom Site Regex...

Build from source

  1. Clone the repo
  2. Install dependencies with npm install
  3. npm run build
  4. Load build/chromium/ or build/firefox/ directory to your browser

My contributions

  • Pull Requests
  • Other

    • Merge and improve some PRs
    • Support for most search engines
    • Android support
    • Safari(macOS) support
    • Custom mount point
    • Preview your setting in realtime
    • Fix answer being overwritten due to "network error" or other errors
    • Linkify in ReactMarkdown
    • Generate separate sessions for each page
    • Code highlight
    • Collapse answers
    • Copy answers
    • Allow insert chatGPT at the top of search results
    • Automated build workflow (with esbuild/webpack)
    • Verify search engine configs automatically
    • See more in Releases

Credit

This project is forked from wong2/chat-gpt-google-extension and detached since 14 December of 2022

The original repository is inspired by ZohaibAhmed/ChatGPT-Google (upstream-c54528b)

More Repositories

1

chatGPTBox

Integrating ChatGPT into your browser deeply, everything you need is here
JavaScript
9,765
star
2

RWKV-Runner

A RWKV management and startup tool, full automation, only 8MB. And provides an interface compatible with the OpenAI API. RWKV is a large language model that is fully open source and available for commercial use.
TypeScript
4,856
star
3

selfhostedAI

A collection of one-click self-hosted AI
Python
366
star
4

mix-chatgpt-and-ai-painting

a bot application running on Tencent QQ that integrates GPT chatbot capabilities with AI painting. 一个运行于腾讯qq上的, 将gpt聊天能力与ai绘画集成的机器人应用.
Python
158
star
5

llama.cpp-unicode-windows

llama.cpp with unicode (windows) support
C
52
star
6

get-current-time

This action sets the current ISO8601 time to the time output and also provides readableTime, formattedTime, and many more digital outputs like year, day, second, etc. Useful for setting build times in subsequent steps, renaming your artifact, or keeping the same recorded time for the entire workflow.
JavaScript
37
star
7

UMGExporter

This is an Unreal Engine plugin that automatically generates C++ code bindings for UMG blueprint widgets and animations. 这是一个虚幻引擎插件, 用于为UMG蓝图的控件和动画自动生成c++代码绑定.
C++
21
star
8

nn_example

This repository is related to a video about principles of neural networks, which demonstrates how to write a simple neural network in 100 lines of code and implement handwritten digit recognition without using a framework. 这是一个与神经网络原理讲解视频, 相配套的项目, 演示在不使用框架的情况下, 用约100行代码编写简易的神经网络, 并借此实现手写数字识别.
Python
12
star
9

sgm_plus

7
star
10

after-effects-track-motion-script-for-labelImg

This script uses track motion of After Effects to create XML files quickly for labelImg
JavaScript
2
star
11

web-rwkv-converter

a fork of https://github.com/cryscan/web-rwkv/tree/main/crates/web-rwkv-converter
Rust
1
star
12

LibreHardwareMonitor.Console

C#
1
star