# langchat-web-sdk **Repository Path**: langchat/langchat-web-sdk ## Basic Information - **Project Name**: langchat-web-sdk - **Description**: LangChat Web SDK聊天小组件 - **Primary Language**: Unknown - **License**: AGPL-3.0 - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 2 - **Forks**: 16 - **Created**: 2024-11-27 - **Last Updated**: 2025-05-17 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # LangChat Web SDK A standalone chat widget that can be integrated into any website. ## Usage ### In Vue project ```shell npm i @langchat/web-sdk ``` ```vue ``` ### In Html project 1. Include the required files in your HTML: ```html ``` 2. Initialize the chat widget: ```html ``` ## Configuration Options - `apiUrl` (optional): The URL for your chat API endpoint - `token` (optional): Authentication token for API requests - `layout`: 'widget' (floating chat) or 'fullpage' (centered chat page) - `position`: 'bottom-right' or 'bottom-left' (only for widget layout) - `theme`: Customize colors - `primary`: Primary color for buttons and accents - `secondary`: Secondary color for hover states