Coder Social home page Coder Social logo

kinkir / monkey-master Goto Github PK

View Code? Open in Web Editor NEW

This project forked from qiin2333/monkey-master

0.0 1.0 0.0 309 KB

A deno tool for buying hot GPUs in JD, such as RTX3080 rx6800, a thick-skinned orange!

License: MIT License

JavaScript 98.87% Batchfile 0.28% Dockerfile 0.84%

monkey-master's Introduction

monkey-master

黄皮衣,酥麻罪恶滔天,此项目诞生于抢购猴卡 RTX3080、RX6800XT.....。

目录结构

monkey-master
├── order/
├── util/
├── conf.json               配置文件,可修改
├── index.js                入口
├── main.js
├── install.bat             安装脚本
├── start.bat               运行脚本
└── README.md

安装

安装 deno:

Shell (Mac, Linux):

curl -fsSL https://deno.land/x/install/install.sh | sh

PowerShell (Windows):

iwr https://deno.land/x/install/install.ps1 -useb | iex

安装依赖插件:

deno install -qAf --unstable https://deno.land/x/denon/denon.ts

启动

deno run --allow-env --allow-read --allow-write --allow-net --allow-run --unstable --no-check index.js

or

denon start

配置参数说明

在 conf.json 文件中配置必要参数:

参数 说明 是否必须 数据类型 默认值
timeout 请求超时时间 单位毫秒 Number 5000
useRandomUA 启动随机 user-agent Boolean false
intersection 提交订单请求重叠时间 Number 0.5
eid 设备 ID,部分系统可自动获取也可以手动配置 string
fp fingerprint,部分系统可自动获取也可以手动配置 string
sckey 用于下单成功的消息推送,这里借用第三方工具 http://sc.ftqq.com/ string
autoReserve 在定时下单时是否开启自动预约(当需要输入验证码时会跳过预约) Boolean true
openQrInNewWindow 在新窗口中打开二维码,为 false 时会在 terminal 中打开二维码 Boolean false

支持多实例多账号运行,具体帐号相关配置在运行时填写。

最佳实践

  • 操作之前建议删除购物车内的相关物品
  • 抢购时间的设置使用精确的实际时间即可,本公举通过客户端网络延迟计算了最后下单秒杀需要提前的时间
  • 增加金融分期商城接口下单速度更快,可从模式 2 进入。
  • 关于抢购模式的问题可以看看这里 issue #30
  • 还有问题?follow us

TODO

  • auto get fingerprint (e.g. eid,fp).
  • 秒杀商品
  • GUI - 改为 server 支持实现

monkey-master's People

Contributors

qiin2333 avatar wuqin0791 avatar doveeeee avatar baranwang avatar

Watchers

 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.