Skip to content

fcbyk/fcbyk-cli

Repository files navigation

image

PyPI Tests codecov License

子命令

  • lansend:在指定端口开启 http服务器,用于局域网内共享文件
  • ai:在控制台与 ai 聊天 (需自行配置api-key
  • pick:随机抽取一个元素(可用于抽奖、随机选择等)
  • slide:同一局域网内,手机控制电脑PTT翻页

安装

使用 pip 安装

pip install fcbyk-cli

GUI为可选依赖

pip install fcbyk-cli[gui]

从源码安装(可按需调整代码)

  • 前端构建
git clone https://github.com/fcbyk/fcbyk-cli.git
cd web-ui
npm install
npm run build:flatten
  • 后端安装
cd ..
cd fcbyk-cli
pip install -e .

查看帮助信息

fcbyk --help
fcbyk --version

系统要求

  • Python 3.6+
  • Windows

About

⚡ A cli-tool to do somethings

Topics

Resources

License

Stars

Watchers

Forks