update 2026-07-28 01:38:11

This commit is contained in:
action committed 2026-07-28 01:38:11 +08:00
1 parent 20b786ab77
commit 25d570431d
6243 files changed
+2850542

No files matched your search

@@ -0,0 +1,3 @@
# Examples :
#XX:XX:XX:XX:XX:XX My Phone
#192.168.1.2 My PC
@@ -0,0 +1,42 @@
{
"_//": "-------------------------------------------------------------------------------",
"_readme": "这是 自定义 api 文件,这里以 telegram 为例",
"_readme": "特殊符号请使用斜杠转义,变量使用 ${var} 表示",
"_//": "-------------------------------------------------------------------------------",
"_api": "【DIY 推送】",
"_url": "api 地址",
"_data": "生成的 json 文件路径,一般不需要改,如 api 不支持 json,请参考 serverchan 推送接口",
"_content_type": "post 内容类型,这里为 json",
"_//": "-------------------------------------------------------------------------------",
"_str_title_start": "标题粗体字开始符号",
"_str_title_end": "标题粗体字结束符号",
"_str_linefeed": "换行符号",
"_str_splitline": "换行+分隔符",
"_str_space": "空格",
"_str_tab": "TAB(用在行首,生成文字区块)",
"_//": "-------------------------------------------------------------------------------",
"_type":
{
"_readme": "下文中,text 为 telegram 推送需要的键值名称,参见 telegram 官方文档,后面的内容为生成标题所需要的字符串和变量,${1} 为标题内容变量,${nowtime} 为推送时间,${2} 为推送内容变量",
"_readme": "下文中,chat_id 为 telegram 推送需要的键值名称,参见 telegram 官方文档,${tg_chat_id} 为从脚本配置中读取名为 tg_chat_id 的变量,其实就是你填写的机器人的 chat_id ",
"_readme": "type 对象因为需要转义变量,前后必须使用 斜杠+双引号 转义",
"_readme": "参照上文说明,填写下文相关参数"
},
"_//": "-------------------------------------------------------------------------------",
"url": "${tg_api_server}/bot${tg_token}/sendMessage",
"data": "@${tempjsonpath}",
"content_type": "Content-Type: application/json",
"str_title_start": "<b>",
"str_title_end": "</b>",
"str_linefeed": "\\n",
"str_splitline": "\\n----\\n",
"str_space": " ",
"str_tab": " ",
"type":
{
"text":"\"${str_title_start}${1}${str_title_end}${str_splitline}${nowtime}${2}\"",
"chat_id":"\"${tg_chat_id}\"",
"parse_mode":"\"HTML\""
}
}
@@ -0,0 +1,3 @@
https://ip.rss.ink/v1/qqwry?ip=${ip} | jq -r '.data.area'
ip.plus/${ip} | sed -n 's/.*来自: //p'
http://ip-api.com/json/${ip}?lang=zh-CN | jq -r '"\(.country) \(.regionName) \(.city)"'
Whitespace-only changes.
@@ -0,0 +1,8 @@
ddns.oray.com/checkip
www.net.cn/static/customercare/yourip.asp
ip.3322.net
ip.threep.top
ip.atomo.cn
ip.ddnspod.com
4.ipw.cn
ipv4.ip.mir6.com
@@ -0,0 +1,6 @@
speed.neu6.edu.cn/getIP.php
6.ipw.cn
ip.atomo.cn
ip.ddnspod.com
v6.ip.zxinc.org/getip
ipv6.ip.mir6.com
Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

