MIT License

项目介绍

swuecho/chat 是一个托管在 GitHub 上的开源项目,主要使用 Vue 编写,采用 MIT License 许可证,目前获得 574 个 Star、92 次 Fork。

仓库全名
swuecho/chat
开源许可证
MIT License
Star 数
574
Fork 数
92

README 摘要

Demo 规则 第一个消息是系统消息(prompt) 上下文默认附带最新创建的4条消息 第一个注册的用户是管理员 默认限流 100 chatGPT call /10分钟 (OPENAIRATELIMIT=100) 根据对话生成可以分享的静态页面(like ShareGPT), 也可以继续会话. 对话快照目录(对话集), 支持全文查找(English), 方便整理, 搜索会话记录. 支持OPEN AI, Claude 模型 支持Ollama host模型, 配置参考: https://github.com/swuecho/chat/discussions/396 支持上传文本文件 支持多媒体文件, 需要模型支持 提示词管理, 提示词快捷键 '/' 内置 OpenAI 兼容网关,可通过虚拟 API Key 调用已配置的模型 网关支持流式透传、限流、请求审计,以及限时保留的请求/响应样本 (可选)可在管理后台的「标题生成模型」页面…

完整内容见 GitHub 原始 README 或本页 。

常见问题

chat 用什么语言开发?

主要使用 Vue 编写,采用 MIT License 许可证,目前有 574 个 Star。

chat 可以免费商用吗?

仓库采用 MIT License 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 chat 的源码?

可以直接克隆仓库:git clone https://github.com/swuecho/chat.git,默认分支为 master;安装与运行步骤见仓库 README。

chat 最近还在维护吗?

仓库最近一次更新为 3 周前,当前没有未关闭的 Issue;Star 数为 574,可作为社区活跃度的参考。

关于

chat web app for teams, sass with user management and ratelimit, support chatgpt(openai & azure), claude, gemini and ollama model

描述取自 GitHub 官方 API,中文内容由 GitRead 中文社区 编辑团队整理。

简要分析

热度分
764
价值分
372
活跃状态
活跃

语言占比

C
C++
CMake
CSS
Dart
Dockerfile
Go
HTML
JavaScript
Kotlin
Less
Makefile
Objective-C
Python
Ruby
Shell
Swift
TypeScript
Vue

Release

README

Demo

image image thinking

image

image Screenshot 2025-09-11 at 8 05 03 PM

image

image chat records chat record comments

规则

  • 第一个消息是系统消息(prompt)
  • 上下文默认附带最新创建的4条消息
  • 第一个注册的用户是管理员
  • 默认限流 100 chatGPT call /10分钟 (OPENAI_RATELIMIT=100)
  • 根据对话生成可以分享的静态页面(like ShareGPT), 也可以继续会话.
  • 对话快照目录(对话集), 支持全文查找(English), 方便整理, 搜索会话记录.
  • 支持OPEN AI, Claude 模型
  • 支持Ollama host模型, 配置参考: https://github.com/swuecho/chat/discussions/396
  • 支持上传文本文件
  • 支持多媒体文件, 需要模型支持
  • 提示词管理, 提示词快捷键 ‘/’
  • 内置 OpenAI 兼容网关,可通过虚拟 API Key 调用已配置的模型
  • 网关支持流式透传、限流、请求审计,以及限时保留的请求/响应样本

(可选)可在管理后台的「标题生成模型」页面,从已启用的模型中选择用于自动生成对话标题的模型。若未配置标题生成模型,或标题生成失败,将使用提示词的前 100 个字符作为默认标题。

文档

开发指南

部署指南

致谢

LICENCE: MIT

Rules

  • The first message is a system message (prompt)
  • By default, the latest 4 messages are included in context
  • The first registered user becomes administrator
  • Default rate limit: 100 ChatGPT calls per 10 minutes (OPENAI_RATELIMIT=100)
  • Generate shareable static pages from conversations (like ShareGPT), or continue conversations
  • Conversation snapshots directory supports full-text search (English), making it easy to organize and search conversation history
  • Supports OpenAI and Claude models
  • Supports Ollama host models, configuration reference: https://github.com/swuecho/chat/discussions/396
  • Supports text file uploads
  • Supports multimedia files (requires model support)
  • Prompt management with ‘/’ shortcut
  • Built-in OpenAI-compatible gateway using revocable virtual API keys
  • Transparent streaming proxy with per-key limits, request auditing, and time-limited request/response samples

(Optional) In the admin panel, open Title Generation Model to select any enabled model for automatic conversation titles. If no title-generation model is configured, or title generation fails, the first 100 characters of the prompt are used as the default title.

Documentation

Development Guide

Deployment Guide

Acknowledgments

评论

暂无评论