Dependency Installation Guide

Install required dependencies to ensure Qinglong Panel runs properly

Important Reminder

To prevent panel errors or login failures, please modify configuration files first before installing dependencies!

Step 1: Edit Configuration Files
  1. Change Timeout (Line 22)
    CommandTimeoutTime="1h"
    Suffix Description: "s"=Second(default), "m"=Minute, "h"=Hour, "d"=Day
  2. Modify File Extensions (Line 11)
    RepoFileExtensions="js mjs py pyc sh ts"
Step 2: Use Domestic Mirror Sources (Recommended)
Slow / Failed Installation Fix

Slow installation is normal when using overseas sources.
Switch to domestic mirror sources
Wait 5-10 minutes (Do not interrupt if no error prompt)
Do not run too many tasks at once. We recommend using multiple panels separately.

Python Mirrors (Huawei Recommended)

🏆 Recommended: https://repo.huaweicloud.com/repository/pypi/simple/
https://pypi.tuna.tsinghua.edu.cn/simple/
https://pypi.doubanio.com/simple/
https://pypi.mirrors.ustc.edu.cn/simple/
https://mirrors.aliyun.com/pypi/simple/

Node.js Mirrors

🏆 Recommended: https://registry.npmmirror.com
https://npm.aliyun.com
https://mirrors.cloud.tencent.com/npm/
https://mirrors.huaweicloud.com/repository/npm/
Mirror Setting Location:
Stable 2.16.5 → Config File Line 46
Other Versions → System Settings → Dependency Settings
Advanced users: Install only dependencies required by your scripts to keep it lightweight. Ask your script author for details. Beginners may continue below for full batch installation.
Step 3: Batch Install Dependencies
Path: Dependency Manager → Create Dependency → Dependency Type → Auto Split: Yes → Paste code below → Confirm
NodeJS Dependencies (Copy all content below)
oicq@1 png-js @types/node typescript prettytable tslib execjs utils function magic oicq@1 http-cookie-agent http crc node-rsa jsdom -g agent proxy https -g typescipt crypto -g date-fns moment ds depend tslib ts-md5 dotenv upgrade pip node-jsencrypt -g npm requests common npm qs ql ds json5 js-base64 require tough-cookie jsdom global-agent @types/node typescript dotenv jsdom -g form-data png-js ts-md5 tslib jieba ws@7.4.3 axios date-fns moment prettytable fs crypto-js ts-node
Python Dependencies (Copy all content below)
borax lxml aiohttp typescript bs4 urllib3==1.26.7 requests==2.27.1 pycryptodome pytz typescript httpx==0.27.2 success --upgrade pip pip redis jieba requests ping3 PyExecJS

🏆 Completed!

Follow the 3 steps above, 99% of script running issues will be resolved!