Giter Club home page Giter Club logo

sharpbot's Introduction

SharpBot

一个基于百度网盘开放接口的转存机器人

使用方法

  1. 前往该链接创建自己的应用 https://pan.baidu.com/union/console/createapp
  2. 前往 https://t.me/BotFather 创建自己的Telegram机器人
version: "3"

services:
  sharpbot:
    image: crinte/sharpbot:main
    restart: unless-stopped
    container_name: sharpbot
    environment:
      # 配置选项参考 https://github.com/Cnicehs/SharpBot/blob/master/SharpBot/config/config.yaml
      # 环境变量仅在配置项为空时进行覆盖,并写入配置
      # 运行时以/app/config/config.yaml中的数据为准
      SharpBot_BaiduConfig_ClientID: #百度应用的AppKey
      SharpBot_BaiduConfig_ClientSecret: #百度应用的SecretKey
      SharpBot_BaiduConfig_DownloadPath: #网盘内的存放位置,该位置必须是已经存在的文件夹
      SharpBot_TelegramConfig_BotToken: #TelegramBot的token
      SharpBot_TelegramConfig_ChatID: #用户自身的TelegramID,用于生成百度Token时的操作交互
      SharpBot_TelegramConfig_TransFinishAddtionDesc: #执行结束后的通知文本,如到Alist查看转存结果
    volumes:
      - ./sharpbot/config:/app/config
  1. 初次运行时会收到机器人申请应用的信息,按照提示操作即可
  2. 若要清除应用数据,删除 ./sharpbot/config 下的所有数据即可
  3. 使用时发送如下的链接格式即可,单次消息只能发送一条分享连接
链接: https://pan.baidu.com/s/1GQuNCeAzb92rl2KB68X3wA 提取码: aww4 复制这段内容后打开百度网盘手机App,操作更方便哦

链接:https://pan.baidu.com/s/15yXtvMIKaozgfdw5dMRy0A 
提取码:lsol 
--来自百度网盘超级会员V6的分享

Licence

MIT licence

sharpbot's People

Contributors

cnicehs 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.