::: warning
Warning: Please refer to this tutorial without violating local laws. If the use of VPN is not allowed in your area, this site does not assume any responsibility.
:::
Preface#
https://github.com/zb81/ql-ikuuu
Recently, I was looking for an automatic check-in script for iKuuu on Github to get free traffic.
I did find one, but at that time it required manually capturing the Cookie, which seemed too troublesome, so I didn't use it.
With the attitude of giving it a try, I raised an Issue, and the project author really updated it.
So here comes this tutorial, which is so simple that it can't even be called a tutorial, but more of a sharing of this project.
Deploying the Script#
First, you need to have a functioning Qinglong panel. There are many installation tutorials for Qinglong panel, so I will only provide the repository link without going into too much detail.
Installing Dependencies#
Go to the homepage of the Qinglong panel and select "Dependency Management" from the left sidebar.
Click "Create Dependency" and in the pop-up window, select the dependency type as "nodejs" and enter "axios" in the name field, with any remarks.
Wait for the dependency to be installed.
Configuring Environment Variables#
Select "Environment Variables" from the left sidebar.
Note
Starting from commit 9a41bac, multiple account check-ins are supported.
If you have a need for multiple account check-ins, you can enter new account email/password in a new line in the original variable value. (The number of emails and passwords must be the same and correspond one-to-one)
Click "Create Variable" and create the environment variables named "IKUUU_EMAIL" and "IKUUU_PWD" respectively. They correspond to your iKuuu account email and password.
Like this:
Adding Subscriptions#
Select "Subscription Management" from the left sidebar.
Copy the following command. Click "Create Subscription" and in the pop-up window, select the "Name" field and paste the copied command.
ql repo https://github.com/zb81/ql-ikuuu.git "checkin|traffic" "" "qlApi|utils"
After pasting, except for the timing type and timing rules, the overall content should be similar to the image below.
After confirming the similarity, select the timing type as "interval" and fill in the timing rule as every 7 days, with any name.
After clicking OK, you should be able to see the subscription name you entered in the "Subscription Management" page.
Find the subscription you just created, click the "Run" button on the right side of the subscription, and the subscription will run automatically.
The script will automatically check in for the iKuuu accounts you configured, without manual intervention.
This article is synchronized and updated to xLog by Mix Space
The original link is https://cutemic.cn/posts/announcement/use-qinglong-panel-to-realize-ikuuuvpn-auto-checkin