Coder Social home page Coder Social logo

apilot's Introduction

一个基于ChatGPT-on-Wechat项目的简单插件,直接调用一些实用的api接口!

安装

使用管理员口令在线安装即可,参考这里去如何认证管理员

#installp https://github.com/6vision/Apilot.git

安装成功后,根据提示使用#scanp命令来扫描新插件,再使用#enablep Apilot开启插件,参考下图

配置

直接安装不配置也可以使用一部分接口,部分接口(快递、天气)需要配置alapi的token。

  • 服务器部署:复制插件目录的config.json.template文件并重命名为config.json

    • alapi_token:填入申请的alapi token。

    • morning_news_text_enabled:默认false,发送早报图片;true,发送文字版早报。

  • docker部署:参考项目docker部署的插件使用,在挂载的config.json配置文件内增加apilot插件的配置参数,如下图,每次重启项目,需要使用 #installp 指令重新安装

Token申请

  • alapi_token申请点击这里alapi

使用

  • 对话框发送“早报”、“摸鱼”、"微博热搜(已更新为"微博热榜)"、”任意星座名称”可以直接返回对应的内容!

  • 快递查询格式:快递+快递编号。如:快递YT2505082504474,如下图!

  • 天气查询格式:城市+天气。如:成都天气。(支持3400+城市天气,输入不正确或者查询失败返回北京天气)

  • 热榜查询。支持:<微博/虎扑/知乎/哔哩哔哩/36氪/抖音/少数派/IT最新/IT科技>

apilot's People

Contributors

6vision avatar linqiu919 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.