Skip to content

KimmyXYC/PingBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PingBot

wakatime actions

功能 / Features

ip - 查询 IP 地址
ip_ali - 查询 IP 地址(阿里云)
icp - 查询域名 ICP 备案信息
whois - 查询域名 Whois 信息
dns - 查询域名 DNS 信息

安装 / Installation

  • 克隆仓库。Clone the repository.
git clone https://github.com/KimmyXYC/PingBot.git
  • 复制配置文件。Copy configuration file.
cp Config/app_exp.toml Config/app.toml
  • 填写配置文件。Fill out the configuration file.
[bot]
master = [100, 200]
botToken = 'key' # Required, Bot Token


[proxy]
status = false
url = "socks5://127.0.0.1:7890"

[ip]
appcode = "1234567890" # Required, Aliyun AppCode

[icp]
server = "https://icp.example.com" # Required, ICP API Server

本地部署 / Local Deployment

  • 安装依赖。Install dependencies.
pip install -r requirements.txt

Docker 部署 / Docker Deployment

  • 使用预构建镜像。Use pre-built image.
docker run -d --name pingbot -v $(pwd)/Config:/app/Config ghcr.io/kimmyxyc/pingbot:main

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published