Git Product home page Git Product logo

pagermaid_pyro_windows's Introduction

最新一次更新时间: 2024/2/26

预备软件:

  • python3
  • git

开始搭建

  1. 克隆 PagerMaid-Pyro 仓库到本地:

    git clone https://gitlab.com/Xtao-Labs/PagerMaid-Pyro 
    
  2. 进入 PagerMaid-Pyro 目录:

    cd PagerMaid-Pyro
    
  3. 创建并激活 Python 虚拟环境:

    python -m venv venv
    venv\Scripts\activate
    
  4. 升级 pip 并安装依赖:

    python -m pip install --upgrade pip
    pip install -r requirements.txt
    
  5. 复制配置文件并编辑:

    copy config.gen.yml config.yml
    notepad config.yml
    
  6. 可选:配置 API:

    log: "False"
    log_chatid: "503691334"
    proxy_addr: ""
    proxy_port: ""
    http_addr: ""
    http_port: ""
    mtp_addr: ""
    mtp_port: ""
    mtp_secret: ""
    
  7. 启动 Pagermaid:

    python -m pagermaid
    
  8. 输入手机号码,按照提示确认手机号码是否正确,并输入 Telegram APP 收到的验证码。

Is "+18888888888" correct? (y/N):    # 号码显示正确输入 y ,错误输入 n
The confirmation code has been sent via Telegram app
Enter confirmation code:    # 此处输入 Telegram APP 中收到的验证码
# 如果设置了两步验证,则会出现以下提示
The two-step verification is enabled and a password is required
Password hint: None
Enter password (empty to recover):    # 此处输入两步验证密码

出现已启动提示,代表登录成功,此时可以去 Telegram 任意聊天发送 ,help 进行测试。

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.