@@ -0,0 +1,21 @@
{
"_api": "这是 msmtp api 文件",
"_api": "【msmtp】",
"url": "msmtp --host=${smtp_host} --port=${smtp_port} ${smtp_tls:+--tls=$smtp_tls} ${smtp_starttls:+--tls-starttls=$smtp_starttls} ${smtp_user:+--auth=on --user=$smtp_user} ${smtp_passwordeval:+--passwordeval=\\\"$smtp_passwordeval\\\"} ${smtp_from:+--from=$smtp_from} ${smtp_from_full_name:+-F\\\"$smtp_from_full_name\\\"} ${recipient_email}",
"data": "${tempjsonpath}",
"content_type": "",
"command": "'\"To: \\(.to)\\nSubject: \\(.subject)\\nContent-Type: text/html\\n\\n\\(.body)\"'",
"str_title_start": "<br><h3 style=\\\"margin: 0em 0em;\\\">",
"str_title_end": "</h3>",
"str_linefeed": "<br>",
"str_splitline": "<br><br><hr>",
"str_space": " ",
"str_tab": " ",
"type":
{
"to":"\"${recipient_email}\"",
"subject":"\"${1}\"",
"body":"\"${nowtime}${2}\""
}
}
@@ -0,0 +1,21 @@
{
"_api": "这是 pushplus api 文件",
"_api": "【pushplus】",
"url": "http://www.pushplus.plus/send",
"data": "@${tempjsonpath}",
"content_type": "Content-Type: application/json",
"str_title_start": "##### ",
"str_title_end": "",
"str_linefeed": "\\n",
"str_splitline": "\\n----\\n",
"str_space": " ",
"str_tab": " ",
"type":
{
"title": "\"${1}\"",
"content": "\"${2}\"",
"token": "\"${pushplus_token}\"",
"template":"\"markdown\""
}
}
@@ -0,0 +1,23 @@
{
"_api": "这是企业微信 markdown 模板信息 api 文件",
"_api": "【企业微信】",
"url": "https://qyapi.weixin.qq.com/cgi-bin/message/send?access_token=$(curl -s \"https://qyapi.weixin.qq.com/cgi-bin/gettoken?corpid=${corpid}&corpsecret=${corpsecret}\"|jq '.access_token' | sed 's/\"//g')",
"data": "@${tempjsonpath}",
"content_type": "Content-Type: application/json",
"str_title_start": "#### ",
"str_title_end": "",
"str_linefeed": "\\n",
"str_splitline": "\\n\\n",
"str_space": " ",
"str_tab": "> ",
"type":
{
"touser": "\"${userid}\"",
"msgtype": "\"markdown\"",
"agentid": "\"${agentid}\"",
"markdown": {
"content": "\"${1}${str_linefeed}${nowtime}${2}\""
}
}
}
@@ -0,0 +1,33 @@
{
"_api": "这是企业微信图文信息 api 文件",
"_api": "【企业微信】",
"url": "\"https://qyapi.weixin.qq.com/cgi-bin/message/send?access_token=$(curl -s \"https://qyapi.weixin.qq.com/cgi-bin/gettoken?corpid=${corpid}&corpsecret=${corpsecret}\"|jq '.access_token'|sed 's/\"//g')\"",
"data": "@${tempjsonpath}",
"content_type": "Content-Type: application/json",
"str_title_start": "<b>",
"str_title_end": "</b>",
"str_linefeed": "<br>",
"str_splitline": "<hr>",
"str_space": " ",
"str_tab": "",
"type":
{
"touser": "\"${userid}\"",
"msgtype": "\"mpnews\"",
"agentid": "\"${agentid}\"",
"mpnews":{
"articles":[
{
"title": "\"${1} ${nowtime}\"",
"thumb_media_id": "\"`curl \"https://qyapi.weixin.qq.com/cgi-bin/media/upload?access_token=$(curl -s \"https://qyapi.weixin.qq.com/cgi-bin/gettoken?corpid=${corpid}&corpsecret=${corpsecret}\"|jq '.access_token'|sed 's/\"//g')&type=image\" -F \"file=@${mediapath}\"|jq '.media_id'|sed 's/\"//g'`\"",
"author": "\"\"",
"content_source_url": "\"\"",
"content": "\"${2}\"",
"digest": "\"\""
}
]
},
"safe":0
}
}
@@ -0,0 +1,17 @@
{
"_api": "这是 serverchan api 文件",
"_api": "【serverchan】",
"url": "\"https://sctapi.ftqq.com/${sckey}.send\"",
"data": "\"text=${1}&desp=${nowtime}${str_linefeed}${2}\"",
"content_type": "Content-Type:application/x-www-form-urlencoded",
"str_title_start": "#### ",
"str_title_end": "",
"str_linefeed": "%0D%0A%0D%0A",
"str_splitline": "%0D%0A%0D%0A----%0D%0A%0D%0A",
"str_space": " ",
"str_tab": " ",
"type":
{
}
}
@@ -0,0 +1,20 @@
{
"_api": "这是 serverchan3 api 文件",
"_api": "【serverchan3】",
"url": "\"https://${sc3uid}.push.ft07.com/send/${sc3key}.send\"",
"data": "@${tempjsonpath}",
"content_type": "Content-Type: application/json",
"str_title_start": "##### ",
"str_title_end": "",
"str_linefeed": " \\n",
"str_splitline": "\\n----\\n",
"str_space": " ",
"str_tab": " ",
"type":
{
"title": "\"${1}\"",
"desp": "\"${nowtime}${str_linefeed}${2}\"",
"tags": "\"${sc3tags}\""
}
}
@@ -0,0 +1,21 @@
{
"_api": "这是 telegram api 文件",
"_api": "【telegram】",
"url": "${tg_api_server}/bot${tg_token}/sendMessage",
"data": "@${tempjsonpath}",
"content_type": "Content-Type: application/json",
"str_title_start": "<b>",
"str_title_end": "</b>",
"str_linefeed": "\\n",
"str_splitline": "\\n----\\n",
"str_space": " ",
"str_tab": "\\t",
"type":
{
"text":"\"${str_title_start}${1}${str_title_end}${str_splitline}${nowtime}${2}\"",
"chat_id":"\"${tg_chat_id}\"",
"message_thread_id":"\"${tg_thread_id}\"",
"parse_mode":"\"HTML\""
}
}
@@ -0,0 +1,23 @@
{
"_api": "这是 wxpusher api 文件",
"_api": "【wxpusher】",
"url": "http://wxpusher.zjiecode.com/api/send/message",
"data": "@${tempjsonpath}",
"content_type": "Content-Type: application/json",
"str_title_start": "#### ",
"str_title_end": "",
"str_linefeed": "\\n",
"str_splitline": "\\n----\\n",
"str_space": " ",
"str_tab": " ",
"type":
{
"summary":"\"${1}\"",
"content":"\"${2}\"",
"appToken":"\"${wxpusher_apptoken}\"",
"topicIds":"[\"${wxpusher_topicIds}\"]",
"uids":"[\"${wxpusher_uids}\"]",
"contentType":3
}
}