bobo.yang d849bc4a33 chore: Add environment configuration and update gitignore
- Add initial .env file with app configuration settings
- Configure image base URL and assistant display names
- Remove .env from gitignore while keeping avatar file ignored
2025-02-24 14:11:49 +08:00
2024-11-14 12:37:31 +08:00
2023-12-12 18:03:17 +08:00
2023-12-12 18:03:17 +08:00
2024-08-23 02:40:19 +08:00

devchat-gui

The unified webview UI of DevChat plugins.

Parameterize packaging

Step 1: Config the assistant names and logo file [Optional]

Custom assistant name and logo are supported, they can be configured in the .env file

# Default to DevChat
REACT_APP_ASSISTANT_DISPLAY_NAME_EN=English name of the AI assistant
# Default to DevChat
REACT_APP_ASSISTANT_DISPLAY_NAME_ZH=Chinese name of the AI assistant
# Default to DevChat logo
REACT_APP_LOGO_FILE=/path/to/the/logo.svg

Notes:

  1. The logo should be a .svg file;
  2. Recommend size of the logo is 64x64;

Step 2: Build the UI for VSCode and IntelliJ

The devchat-gui repo is assumed to be a submodule of devchat-vscode and devchat-intellij. You need to build devchat-gui first before you build your plugins.

cd gui
yarn idea    # for intellij
yarn vscode  # for vscode
Description
devchat plugins fronend
Readme Apache-2.0 1.1 MiB
Languages
TypeScript 95.7%
JavaScript 3.4%
HTML 0.7%
CSS 0.2%