Skip to content

YiangQi/OneChat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ask once, get answers from many

English | 简体中文

OneChat, as the name suggests, is a tool that can simultaneously converse with multiple online large-model websites. OneChat can send your question to multiple AI pages at once, helping you discover the best answers. Not only that, OneChat also supports one-click controls for showing or hiding all pages' sidebars, showing or hiding input boxes, starting new conversations, uploading files, quickly locating items in the conversation list, and more.

📷 Screenshots

Light Theme Dark Theme
white_theme dark_theme

📺 Video Introduction

video introduction

⬇️ Download and Run

v0.0.1 version only supports Windows platform:​

🔥 Features

  • Send a question to multiple pages with one click
  • Open all pages' login windows with one click
  • Show or hide all pages' sidebars with one click
  • Show or hide all pages' input boxes with one click
  • Upload images or files with one click
  • Jump to the previous or next question with one click
  • Input content is synchronized to all pages' input boxes in real time
  • Choose freely to send messages to the currently active page
  • Sidebar shows the current AI conversation history
  • Pages can be dragged to customize position and size

Supported Model Websites

The model websites supported by OneChat can be configured dynamically via JSON. The configuration directory is the online folder in the application's root directory. The online.json file in that folder is the model configuration file; if you want to add a custom site model, you can refer to this configuration.

Currently supported models include:

  • ChatGPT
  • ChatGLM
  • Claude
  • DeepSeek
  • DouBao
  • Gemini
  • Kimi
  • Grok
  • TongYi
  • YuanBao

OneChat also supports adding other large-model websites dynamically; after modifying the online.json configuration, restart the application for the changes to take effect.

How to Add a New Model Site

  • Create a new model directory under the online folder, using the format {provider}_{model}, for example openai_chatgpt. The directory name format is not strictly required, but it keeps things consistent.

  • The model directory must contain two files: inject.js and logo.png (the model's icon).

  • inject.js should override the interface methods from inject_template.js to implement the injection script for operating the model website.

  • Add the model configuration option in online.json in online.js, using the following format:

    {
      "name": "ChatGPT",
      "url": "https://chat.openai.com/",
      "icon": "openai_chatgpt/logo.png",
      "script": "openai_chatgpt/inject.js"
    }

Where:

  • name is the model's display name shown in OneChat's sidebar
  • url is the model website's conversation address
  • icon is the path to the model's logo
  • script is the path to the model injection script

Due to limited personal time, contributions of new model site configurations are welcome.

Privacy

OneChat does not read any of your personal information. All login and personal data for model websites are stored in the tool's webcache folder in the application's root directory. If needed, you can manually delete that folder to clear personal data.

Inside the webcache directory there is a WebView folder which stores data in separate subfolders named by each model website's domain; you can delete the specific site's folder under WebView to reset that website's data.

Build

About

One chat for LLM website.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors