Git Product home page Git Product logo

boxjs's Introduction

🚀 boxjs 脚本集合

功能说明

脚本 功能 支持情况
**联通 自动登录/流量监控与查询 ✔️
**电信 自动登录/流量监控与查询 ✔️
平安白云 改有效期无需充值续期 ✔️
筋斗云机场 自动加ip白名单 ✔️
百度网盘直链 修改useragent下载 ✔️
腾讯大王卡 动态免流 ✔️
脚本 模块地址
**联通 https://charming-gnome-9c9592.netlify.app/unicom.sgmodule
**电信 https://charming-gnome-9c9592.netlify.app/telecom.sgmodule
平安白云 https://charming-gnome-9c9592.netlify.app/pingan.sgmodule
筋斗云机场 https://charming-gnome-9c9592.netlify.app/cloud.sgmodule
百度网盘直链 https://charming-gnome-9c9592.netlify.app/baiduwp.sgmodule
腾讯大王卡 https://charming-gnome-9c9592.netlify.app/tencent.conf

开发阶段

  1. 安装依赖
npm i 
  1. 监听文件并编译
npm run dev 
  1. 更新模块

将模块的url地址添加到“小火箭”模块

上线打包

配置

在.env 文件配置线上地址

ONLINE_URL=https://charming-gnome-9c9592.netlify.app

编译打包

npm run build 

打包dist到服务器,建议打包至github作为线上环境

配置软件运行

将模块的url地址添加到“shadowrocket/surge/loon/qx”模块,在“BOXJS”订阅box.json的url地址 https://charming-gnome-9c9592.netlify.app/boxjs.json

API接口

API接口可用于手机本地接口服务,例如作为scriptable的接口

  1. 查询**联通流量

    http://10010.json

  2. **联通运行日志

    http://10010.log

  3. 平安白云运行日志

    http://pingan.log

  4. 平安白云蓝牙信息

    https://pingan.json.cpolar.cn

    http://pingan.json

  5. **电信运行日志

    http://10000.log

  6. 查询**电信流量

    http://10000.json

运行截图

平安白云

请务必添加如下reject规则,阻止平安白云上报打卡开门记录

URL-REGEX,baiyunuser\/statistics\/reportOpenDoorRecord,REJECT

腾讯大王卡

  • shadowrocket 配置lua代理服务器

服务器备注名 腾讯大王卡 IP 157.148.54.212 端口 8091 lua文件下载地址

https://charming-gnome-9c9592.netlify.app/txdwk.lua

  • 导入配置文件并选择

配置文件下载地址1 https://charming-gnome-9c9592.netlify.app/txdwk.conf

备选配置文件下载地址2 https://charming-gnome-9c9592.netlify.app/tencent.conf

  • 启动shadowrocket

浏览器访问入口 http://txdwk.json

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.