Giter Club home page Giter Club logo

chatgpt-telegram-workers's Introduction

ChatGPT-Telegram-Workers

English Version

最简单快捷部署属于自己的ChatGPT Telegram机器人的方法。使用Cloudflare Workers,单文件,直接复制粘贴一把梭,无需任何依赖,无需配置本地开发环境,不用域名,免服务器。 可以自定义系统初始化信息,让你调试好的性格永远不消失。

image

分支

  • master 经过测试基本没有BUG的版本
  • dev 有一些新功能,但是没有经过完整的测试,基本可用的版本

配置

推荐在Workers配置界面填写环境变量, 而不是直接修改js代码中的变量

详情见 配置文档

部署流程

详情见 部署流程

自动更新

使用Github Action自动更新

详情见 自动更新

最佳实践

新建多个机器人绑定到同一个workers,设置TELEGRAM_AVAILABLE_TOKENS,每个机器人赋予不同的SYSTEM_INIT_MESSAGE。开启群聊模式,新建多个群聊,每个群内只有自己个机器人,每个群的机器人由不同的SYSTEM_INIT_MESSAGE,比如翻译专家,文案专家,代码专家。然后每次根据自己的需求和不同的群里的机器人聊天,这样就不用经常切换配置属性。。

已知问题

  • 群消息只能管理员调用bot
  • 长消息被Telegram截断

更新日志

  • v1.3.0
    • 添加token使用统计指令/usage
    • 添加系统信息指令/system
    • 添加command菜单显示范围
    • 添加SYSTEM_INIT_MESSAGE环境变量
    • 添加CHAT_MODEL环境变量
    • 添加Github Action自动更新部署脚本
    • 优化/init页面 显示更多错误信息
    • 修复历史记录裁剪BUG

其他更新日志见CHANGELOG.md

chatgpt-telegram-workers's People

Contributors

anotiawang avatar cheivin avatar ffffourwood avatar miraclexyz avatar panmax avatar reorx avatar silentely avatar tbxark avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.