Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
cbacce1
Create node.js.yml
hex-ci Nov 20, 2023
b6eb112
Update node.js.yml
hex-ci Nov 20, 2023
b2b73d0
Update node.js.yml
hex-ci Nov 20, 2023
21cd4b2
Update node.js.yml
hex-ci Nov 20, 2023
5118f27
Update node.js.yml
hex-ci Nov 20, 2023
ac413bd
重构代码
hex-ci Nov 20, 2023
44359fa
Update README.md
hex-ci Nov 20, 2023
0320dfe
Update library_task.js
hex-ci Nov 21, 2023
147a910
Update library_task.js
hex-ci Nov 21, 2023
f46522d
增加环境变量
hex-ci Nov 25, 2023
0ee03e3
Update smzdm_testing.js
hex-ci Nov 25, 2023
841691b
Update README.md
hex-ci Dec 15, 2023
1f9ba2e
Update README.md
hex-ci Feb 14, 2024
fb3044f
Update README.md
hex-ci Mar 13, 2024
6fcd154
Create FUNDING.yml
hex-ci Mar 14, 2024
a998b8b
Update README.md
hex-ci Mar 26, 2024
c008548
Update README.md
hex-ci May 31, 2024
eb1f9e6
Update README.md
hex-ci Jun 21, 2024
3cacbd0
Update README.md
hex-ci Jul 11, 2024
23070b0
Update README.md
hex-ci Jul 15, 2024
61e7d8a
Update README.md
hex-ci Jul 15, 2024
3bcd222
Update README.md
hex-ci Jul 15, 2024
c6ccf1c
Update README.md
hex-ci Jul 19, 2024
ca87127
Add files via upload
hex-ci Jul 23, 2024
194890d
Update README.md
hex-ci Jul 23, 2024
e7a0a57
Update README.md
hex-ci Jul 23, 2024
ab13703
Update README.md
hex-ci Jul 23, 2024
403fd5b
Update README.md
hex-ci Aug 3, 2024
4dfa742
Update README.md
hex-ci Aug 8, 2024
b7156e3
Update README.md
hex-ci Aug 10, 2024
f4aa84f
Update README.md
hex-ci Aug 29, 2024
a6c9f98
Update README.md
hex-ci Sep 24, 2024
d900ca5
Update README.md
hex-ci Feb 5, 2025
41ec80a
Update README.md
hex-ci Feb 6, 2025
8a20f51
Update README.md
hex-ci Mar 8, 2025
d308556
Update README.md
hex-ci Jun 5, 2025
b710304
Update README.md
hex-ci Jun 5, 2025
503e923
Update README.md
hex-ci Jun 8, 2025
9e06c62
Update library_task.js
hex-ci Jun 17, 2025
a471c2f
Update smzdm_task.js
hex-ci Jan 19, 2026
6ae9804
Update smzdm_task.js
hex-ci Jan 19, 2026
eff365b
Update README.md
hex-ci Jun 9, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# These are supported funding model platforms

github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
patreon: # Replace with a single Patreon username
open_collective: # Replace with a single Open Collective username
ko_fi: # Replace with a single Ko-fi username
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
liberapay: # Replace with a single Liberapay username
issuehunt: # Replace with a single IssueHunt username
lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry
polar: # Replace with a single Polar username
buy_me_a_coffee: # Replace with a single Buy Me a Coffee username
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
Binary file added .github/server.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
30 changes: 30 additions & 0 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs

name: Node.js CI

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [14.x, 16.x, 18.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v4
- run: npm i
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm run lint
24 changes: 20 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
# 自用脚本 for 青龙面板

[![Node.js CI](https://github.com/hex-ci/smzdm_script/actions/workflows/node.js.yml/badge.svg)](https://github.com/hex-ci/smzdm_script/actions/workflows/node.js.yml)

## 脚本内容

* 每日签到
* 每日抽奖
* 生活频道转盘抽奖
* 值会员转盘抽奖
* ~生活频道转盘抽奖~ (官方原因,活动过期)
* ~值会员转盘抽奖~ (官方原因,活动过期)
* 每日任务(指的是签到页面中的任务)
* 浏览文章
* 收藏文章
Expand All @@ -26,13 +28,14 @@
### 青龙拉库

```bash
ql repo https://github.com/hex-ci/smzdm_script.git "" "env.js|bot.js|sendNotify.js" "env.js|bot.js|sendNotify.js"
ql repo https://github.com/hex-ci/smzdm_script.git "smzdm_" "" "env.js|bot.js|sendNotify.js|library_" "main"
```

建议自行更改青龙面板的脚本执行时间

### NodeJS 依赖

* got@11
* crypto-js

### 抓包
Expand Down Expand Up @@ -60,13 +63,26 @@ ql repo https://github.com/hex-ci/smzdm_script.git "" "env.js|bot.js|sendNotify.
* `SMZDM_USER_AGENT_APP`: 这个值是可选值,是指 APP 的 User-Agent,从 APP 的 API 请求头中抓包得到,建议抓取 Android 的 User-Agent,不填使用脚本默认值。
* `SMZDM_USER_AGENT_WEB`: 这个值是可选值,是指 APP 中访问网页的 User-Agent,一般在 APP 内的转盘网页中抓包得到,建议抓取 Android 的 User-Agent,不填使用脚本默认值。
* `SMZDM_COMMENT`: 如果要完成评论文章的任务请设置这个环境变量,环境变量的内容是评论的文案,文案要大于 10 个汉字,建议用比较个性化的文案,脚本发布评论后会删除这条评论,但是为防止删除失败的情况,请尽量用好一点的文案,防止被判定为恶意灌水。
* `SMZDM_CROWD_SILVER_5`: 每日抽奖任务默认只进行免费抽奖,如要进行 5 碎银子的抽奖,请设置这个环境变量的值为 `yes`。
* `SMZDM_CROWD_SILVER_5`: 每日抽奖任务默认只进行免费抽奖,如要进行 5 碎银子的抽奖,请设置这个环境变量的值为 `yes`,请注意,只有在没有免费抽奖的时候,才会执行非免费抽奖,而且,这个抽奖不是转盘抽奖
* `SMZDM_CROWD_KEYWORD`: 抽奖关键词,执行非免费抽奖时,会优先选择包含此关键词的抽奖,如果未找到包含此关键词的抽奖,则会随机选择一个。
* `SMZDM_TASK_TESTING`: 是否运行全民众测能量值任务,如要运行此任务,请设置这个环境变量的值为 `yes`,否则不运行。

## 交流群

https://t.me/smzdm_script

## 推荐🐔场

自用🐔场,稳定,线路多,速度快,[点这里注册](https://xs-us.xyz/register?code=GMsubu2k)

## 其他🐑毛

微软积分商城奖励,[点这里注册](https://rewards.bing.com/welcome?rh=15761308&ref=rafsrchae),脚本看[这里](https://github.com/hex-ci/Microsoft-Rewards-Script)

## 其它说明

使用本脚本可能会造成你的账号临时或永久封禁,请自行评估是否使用本脚本。

## 注意事项

本仓库发布的脚本及其中涉及的任何解密分析脚本,仅用于测试和学习研究,禁止用于商业用途,不能保证其合法性,准确性,完整性和有效性,请根据情况自行判断。本项目内所有资源文件,禁止任何公众号、自媒体进行任何形式的转载、发布。您必须在下载后的 24 小时内从计算机或手机中完全删除以上内容。
Loading