feat: 将项目迁移到Playwright+Camoufox方案

This commit is contained in:
foxhui
2025-12-06 23:37:36 +08:00
Unverified
parent 5c758a7288
commit e88d4941c9
23 changed files with 2901 additions and 2314 deletions
+13 -10
View File
@@ -1,24 +1,27 @@
{
"name": "lmarena-imagen-automator",
"version": "1.0.0",
"description": "基于 Puppeteer 的 LMArena 自动化图像生成工具",
"version": "2.0.0",
"description": "基于 Playwright + Camoufox 的自动化图像生成工具",
"license": "MIT",
"author": "foxhui",
"type": "module",
"scripts": {
"start": "node server.js",
"test": "node lib/test.js",
"genkey": "node lib/genApiKey.js"
"test": "node lib/utils/test.js",
"genkey": "node lib/utils/config.js -genkey",
"init": "node lib/utils/init.js"
},
"dependencies": {
"@inquirer/prompts": "^8.0.1",
"ghost-cursor": "^1.4.1",
"better-sqlite3": "^12.5.0",
"camoufox-js": "^0.8.3",
"compressing": "^2.0.0",
"fingerprint-generator": "^2.1.78",
"ghost-cursor-playwright-port": "^1.4.3",
"got-scraping": "^4.1.2",
"js-yaml": "^4.1.1",
"playwright-core": "^1.57.0",
"proxy-chain": "^2.6.0",
"puppeteer": "^24.31.0",
"puppeteer-extra": "^3.3.6",
"puppeteer-extra-plugin-stealth": "^2.11.2",
"sharp": "^0.34.5"
"sharp": "^0.34.5",
"yaml": "^2.8.2"
}
}