Giter VIP home page Giter VIP logo

sesebot's Introduction

sese bot

English README

获取 Token

  1. 创建 Telegram Bot
    根据官方文档创建 Telegram 机器人,获得机器人的 token
  2. 获取 Pixiv refresh token
    使用 gppt 获取 Pixiv refresh token

部署

使用 Docker (推荐)

  1. 下载 configdocker-compose.yml,文件结构如下:
sesebot/
    config/
        config.json
        token.json
    docker-compose.yml
  1. token.json 中填入 pixiv token 和 telegrame bot token
  2. sesebot 中执行 docker compose up -d
    (支持 x64arm64,如果你的CPU架构是 arm64,需要将 docker-compose.yml 中的 amd64 tag 改为 arm64)

使用 Python3.10

  1. 克隆本项目
  2. pip install -r requirements.txt
  3. 安装 Redis
  4. token.json 中填入 pixiv token 和 telegrame bot token
  5. config.json 填入 redis 的地址和端口
  6. python src/main.py

sesebot's People

Contributors

ivanlon30000 avatar

Stargazers

 avatar Saika avatar  avatar  avatar

Watchers

James Cloos avatar  avatar

Forkers

saika1997

sesebot's Issues

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.