Fakeact - 命令行摸鱼神器

参考Rust版 Genact 实现,日志数据也来源于该项目
🐟模拟各种下载安装编译的日志实时输出,假装很忙,摸鱼不慌张
运行后,只是模拟日志打印输出,不会处理或安装任何数据,让命令行输出看起来很专业和处于忙碌状态

按需运行
使用 npx
运行该脚本而无需先安装:
npx fakeact
全局安装
npm install fakeact -g
全局安装 fakeact
,可以直接运行 fakeact 使用
Docker运行
docker run -it --rm ch563/fakeact -m composer
修改 -m 或 增加参数运行不同 module, 参考以下使用说明
使用
A command line fake active tool
Usage: fakeact [OPTIONS]
Options:
-l, --list list available modules
-m, --modules <modules> run only these modules [possible values: ansible, bootlog, botnet, bruteforce, cargo, cc,
composer, cryptomining, dockerBuild, dockerImageRm, download, julia, kernelCompile, memdump,
mkinitcpio, rkhunter, simcity, terraform, weblog] (default: "all")
-s, --speed-factor <factor> global speed factor (default: "1")
-t, --times <times> execution times, 0 means infinite (default: "1")
-h, --help display help for command
-V, --version display version
支持模拟运行模块
本地构建
通过git clone下载源码,构建运行,为了模块共同减少空间推荐使用 pnpm
:
git clone https://github.com/CH563/fakeact.git
cd fakeact
pnpm install
pnpm run build
TODO
网页版,使用 xtermjs
在网页上运行输出
License
Fakeact is licensed under the MIT License.