Skip to main content

SakuraFrp管理插件

Project description

nonebot

NoneBot Plugin eNatFrp

SakuraFrp管理插件

License Python NoneBot

安装方式

优先使用HTTP驱动器,如未配置则使用httpx请求

依赖管理

  • pip install nonebot-plugin-enatfrp
  • poetry add nonebot-plugin-enatfrp
  • pdm add nonebot-plugin-enatfrp

bot.py 中添加 nonebot.load_plugin("nonebot_plugin_enatfrp")

nb-cli

  • nb plugin install nonebot-plugin-enatfrp

使用方式

  • frp帮助 [index: int]
  • 开机 <id: int> [password: str = ]
  • 隧道状态
  • 流量│流量历史 [id: int] [type: week|月|day|日|周|month = day]
  • 流量包│流量套餐 <type: invalid|all|可用|不可用|全部|valid = all>
  • 我的信息│用户信息
  • 公告 <index: int = 0>
  • 授权 <id: int> <ip: str> -计算机列表

配置项

非必要配置项

  • natfrp_api: natfrp api地址

  • natfrp_token: natfrp api token

  • natfrp_at: 是否at

  • natfrp_reply: 是否回复

  • natfrp_use_start: 是否使用nb配置的command_start

  • natfrp_use_sep: 是否使用nb配置的command_sep

  • natfrp_cmd_help: frp帮助

  • natfrp_cmd_powerOn: 开机

  • natfrp_cmd_tunnels: 隧道状态

  • natfrp_cmd_trafficHistory: 流量 流量历史

  • natfrp_cmd_trafficPlans: 流量包 流量套餐

  • natfrp_cmd_userInfo: 我的信息 用户信息

  • natfrp_cmd_announcement: 公告

  • natfrp_cmd_auth: 授权

  • natfrp_cmd_showPCs: 计算机列表

依赖项

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nonebot_plugin_enatfrp-0.1.3.tar.gz (8.6 kB view details)

Uploaded Source

Built Distribution

nonebot_plugin_enatfrp-0.1.3-py3-none-any.whl (9.7 kB view details)

Uploaded Python 3

File details

Details for the file nonebot_plugin_enatfrp-0.1.3.tar.gz.

File metadata

  • Download URL: nonebot_plugin_enatfrp-0.1.3.tar.gz
  • Upload date:
  • Size: 8.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.10.12 Linux/6.2.0-1018-azure

File hashes

Hashes for nonebot_plugin_enatfrp-0.1.3.tar.gz
Algorithm Hash digest
SHA256 7347dfb28f81510640769a28af53b2e03579dce678ed3cd0dc6fb11f5a28bf38
MD5 257f438d96ba34d35cf30a45e7c2ae58
BLAKE2b-256 9af2636e15890d8e3e9c9703c0d4fbdd6fb48d002bf2ec8a33e3c642f7041f89

See more details on using hashes here.

File details

Details for the file nonebot_plugin_enatfrp-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_enatfrp-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 201698e9d9947e1b66202a41deab40cc7443d52aab8058d6fe53d78152e348af
MD5 8dcac0339d6f96aa199d60b39feef446
BLAKE2b-256 7c8ca76595327526a9e41ab98491dfb796bd229888b6096fada138a58ae43b8e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page