V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
爱意满满的作品展示区。
wuhaoworld
V2EX  ›  分享创造

开源一个给中小团队使用的 AI 聊天机器人: HiveChat,一人配置,全员共享

  •  1
     
  •   wuhaoworld · 2 天前 · 2144 次点击

    DeepSeek 官网服务经常挂,网上各种教程教大家如何使用客户端接第三方 API ,但愿意研究折腾的毕竟是少数。

    但对于一个团队来说(公司、实验室、班级等),AI 能明显提升整个团队的效率和战斗力,有没一个可能,让其中 1 个人研究折腾配置好,其他人无痛使用就好。基于此想法,我写了 HiveChat 。

    管理员可以部署和配置各种大模型服务,可以手动添加账号,或开放注册权限,团队成员直接登录使用即可。

    管理端

    hivechat

    hivechat

    用户端

    hivechat

    支持服务器本地部署、Vercel 一键部署、Docker 部署。

    详情见 Github: https://github.com/HiveNexus/HiveChat

    求 Star ,欢迎反馈建议和 bug 。

    38 条回复    2025-02-21 01:21:08 +08:00
    mzsone
        1
    mzsone  
       2 天前
    刚想睡觉就有人送枕头,感谢老哥开源!
    xxx78797084
        2
    xxx78797084  
       2 天前
    正好是我需要的,感谢!
    YICHUJIFA
        3
    YICHUJIFA  
       2 天前
    感谢老哥开源!
    zangev5
        4
    zangev5  
       2 天前
    牛逼,这个工具不错
    tyhunter
        5
    tyhunter  
       2 天前
    老哥厉害,解决了多用户管理的痛点
    wzw
        6
    wzw  
       2 天前
    每个用户的用量 是不是可以统计一下?
    wuhaoworld
        7
    wuhaoworld  
    OP
       2 天前
    @wzw 是原本计划中的功能,后来发现有不少厂商压根不返回用量信息,就先暂缓了,后续版本再考虑
    wzw
        8
    wzw  
       2 天前
    @wuhaoworld 可以先做简单的字数统计, 粗略的,( 一般不会什么问题, 担心有些人不太会用,可能一个话题超长)
    bitkuang
        9
    bitkuang  
       2 天前 via Android
    支持 one-api 吗
    wuhaoworld
        10
    wuhaoworld  
    OP
       2 天前
    @bitkuang Open AI 风格的 API 都可以,填到除了 Claude 、Google 这 2 个以外的任何一个供应商
    ralstonish
        11
    ralstonish  
       2 天前
    支持,已 star !话说如果要填 Open AI 的 APi 的话是不是得部署在海外的服务器上
    arcaitan
        12
    arcaitan  
       2 天前
    老哥能不能说说要顺畅的使用大概需要什么资源的服务器
    wuhaoworld
        13
    wuhaoworld  
    OP
       2 天前
    @ralstonish 是的,或者直接填中转地址,很多公司提供这种中转服务
    wuhaoworld
        14
    wuhaoworld  
    OP
       2 天前
    @arcaitan 2 核 4G 内存就可以跑起来,并发少的时候还算流畅,还取决于服务器链接大模型的网络情况
    ralstonish
        15
    ralstonish  
       2 天前
    SenLief
        16
    SenLief  
       2 天前
    数据是保存到 db 还是本地的?
    wuhaoworld
        17
    wuhaoworld  
    OP
       2 天前
    @SenLief 保存到服务器 DB ,PostgreSQL
    SenLief
        18
    SenLief  
       2 天前
    @wuhaoworld 不错不错,已 star
    xgq89757
        19
    xgq89757  
       2 天前
    是不是可以支持一下配置本地模型?
    wuhaoworld
        20
    wuhaoworld  
    OP
       2 天前
    @xgq89757 可以配置 Ollama 的
    zhuanggu
        21
    zhuanggu  
       2 天前   ❤️ 1
    xgq89757
        22
    xgq89757  
       2 天前
    @wuhaoworld 成功配置上了,感谢
    chenzfp
        23
    chenzfp  
       2 天前
    @xgq89757 #22 大佬怎么配置的,求教程
    dislazy2023
        24
    dislazy2023  
       2 天前
    OIDC 功能可能是个比较重要的功能,role 和 oidc
    chenzfp
        25
    chenzfp  
       2 天前


    火山这么配置的时候报错,大佬求解
    wuhaoworld
        26
    wuhaoworld  
    OP
       2 天前
    @chenzfp 这里的检查逻辑确实有个 bug ,填写后回到聊天页面能正常聊天的。
    很快会修复,https://github.com/HiveNexus/HiveChat/issues/3
    另外,也不需填写中转地址。
    wuhaoworld
        27
    wuhaoworld  
    OP
       2 天前
    @dislazy2023 最希望有限接入哪些家?
    dislazy2023
        28
    dislazy2023  
       2 天前
    @wuhaoworld 接入一个通用 oidc 协议的应该就行,正常的像 feishu/authelia 的协议基本上是类似的,就是字段有一丢丢不一样,可以自定义那种
    xgq89757
        29
    xgq89757  
       2 天前
    @chenzfp https://imgur.com/a/XHJVcGG
    服务地址从 open-webui 的管理员面板->设置->外部链接->管理 Ollama API 连接中获取
    NamelessRain
        30
    NamelessRain  
       2 天前
    真的是太棒了,我刚好就需要! openwebui 太卡了不好用
    wuhaoworld
        31
    wuhaoworld  
    OP
       2 天前
    @chenzfp 已经修复了,更新到最新代码即可
    lpldplws
        32
    lpldplws  
       2 天前
    用量可以直接 调用官方请求,可以抓页面访问用量的接口,根据 ip 分组。可能每家在这部分的接口不太一样
    wanghuangjie
        33
    wanghuangjie  
       2 天前
    麻烦问下,非标准端口的 http ,如何跳过`x-forwarded-host`验证?

    ✓ Starting...
    ✓ Ready in 759ms
    `x-forwarded-host` header with value `xxx.com` does not match `origin` header with value `xxx.com:8443` from a forwarded Server Actions request. Aborting the action.
    Error: Invalid Server Actions request.
    at rE (/app/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:15:7189)
    at r7 (/app/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:18:1150)
    at /app/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:19:726
    at AsyncLocalStorage.run (node:internal/async_local_storage/async_hooks:91:14)
    at Object.wrap (/app/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:13:17831)
    at /app/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:19:616
    at AsyncLocalStorage.run (node:internal/async_local_storage/async_hooks:91:14)
    at Object.wrap (/app/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:13:16935)
    at ne (/app/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:19:543)
    at nx.render (/app/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:19:4561) {
    digest: '1064696593'
    }
    chenzfp
        34
    chenzfp  
       1 天前
    @wuhaoworld #26 好的,感谢 OP ,更新之后检查好使了,点赞👍
    wuhaoworld
        35
    wuhaoworld  
    OP
       1 天前
    @wanghuangjie 意思是没用 80 端口吗,可以在 github issues 里提供下更多信息,方便排查
    ysyah2019
        36
    ysyah2019  
       1 天前
    这不是 Cherry-Studio 嘛[旺柴]
    qq727474430
        37
    qq727474430  
       1 天前
    这个感觉很好啊,感谢分享!
    xzy98
        38
    xzy98  
       1 天前
    佬什么时候支持上传文件啊
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   935 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 21ms · UTC 21:30 · PVG 05:30 · LAX 13:30 · JFK 16:30
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.