Giter Club home page Giter Club logo

app_scripts's Introduction

脚本执行管理


感谢猫猫提供技术支持


开发须知

如何在自己的脚本中引用软件获取的Cookie?
console.log(process.env.APP_COOKIE)
在开发中你也要避免变量重复
APP_COOKIE 这是默认必传的 也是系统级的

需要安装Node js

https://baidu.com

切换 npm 源

npm config set registry https://registry.npm.taobao.org/

需要执行

npm install

运行

node file.js


软件配置

关于软件你可以在 release 找到答案

库中的 config.json 文件是脚本的配置文件
{
    "name": "测试脚本",  // 脚本的名称(随便写 给展示的)
    "file": "test",  // 对应仓库中的文件名不包含后缀 (test.js)
    "version": "1",  // 这是版本 更新后改动这里
    "cron": "0 */2 * * * *", // 定时任务默认的配置
    "env": [
        {
            "envName": "xjhd", // 环境变量 比如你脚本中是 process.env.xjhd 
            "envHint": "习酒Token多个用@隔开" // 变量描述
        }
    ],
    "scope": "" // 如果是空就  京 了 美 三个都显示  如果跟包名 则对应显示  详情参考模板库
}

仓库配置

image

效果图

image image

app_scripts's People

Contributors

killall-love avatar

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.