{
  "id": "dompling.app.sub",
  "name": "DomplingYaYa 应用订阅",
  "author": "@DomplingYaYa",
  "icon": "https://avatars3.githubusercontent.com/u/23498579?s=460&u=1e87605e4abc4e6ecf3edd8b1d730227f54db4d4&v=4",
  "repo": "https://github.com/dompling/Script",
  "apps": [
    {
      "id": "10010Ck",
      "name": "中国联通",
      "keys": ["@YaYa_10010.cookie"],
      "author": "@dompling",
      "icons": [
        "https://raw.githubusercontent.com/Orz-3/mini/master/Alpha/10010.png",
        "https://raw.githubusercontent.com/Orz-3/mini/master/Color/10010.png"
      ]
    },
    {
      "id": "10000Ck",
      "name": "中国电信",
      "keys": ["@yy_10000.china_telecom_loginUrl"],
      "settings": [
        {
          "id": "@yy_10000.china_telecom_loginUrl",
          "name": "电信登录地址",
          "val": null,
          "type": "text",
          "desc": ""
        }
      ],
      "author": "@dompling",
      "icons": [
        "https://raw.githubusercontent.com/Orz-3/mini/master/Alpha/10000.png",
        "https://raw.githubusercontent.com/Orz-3/mini/master/Color/10000.png"
      ]
    },
    {
      "id": "yy.Spotify",
      "name": "Spotify",
      "keys": [
        "BaiDu_APP_ID",
        "BaiDu_SECURITY_KEY",
        "@Spotify.music163",
        "@Spotify.cacheLyics",
        "@Spotify.autoTrans",
        "@Spotify.spotifyToken",
        "@Spotify.spotifyTo163Ids",
        "@Spotify.spotifyTo163Lyics",
        "@Spotify.clientId",
        "@Spotify.clientSecret"
      ],
      "author": "@dompling",
      "descs_html": [
        "<h2>百度翻译 API</h2>",
        "<ol>注册百度翻译个人开发者: <a href=\"http://api.fanyi.baidu.com/register\">开发者注册</a></ol>",
        "<ol>注册后如果需要认证可自行选择是否实人认证(高级版需要验证)</ol>",
        "<ol>开通(通用翻译)API服务: <a href=\"https://fanyi-api.baidu.com/choose\">服务开通</a></ol>",
        "<ol>appid和密钥: <a href=\"http://api.fanyi.baidu.com/manage/developer\">获取 APP_ID、SECURITY_KEY</a></ol>",
        "<h2>Spotify API</h2>",
        "<ol>登录: <a href=\"https://developer.spotify.com/dashboard\">开发者</a></ol>",
        "<ol>创建APP: <a href=\"https://developer.spotify.com/dashboard/create\">开发者</a></ol>"
      ],
      "settings": [
        {
          "id": "@Spotify.autoTrans",
          "name": "自动翻译",
          "val": true,
          "type": "boolean",
          "desc": "翻译后的内容直接显示在歌词播放界面"
        },
        {
          "id": "BaiDu_APP_ID",
          "name": "百度 APP_ID",
          "val": null,
          "type": "text",
          "desc": "APP_ID"
        },
        {
          "id": "BaiDu_SECURITY_KEY",
          "name": "百度 SECURITY_KEY",
          "val": null,
          "type": "text",
          "desc": "SECURITY_KEY"
        },
        {
          "id": "@Spotify.music163",
          "name": "网易云歌词",
          "val": true,
          "type": "boolean",
          "desc": "开启时,当歌曲无歌词时,自动在网易云搜索歌词匹配"
        },
        {
          "id": "@Spotify.cacheLyics",
          "name": "缓存歌词",
          "val": true,
          "type": "boolean",
          "desc": "读取到第三方音乐的歌词时,自动缓存"
        },
        {
          "id": "@Spotify.clientId",
          "name": "Spotify ClientId",
          "val": null,
          "type": "text",
          "desc": "ClientId"
        },
        {
          "id": "@Spotify.clientSecret",
          "name": "Spotify ClientSecret",
          "val": null,
          "type": "text",
          "desc": "ClientSecret"
        }
      ],
      "icons": [
        "https://raw.githubusercontent.com/Orz-3/mini/master/Color/Spotify.png",
        "https://raw.githubusercontent.com/Orz-3/mini/master/Color/Spotify.png"
      ]
    },
    {
      "id": "gistBackup",
      "name": "Gist备份",
      "keys": [
        "@gist.token",
        "@gist.username",
        "@gist.split",
        "@gist.revision_options",
        "@gist.backup_type",
        "@gist.backup_black_apps",
        "@gist.backup_white_apps"
      ],
      "author": "@dompling",
      "icons": [
        "https://raw.githubusercontent.com/Former-Years/icon/master/github-bf.png",
        "https://raw.githubusercontent.com/Former-Years/icon/master/github-bf.png"
      ],
      "descs_html": [
        "<h4>Token的获取方式</h4>",
        "<ol>头像菜单 -></ol>",
        "<ol>Settings -></ol>",
        "<ol>Developer settings -></ol>",
        "<ol>Personal access tokens -></ol>",
        "<ol>Generate new token -></ol>",
        "<ol>在里面找到 gist 勾选提交</ol>",

        "<h4>Gist Revision Id</h4>",
        "<ol>打开Gist项目</ol>",
        "<ol>默认为Code,选择Revisions</ol>",
        "<ol>找到需要恢复的版本文件</ol>",
        "<ol>点击右上角【...】>【View file】</ol>",
        "<ol>浏览器地址最后一串为 RevisionId</ol>",
        "<a href=\"/app/GistBackupBlackApp\" style=\"display: block;width: 100%;font-size: 20px;text-align: center;background: #1890ff;color: #fff;border-radius: 4px;overflow: hidden;text-decoration: none;padding: 5px;box-sizing: border-box;margin:10px 0\">Gist 数据黑名单</a>",
        "<a href=\"/app/GistBackupWhiteApp\" style=\"display: block;width: 100%;font-size: 20px;text-align: center;background: #1890ff;color: #fff;border-radius: 4px;overflow: hidden;text-decoration: none;padding: 5px;box-sizing: border-box;\">Gist 数据白名单</a>"
      ],
      "scripts": [
        {
          "name": "备份 Gist",
          "script": "https://raw.githubusercontent.com/dompling/Script/master/gist/backup.js"
        },
        {
          "name": "恢复 Gist",
          "script": "https://raw.githubusercontent.com/dompling/Script/master/gist/restore.js"
        },
        {
          "name": "更新历史版本",
          "script": "https://raw.githubusercontent.com/dompling/Script/master/gist/commit.js"
        }
      ],
      "settings": [
        {
          "id": "@gist.split",
          "name": "用户数据分段",
          "val": null,
          "type": "number",
          "placeholder": "用户数据过大时,请进行拆分防止内存警告⚠️",
          "desc": "值为数字,拆分段数比如 2 就拆分成两个 datas."
        },
        {
          "id": "@gist.revision_id",
          "type": "modalSelects",
          "name": "历史版本RevisionId",
          "desc": "不填写时,默认获取最新,恢复后会自动清空。选择无内容时,请运行上方更新历史版本",
          "items": "@gist.revision_options"
        },
        {
          "id": "@gist.backup_type",
          "name": "备份/恢复内容",
          "val": "usercfgs,datas,sessions,curSessions,backups,appSubCaches",
          "type": "checkboxes",
          "items": [
            {
              "key": "usercfgs",
              "label": "用户偏好"
            },
            {
              "key": "datas",
              "label": "用户数据"
            },
            {
              "key": "sessions",
              "label": "应用会话"
            },
            {
              "key": "curSessions",
              "label": "当前会话"
            },
            {
              "key": "backups",
              "label": "备份索引"
            },
            {
              "key": "appSubCaches",
              "label": "应用订阅缓存"
            }
          ]
        },
        {
          "id": "@gist.username",
          "name": "用户名",
          "val": null,
          "type": "text",
          "placeholder": "github 用户名",
          "desc": "必填"
        },
        {
          "id": "@gist.token",
          "name": "Personal access tokens",
          "val": null,
          "type": "text",
          "placeholder": "github personal access tokens",
          "desc": "必填"
        }
      ]
    },
    {
      "id": "GistBackupBlackApp",
      "name": "数据黑名",
      "author": "@dompling",
      "icons": [
        "https://raw.githubusercontent.com/dompling/Script/master/icon/github-black.jpg",
        "https://raw.githubusercontent.com/dompling/Script/master/icon/github-black.jpg"
      ],
      "keys": ["@gist.backup_black_apps"],
      "settings": [
        {
          "id": "@gist.backup_black_apps",
          "name": "请运行【刷新APP】,刷新后再刷新当前页面",
          "val": "",
          "type": "textarea",
          "placeholder": "请运行【刷新APP】",
          "desc": "除黑名单相关 APP 的 Key 到用户数据,无选择内容时,请运行【刷新APP】"
        }
      ],
      "scripts": [
        {
          "name": "备份 Gist (除黑名单)",
          "script": "https://raw.githubusercontent.com/dompling/Script/master/gist/backup.js"
        },
        {
          "name": "恢复 Gist (除黑名单)",
          "script": "https://raw.githubusercontent.com/dompling/Script/master/gist/restore.js"
        },
        {
          "name": "刷新APP",
          "script": "https://raw.githubusercontent.com/dompling/Script/master/gist/refreshApps.js"
        }
      ],
      "descs_html": [
        "<h4>【同步提示】</h4>",
        "<p style=\"color:red\">白名单中,仅备份包含的 app(优先于黑名单)</p>",
        "黑名单中包含的 app 会跳过备份和恢复",
        "<a href=\"/app/gistBackup\" style=\"display: block;width: 100%;font-size: 20px;text-align: center;background: #1890ff;color: #fff;border-radius: 4px;overflow: hidden;text-decoration: none;padding: 5px;box-sizing: border-box;margin:10px 0\">Gist 配置</a>",
        "<a href=\"/app/GistBackupWhiteApp\" style=\"display: block;width: 100%;font-size: 20px;text-align: center;background: #1890ff;color: #fff;border-radius: 4px;overflow: hidden;text-decoration: none;padding: 5px;box-sizing: border-box;\">Gist 数据白名单</a>"
      ]
    },
    {
      "id": "GistBackupWhiteApp",
      "name": "数据白名",
      "author": "@dompling",
      "icons": [
        "https://raw.githubusercontent.com/dompling/Script/master/icon/github-white.jpg",
        "https://raw.githubusercontent.com/dompling/Script/master/icon/github-white.jpg"
      ],
      "keys": ["@gist.backup_white_apps"],
      "settings": [
        {
          "id": "@gist.backup_white_apps",
          "name": "请运行【刷新APP】,刷新后再刷新当前页面",
          "val": "",
          "type": "textarea",
          "placeholder": "请运行【刷新APP】",
          "desc": "白名单相关 APP 的 Key 到用户数据,无选择内容时,请运行【刷新APP】"
        }
      ],
      "scripts": [
        {
          "name": "备份 Gist (仅备份白名单)",
          "script": "https://raw.githubusercontent.com/dompling/Script/master/gist/backup.js"
        },
        {
          "name": "恢复 Gist (仅恢复白名单)",
          "script": "https://raw.githubusercontent.com/dompling/Script/master/gist/restore.js"
        },
        {
          "name": "刷新APP",
          "script": "https://raw.githubusercontent.com/dompling/Script/master/gist/refreshApps.js"
        }
      ],
      "descs_html": [
        "<h4>【同步提示】</h4>",
        "<p style=\"color:red\">白名单中,仅备份包含的 app(优先于黑名单)</p>",
        "黑名单中包含的 app 会跳过备份和恢复",
        "<a href=\"/app/gistBackup\" style=\"display: block;width: 100%;font-size: 20px;text-align: center;background: #1890ff;color: #fff;border-radius: 4px;overflow: hidden;text-decoration: none;padding: 5px;box-sizing: border-box;margin:10px 0\">Gist 配置</a>",
        "<a href=\"/app/GistBackupBlackApp\" style=\"display: block;width: 100%;font-size: 20px;text-align: center;background: #1890ff;color: #fff;border-radius: 4px;overflow: hidden;text-decoration: none;padding: 5px;box-sizing: border-box;\">Gist 数据白名单</a>"
      ]
    },
    {
      "id": "scriptable",
      "name": "桌面组件",
      "keys": ["scriptable"],
      "icons": [
        "https://scriptablejs.gitee.io/store/favicon.ico",
        "https://scriptablejs.gitee.io/store/favicon.ico"
      ],
      "author": "@dompling",
      "repo": ""
    },
    {
      "id": "ql",
      "name": "青龙同步",
      "keys": [
        "@ql.ip",
        "@ql.client_id",
        "@ql.client_secret",
        "@ql.username",
        "@ql.password",
        "@ql.env",
        "@ql.ENV_KEY",
        "@ql.mute",
        "@ql.is_pwd"
      ],
      "settings": [
        {
          "id": "@ql.mute",
          "name": "静音",
          "val": false,
          "type": "boolean",
          "desc": "同步时,不会执行通知提示"
        },
        {
          "id": "@ql.is_pwd",
          "name": "开启密码登陆",
          "val": false,
          "type": "boolean",
          "desc": "同步时,优先使用密码登陆"
        },
        {
          "id": "@ql.ENV_KEY",
          "name": "环境变量KEY",
          "val": "",
          "type": "textarea",
          "autoGrow": false,
          "placeholder": "boxjs 同步到 Ql 的环境变量",
          "primary": ["BoxJsKey"],
          "childScripts": [
            {
              "name": "同步到青龙",
              "script": "https://raw.githubusercontent.com/dompling/Script/master/jd/boxjs_env_to_ql.js"
            }
          ],
          "child": [
            {
              "id": "BoxJsKey",
              "name": "BoxJS缓存Key",
              "type": "cacheKey",
              "desc": "读取BoxJS对应Key的值"
            },
            {
              "id": "qlKey",
              "name": "青龙环境变量KEY",
              "type": "text"
            },
            {
              "id": "remark",
              "name": "覆盖备注",
              "type": "textarea",
              "placeholder": "请输入覆盖备注",
              "desc": "覆盖和青龙环境变量中备注相同的变量"
            }
          ]
        },
        {
          "id": "@ql.ip",
          "name": "青龙登陆的域名或IP:端口号",
          "val": "",
          "type": "text",
          "placeholder": "111.21.0.32:5700"
        },
        {
          "id": "@ql.client_id",
          "name": "应用 Client ID",
          "val": "",
          "type": "text"
        },
        {
          "id": "@ql.client_secret",
          "name": "应用 Client Secret",
          "val": "",
          "type": "text"
        },
        {
          "id": "@ql.username",
          "name": "账号",
          "val": "",
          "type": "text"
        },
        {
          "id": "@ql.password",
          "name": "密码",
          "val": "",
          "type": "text"
        }
      ],
      "icons": [
        "https://raw.githubusercontent.com/dompling/Script/master/image/ql.png",
        "https://raw.githubusercontent.com/dompling/Script/master/image/ql.png"
      ],
      "author": "@dompling",
      "repo": "https://github.com/dompling/Script/blob/master/jd/ql_cookie_sync.js",
      "scripts": [
        {
          "name": "青龙同步到BoxJS(京东 Ck)",
          "script": "https://raw.githubusercontent.com/dompling/Script/master/jd/ql_sync_box.js"
        },
        {
          "name": "BoxJS同步到青龙(京东 Ck)",
          "script": "https://raw.githubusercontent.com/dompling/Script/master/jd/ql_cookie_sync.js"
        },
        {
          "name": "BoxJS指定Key同步到青龙",
          "script": "https://raw.githubusercontent.com/dompling/Script/master/jd/boxjs_env_to_ql.js"
        },
        {
          "name": "备份环境变量",
          "script": "https://raw.githubusercontent.com/dompling/Script/master/jd/ql_env_back.js"
        },
        {
          "name": "恢复备份环境变量",
          "script": "https://raw.githubusercontent.com/dompling/Script/master/jd/ql_env_upload.js"
        }
      ],
      "descs_html": [
        "青龙 docker 的安装方式请移步 tg 频道",
        "青龙 docker 作者仓库:【<a href=\"https://github.com/whyour\">github</a>】",
        "青龙 docker 频道:【<a href=\"https://t.me/qiongqiya\">电报频道</a>】",
        "应用client_id,client_secret(openapi)方式;请去 设置->应用 中添加相关参数,优先以 openapi 方式同步"
      ]
    },
    {
      "id": "JD_Cookies_remark",
      "name": "登录助手",
      "keys": ["CookieIndex", "@jd_ck_remark.remark", "@jd_ck_remark.mute"],
      "descs_html": [
        "若需要方便浏览:右上角菜单->打开调试模式->调试页面地址",
        "<a href='https://raw.githubusercontent.com/dompling/chavyleung-boxjs/boxjs/box/chavy.boxjs.html' target='_blank'>调试页面地址</a>"
      ],
      "settings": [
        {
          "id": "@jd_ck_remark.mute",
          "name": "静音",
          "val": false,
          "type": "boolean",
          "desc": "不会执行通知提示"
        },
        {
          "id": "CookieIndex",
          "name": "默认账号",
          "val": 0,
          "type": "text",
          "autoGrow": false,
          "rows": 2,
          "placeholder": "cookie 下标(0)"
        },
        {
          "id": "@jd_ck_remark.actions",
          "name": "快捷跳转",
          "val": "",
          "type": "textarea",
          "autoGrow": false,
          "rows": 4,
          "desc": "快捷跳转 (JSON 格式)",
          "primary": ["title"],
          "child": [
            {
              "id": "title",
              "name": "标题",
              "type": "text"
            },
            {
              "id": "icon",
              "name": "图标",
              "type": "text"
            },
            {
              "id": "url",
              "name": "跳转地址",
              "type": "text"
            },
            {
              "id": "where",
              "name": "显示条件",
              "type": "text"
            },
            {
              "id": "color",
              "name": "图标背景",
              "type": "colorpicker"
            }
          ]
        },
        {
          "id": "@jd_ck_remark.remark",
          "name": "CK 备注列表",
          "val": "",
          "type": "textarea",
          "autoGrow": false,
          "rows": 8,
          "desc": "CK 备注列表 (JSON 格式)",
          "primary": ["nickname", "status"],
          "child": [
            {
              "id": "index",
              "name": "下标",
              "type": "text",
              "disabled": true
            },
            {
              "id": "username",
              "name": "用户 pin",
              "disabled": true,
              "type": "text"
            },
            {
              "id": "nickname",
              "name": "昵称",
              "type": "text"
            },
            {
              "id": "qywxUserId",
              "name": "企业微信通知 ID",
              "type": "text"
            },
            {
              "id": "cardId",
              "name": "身份证",
              "type": "text"
            },
            {
              "id": "paymentCode",
              "name": "支付密码",
              "type": "text"
            },
            {
              "id": "avatar",
              "name": "头像",
              "type": "text"
            },
            {
              "id": "mobile",
              "name": "手机号",
              "type": "text"
            },
            {
              "id": "remark",
              "name": "备注",
              "type": "text"
            },
            {
              "id": "isPlusVip",
              "name": "是否是 VIP",
              "disabled": true,
              "type": "text"
            },
            {
              "id": "beanNum",
              "name": "京豆数量",
              "disabled": true,
              "type": "text"
            },
            {
              "id": "fruit",
              "name": "农场进度",
              "disabled": true,
              "type": "text"
            }
          ]
        }
      ],
      "icons": [
        "https://raw.githubusercontent.com/Orz-3/mini/master/jd.png",
        "https://raw.githubusercontent.com/Orz-3/task/master/jd.png"
      ],
      "author": "@dompling",
      "repo": "https://github.com/dompling/Script/blob/master/jd/jd_cookie_search.js",
      "script": "https://raw.githubusercontent.com/dompling/Script/master/jd/jd_cookie_search.js"
    },
    {
      "id": "JD_Cookies",
      "name": "京东账号",
      "keys": ["CookiesJD", "cks_get_mute"],
      "descs_html": [
        "若需要方便浏览:右上角菜单->打开调试模式->调试页面地址",
        "<a href='https://raw.githubusercontent.com/dompling/chavyleung-boxjs/boxjs/box/chavy.boxjs.html' target='_blank'>调试页面地址</a>"
      ],
      "settings": [
        {
          "id": "cks_get_mute",
          "name": "静音获取",
          "val": false,
          "type": "boolean",
          "desc": "更新时,不会执行通知提示"
        },
        {
          "id": "del_condition",
          "name": "删除条件",
          "val": "",
          "type": "text",
          "desc": "输入的条件,运行一次之后则会清空条件"
        },
        {
          "id": "CookiesJD",
          "name": "CK 列表",
          "val": "",
          "type": "textarea",
          "autoGrow": false,
          "rows": 8,
          "desc": "CK 列表 (JSON 格式)",
          "primary": ["userName"],
          "child": []
        }
      ],
      "icons": [
        "https://raw.githubusercontent.com/Orz-3/mini/master/jd.png",
        "https://raw.githubusercontent.com/Orz-3/task/master/jd.png"
      ],
      "author": "@dompling",
      "repo": "https://github.com/dompling/Script/blob/master/jd/JD_extra.js",
      "scripts": [
        {
          "name": "京东签到",
          "script": "https://raw.githubusercontent.com/dompling/Script/master/jd/JD_extra_sign.js"
        },
        {
          "name": "删除相关 ck",
          "script": "https://raw.githubusercontent.com/dompling/Script/master/jd/jd_ck_del.js"
        }
      ]
    },
    {
      "id": "ftms",
      "name": "丰田汽车",
      "keys": ["@ftms.headers", "@ftms.mute"],
      "author": "@dompling",
      "settings": [
        {
          "id": "@ftms.mute",
          "name": "静音获取",
          "val": false,
          "type": "boolean",
          "desc": "更新时,不会执行通知提示"
        }
      ],
      "icons": [
        "https://raw.githubusercontent.com/dompling/Scriptable/master/images/ftms.png",
        "https://raw.githubusercontent.com/dompling/Scriptable/master/images/ftms.png"
      ]
    },
    {
      "id": "SET_TIME",
      "name": "定时任务",
      "keys": ["@SET_TIME.TASK", "@SET_TIME.SUB", "@SET_TIME.CACHE"],
      "author": "@dompling",
      "settings": [
        {
          "id": "@SET_TIME.SUB",
          "name": "任务订阅",
          "val": "",
          "type": "textarea",
          "desc": "QX 定时任务配置",
          "primary": ["author"],
          "autoGrow": false,
          "rows": 8,
          "child": [
            {
              "id": "author",
              "name": "作者",
              "type": "text"
            },
            {
              "id": "url",
              "name": "订阅链接",
              "type": "text"
            }
          ]
        }
      ],
      "icons": [
        "https://raw.githubusercontent.com/dompling/Script/master/icon/setTime.png",
        "https://raw.githubusercontent.com/dompling/Script/master/icon/setTime.png"
      ]
    }
  ]
}