Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into custom
Browse files Browse the repository at this point in the history
* origin/master:
  Update OpenAI ChatGPT Turbo models (API) (josStorer#620)
  release v2.4.9
  when opening IndependentPanel, if the latest session has been used, automatically create a new session (josStorer#601)
  presearch support (josStorer#592)
  formattedError (josStorer#572)
  safe markdown renderer (josStorer#609, josStorer#403)
  improve the stability of response language (josStorer#611)
  improve bilibili summary
  fix mounting failure caused by DuckDuckGo's initial rendering delay. josStorer#610
  gpt-4 web DALL·E support
  chore
  improve josStorer#603
  improve markdown styles (josStorer#585)
  fix gpt-4 web unusual activity (josStorer#615)
  fix: bilibili reload (josStorer#603)
  refactor(selection-tools): remove redundant `getPreferredLanguage` calls (josStorer#593)
  Fix GPT-4 model name and confusion in names (josStorer#584)
  chore(deps): bump actions/upload-artifact from 3 to 4 (josStorer#594)
  chore(deps): bump actions/setup-python from 4 to 5 (josStorer#586)
  update readme news
  release v2.4.8
  update core content adapters
  fix eventsource meta (josStorer#579, josStorer#567)
  josStorer#573's patch
  release v2.4.7
  fix josStorer#569 and reduce menu items
  add gpt-3.5-turbo-instruct
  fix global side_panel
  patch to josStorer#564
  Update Claude.ai web to Claude v2.1, fix josStorer#570 (josStorer#573)
  Add ChatGLM API (josStorer#567)
  Optimize Logic in `selection-tools` Module (josStorer#564)
  release v2.4.6
  support for chromium side panel (josStorer#111)
  allow filling in the API Key of CustomModel mode (josStorer#561, previously designed for local offline model or custom server, now you can also use it for regular openai API calls and freely fill in the model name(josStorer#563))
  update for chatgpt3.5 web (josStorer#562, josStorer#551#issuecomment-1803668105, josStorer#543#issuecomment-1803666487)
  Added box for gh pr's and issues (josStorer#558)
  Replace legacy gpt-3.5-turbo-0613 with the latest gpt-3.5-turbo-1106
  Add OpenAI API GPT-4 Turbo Preview
  Turkish readme Translation (josStorer#553)
  chore
  firefox patch
  release v2.4.5
  update build scripts
  force scroll to bottom after submission
  docs: phrase translation according language README_IN
  improve render performance (josStorer#265)
  docs: add Japanese README
  Create .gitattributes
  improve chatgpt web user guide
  release v2.4.4
  improve chatgpt web mode compatibility
  improve chatgpt web user guide
  Add site adapters for Golem, EETimes
  release v2.4.3
  fix safari background (josStorer#512 (comment))
  improve fetchSSE (josStorer#532)
  re-order parse process
  fix: parse sse
  Make summarization work for text/plain content
  chore(deps-dev): bump @babel/traverse from 7.21.4 to 7.23.2
  fix josStorer#539 bing web
  blob file read for gitlab (josStorer#544)
  fix chatgpt web mode arkose_token (josStorer#469, josStorer#543, josStorer#545)
  remove BingImageCreator
  disable poe temporarily
  upgrade caniuse-lite
  remove commands permission
  • Loading branch information
mrichtarsky committed Feb 13, 2024
2 parents 5e8fd45 + ed09cb7 commit a436eb9
Show file tree
Hide file tree
Showing 71 changed files with 7,252 additions and 2,877 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
src/services/clients/** linguist-vendored
4 changes: 2 additions & 2 deletions .github/workflows/pr-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ jobs:

steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20
- run: npm ci
- run: npm run lint
- run: npm run build
12 changes: 6 additions & 6 deletions .github/workflows/pre-release-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ jobs:

steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20
- run: npm ci
- run: npm run build

Expand All @@ -32,22 +32,22 @@ jobs:
with:
format: YYYY_MMDD_HHmm

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: Chromium_Build_${{ steps.current-time.outputs.formattedTime }}
path: build/chromium/*

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: Firefox_Build_${{ steps.current-time.outputs.formattedTime }}
path: build/firefox/*

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: Chromium_Build_WithoutKatex_${{ steps.current-time.outputs.formattedTime }}
path: build/chromium-without-katex-and-tiktoken/*

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: Firefox_Build_WithoutKatex_${{ steps.current-time.outputs.formattedTime }}
path: build/firefox-without-katex-and-tiktoken/*
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/scripts/verify-search-engine-configs.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ const urls = {
searx: ['https://searx.tiekoetter.com/search?q=hello'],
ecosia: [], // unknown verify method https://www.ecosia.org/search?q=hello
neeva: [], // unknown verify method(FetchError: maximum redirect reached) https://neeva.com/search?q=hello
presearch: [],
}

const commonHeaders = {
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/tagged-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,14 @@ jobs:
git commit -am "release v${{ env.VERSION }}"
git push
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20
- run: npm ci

- uses: actions/setup-python@v5
with:
python-version: '3.10' # for appdmg
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: 14.2
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/verify-configs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ jobs:

steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 16
node-version: 20
- run: npm ci
- run: npm run verify
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Deep ChatGPT integrations in your browser, completely for free.
[![size](https://img.shields.io/badge/minified%20size-390%20kB-blue)][release-url]
[![verfiy][verify-image]][verify-url]

English   |   [Indonesia](README_IN.md)   |   [简体中文](README_ZH.md)
English   |   [Indonesia](README_IN.md)   |   [简体中文](README_ZH.md)   |   [日本語](README_JA.md)   |   [Türkçe](README_TR.md)

### Install

Expand Down Expand Up @@ -74,6 +74,10 @@ English   |   [Indonesia](README_IN.md)   | &

- This tool will not transmit any data to ChatGPT unless you explicitly ask it to. By default, the extension must be activated manually. It will only send a request to ChatGPT if you specifically click "Ask ChatGPT" or trigger the selection floating tools — and this is applicable only when you're using GPT API modes. (issue #407)

- You can use projects like https://github.com/BerriAI/litellm to convert LLM APIs into OpenAI format and use them in conjunction with ChatGPTBox's `Custom Model` mode

- You can also use https://openrouter.ai/docs#api-keys with ChatGPTBox's `Custom Model` mode

- You can set a free reverse proxy in the Advanced setting to bypass cloudflare: https://github.com/transitive-bullshit/chatgpt-api#reverse-proxy

- Offline/Self-hosted model (RWKV, llama.cpp, ChatGLM) is now supported, See https://github.com/josStorer/selfhostedAI
Expand Down
10 changes: 7 additions & 3 deletions README_IN.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Integrasi Deep ChatGPT di browser Anda, sepenuhnya gratis.
[![size](https://img.shields.io/badge/minified%20size-390%20kB-blue)][release-url]
[![verfiy][verify-image]][verify-url]

[Inggris](README.md)   |   Indonesia   |   [简体中文](README_ZH.md)
[Inggris](README.md)   |   Indonesia   |   [简体中文](README_ZH.md)   |   [日本語](README_JA.md)   |   [Türkçe](README_TR.md)

### Install

Expand Down Expand Up @@ -72,14 +72,18 @@ Integrasi Deep ChatGPT di browser Anda, sepenuhnya gratis.

- Ekstensi ini **tidak** mengumpulkan data Anda. Anda dapat memverifikasinya dengan melakukan pencarian global untuk `fetch(` dan `XMLHttpRequest(` dalam kode untuk menemukan semua panggilan permintaan jaringan. Jumlah kode tidak banyak, jadi mudah untuk melakukannya.

- Anda dapat menggunakan proyek seperti https://github.com/BerriAI/litellm untuk mengkonversi API LLM ke dalam format OpenAI dan menggunakannya bersama dengan mode `Custom Model` dari ChatGPTBox

- Anda juga dapat menggunakan https://openrouter.ai/docs#api-keys dengan mode `Custom Model` dari ChatGPTBox

- Anda dapat mengatur proxy balik gratis di Pengaturan Lanjutan untuk menghindari cloudflare: https://github.com/transitive-bullshit/chatgpt-api#reverse-proxy

- Model Offline/Self-hosted (RWKV, llama.cpp, ChatGLM) sekarang didukung, Lihat https://github.com/josStorer/selfhostedAI

## ✨ Fitur

- 🌈 Panggil kotak dialog percakapan di halaman apa pun kapan saja. (<kbd>Ctrl</kbd>+<kbd>B</kbd>)
- 📱 Dukungan untuk perangkat mobile.
- 📱 Dukungan untuk perangkat seluler.
- 📓 Ringkaskan halaman apa pun dengan menu klik kanan. (<kbd>Alt</kbd>+<kbd>B</kbd>)
- 📖 Halaman percakapan independen. (<kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>H</kbd>)
- 🔗 Dukungan untuk beberapa API (Web API untuk pengguna Gratis dan Plus, GPT-3.5, GPT-4, New Bing, Self-Hosted, Azure, Poe, dll.).
Expand Down Expand Up @@ -120,7 +124,7 @@ Integrasi Deep ChatGPT di browser Anda, sepenuhnya gratis.

![preview_youtube](screenshots/preview_youtube.jpg)

**Dukungan Perangkat Mobile**
**Dukungan Perangkat Seluler**

![image](https://user-images.githubusercontent.com/13366013/225529110-9221c8ce-ad41-423e-b6ec-097981e74b66.png)

Expand Down
144 changes: 144 additions & 0 deletions README_JA.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,144 @@
<p align="center">
<img src="./src/logo.png">
</p>

<h1 align="center">ChatGPT Box</h1>

<div align="center">

深い ChatGPT 統合をブラウザに、完全無料で。

[![license][license-image]][license-url]
[![release][release-image]][release-url]
[![size](https://img.shields.io/badge/minified%20size-390%20kB-blue)][release-url]
[![verfiy][verify-image]][verify-url]

[English](README.md) &nbsp;&nbsp;|&nbsp;&nbsp; [Indonesia](README_IN.md) &nbsp;&nbsp;|&nbsp;&nbsp; [简体中文](README_ZH.md) &nbsp;&nbsp;|&nbsp;&nbsp; 日本語 &nbsp;&nbsp;|&nbsp;&nbsp; [Türkçe](README_TR.md)

### インストール

[![Chrome][Chrome-image]][Chrome-url]
[![Edge][Edge-image]][Edge-url]
[![Firefox][Firefox-image]][Firefox-url]
[![Safari][Safari-image]][Safari-url]
[![Android][Android-image]][Android-url]
[![Github][Github-image]][Github-url]

[ガイド](https://github.com/josStorer/chatGPTBox/wiki/Guide) &nbsp;&nbsp;|&nbsp;&nbsp; [プレビュー](#プレビュー) &nbsp;&nbsp;|&nbsp;&nbsp; [開発 & コントリビュート][dev-url] &nbsp;&nbsp;|&nbsp;&nbsp; [ビデオデモ](https://www.youtube.com/watch?v=E1smDxJvTRs) &nbsp;&nbsp;|&nbsp;&nbsp; [クレジット](#クレジット)

[dev-url]: https://github.com/josStorer/chatGPTBox/wiki/Development&Contributing

[license-image]: http://img.shields.io/badge/license-MIT-blue.svg

[license-url]: https://github.com/josStorer/chatGPTBox/blob/master/LICENSE

[release-image]: https://img.shields.io/github/release/josStorer/chatGPTBox.svg

[release-url]: https://github.com/josStorer/chatGPTBox/releases/latest

[verify-image]: https://github.com/josStorer/chatGPTBox/workflows/verify-configs/badge.svg

[verify-url]: https://github.com/josStorer/chatGPTBox/actions/workflows/verify-configs.yml

[Chrome-image]: https://img.shields.io/badge/-Chrome-brightgreen?logo=google-chrome&logoColor=white

[Chrome-url]: https://chrome.google.com/webstore/detail/chatgptbox/eobbhoofkanlmddnplfhnmkfbnlhpbbo

[Edge-image]: https://img.shields.io/badge/-Edge-blue?logo=microsoft-edge&logoColor=white

[Edge-url]: https://microsoftedge.microsoft.com/addons/detail/fission-chatbox-best/enjmfilpkbbabhgeoadmdpjjpnahkogf

[Firefox-image]: https://img.shields.io/badge/-Firefox-orange?logo=firefox-browser&logoColor=white

[Firefox-url]: https://addons.mozilla.org/firefox/addon/chatgptbox/

[Safari-image]: https://img.shields.io/badge/-Safari-blue?logo=safari&logoColor=white

[Safari-url]: https://apps.apple.com/app/fission-chatbox/id6446611121

[Android-image]: https://img.shields.io/badge/-Android-brightgreen?logo=android&logoColor=white

[Android-url]: https://github.com/josStorer/chatGPTBox/wiki/Install#install-to-android

[Github-image]: https://img.shields.io/badge/-Github-black?logo=github&logoColor=white

[Github-url]: https://github.com/josStorer/chatGPTBox/wiki/Install

#### 私の新しいプロジェクト [RWKV-Runner](https://github.com/josStorer/RWKV-Runner) がリリースされました。これは、ChatGPTBox と組み合わせて使うことのできるワンクリックでデプロイ可能なオープンソースの商用利用可能な大規模言語モデルツールです。

</div>

## ニュース

- この拡張機能はあなたのデータを収集しません。コード内の `fetch(``XMLHttpRequest(` をグローバル検索して、すべてのネットワークリクエストの呼び出しを見つけることで確認できます。コードの量はそれほど多くないので、簡単にできます。

- このツールは、あなたが明示的に要求しない限り、ChatGPT にデータを送信しません。デフォルトでは、拡張機能は手動で有効にする必要があります ChatGPT へのリクエストは、"Ask ChatGPT" をクリックするか、選択フローティングツールをトリガーした場合にのみ送信されます。(issue #407)

- https://github.com/BerriAI/litellm のようなプロジェクトを使用して、LLM APIをOpenAI形式に変換し、それらをChatGPTBoxの `カスタムモデル` モードと組み合わせて使用することができます

- もちろんです。ChatGPTBoxの `カスタムモデル` モードを使用する際には、https://openrouter.ai/docs#api-keys もご利用いただけます

- 詳細設定で無料のリバースプロキシに設定し、cloudflare をバイパスすることができます: https://github.com/transitive-bullshit/chatgpt-api#reverse-proxy

- オフライン/セルフホストモデル (RWKV, llama.cpp, ChatGLM) がサポートされました。https://github.com/josStorer/selfhostedAI をご覧ください

## ✨ 機能

- 🌈 いつでもどのページでもチャットダイアログボックスを呼び出すことができます。 (<kbd>Ctrl</kbd>+<kbd>B</kbd>)
- 📱 モバイル機器のサポート。
- 📓 右クリックメニューで任意のページを要約。 (<kbd>Alt</kbd>+<kbd>B</kbd>)
- 📖 独立した会話ページ。 (<kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>H</kbd>)
- 🔗 複数の API をサポート(無料および Plus ユーザー向け Web API、GPT-3.5、GPT-4、New Bing、セルフホスト、Azure、Poe など)。
- 📦 よく使われる様々なウェブサイト(Reddit、Quora、YouTube、GitHub、GitLab、StackOverflow、Zhihu、Bilibili)の統合。 ([wimdenherder](https://github.com/wimdenherder) にインスパイアされました)
- 🔍 すべての主要検索エンジンと統合し、追加のサイトをサポートするためのカスタムクエリ。
- 🧰 選択ツールと右クリックメニューで、翻訳、要約、推敲、感情分析、段落分割、コード説明、クエリーなど、さまざまなタスクを実行できます。
- 🗂️ 静的なカードは、複数の支店での会話のためのフローティングチャットボックスをサポートしています。
- 🖨️ チャット記録を完全に保存することも、部分的にコピーすることも簡単です。
- 🎨 コードのハイライトや複雑な数式など、強力なレンダリングをサポート。
- 🌍 言語設定のサポート。
- 📝 カスタム API アドレスのサポート
- ⚙️ すべてのサイト適応と選択ツール(バブル)は、自由にオンまたはオフに切り替えることができ、不要なモジュールを無効にすることができます。
- 💡 セレクションツールやサイトへの適応は簡単に開発・拡張できます。[開発 & コントリビュート][dev-url]のセクションを参照。
- 😉 チャットして回答の質を高められます。

## プレビュー

<div align="center">

**検索エンジンの統合、フローティングウィンドウ、会話ブランチ**

![preview_google_floatingwindow_conversationbranch](screenshots/preview_google_floatingwindow_conversationbranch.jpg)

**よく使われるウェブサイトや選択ツールとの統合**

![preview_reddit_selectiontools](screenshots/preview_reddit_selectiontools.jpg)

**独立会話ページ**

![preview_independentpanel](screenshots/preview_independentpanel.jpg)

**Git 分析、右クリックメニュー**

![preview_github_rightclickmenu](screenshots/preview_github_rightclickmenu.jpg)

**ビデオ要約**

![preview_youtube](screenshots/preview_youtube.jpg)

**モバイルサポート**

![image](https://user-images.githubusercontent.com/13366013/225529110-9221c8ce-ad41-423e-b6ec-097981e74b66.png)

**設定**

![preview_settings](screenshots/preview_settings.jpg)

</div>

## クレジット

このプロジェクトは、私の他のリポジトリ [josStorer/chatGPT-search-engine-extension](https://github.com/josStorer/chatGPT-search-engine-extension) に基づいています

[josStorer/chatGPT-search-engine-extension](https://github.com/josStorer/chatGPT-search-engine-extension)[wong2/chat-gpt-google-extension](https://github.com/wong2/chat-gpt-google-extension) (参考にしました)からフォークされ、2022年12月14日から切り離されています

[wong2/chat-gpt-google-extension](https://github.com/wong2/chat-gpt-google-extension)[ZohaibAhmed/ChatGPT-Google](https://github.com/ZohaibAhmed/ChatGPT-Google) にインスパイアされています([upstream-c54528b](https://github.com/wong2/chatgpt-google-extension/commit/c54528b0e13058ab78bfb433c92603db017d1b6b))
Loading

0 comments on commit a436eb9

Please sign in to comment.