Giter VIP home page Giter VIP logo

dingding-autosign's Introduction

DingAutoSign

通过 adb 来实现自动打卡

仅用于学习和测试,作者本人并不对其负责,请于运行测试完成后自行删除,请勿滥用!

使用说明

  1. Windows操作系统和 go 环境
  2. 需要安卓 adb 驱动,并且启动 adb start-server
  3. 一台安卓手机连接电脑,需要开启开发者模式和 usb 调试功能。查看是否有连接上命令 adb devices
  4. 将 temp_config.json 改名为 config.json, 获取坐标则在开发者选项/指针位置
  5. 需要定时执行的话, 可以用 windows 定时任务来执行 execute.bat

配置须知

{
  // 锁屏配置 
  "lock": {
    "require": true, // 是否有锁屏, true为有
    "password": "****", // 锁屏密码
    "coordinate": {
      "x": 0, // 锁屏解锁坐标X
      "y": 0  // 锁屏解锁坐标X
    }
  },
  // 解锁后是否需要启动钉钉 
  "start_dingding": {
    "require": true, // 需要则为true 
    "coordinate": {
      "x": 0, // 钉钉应用在桌面坐标X
      "y": 0 // 钉钉应用在桌面坐标Y
    }
  },
  // 钉钉工作台
  "work_platform": {
    "coordinate": {
      "x": 553, // 钉钉工作台坐标X
      "y": 1703 // 钉钉工作台坐标Y
    }
  },
  // 钉钉打卡坐标
  "sign": {
    "coordinate": {
      "x": 0, // 钉钉打卡坐标X
      "y": 0  // 钉钉打卡坐标Y
    },
    // 点击钉钉打卡
    "click": {
      "x": 0, // 点击钉钉打卡坐标X
      "y": 0  // 点击钉钉打卡坐标Y
    },
    // 钉钉打卡需要拍照
    "photo": {
      "require": false, // 需要则为true
      "coordinate": {
        "x": 0, // 钉钉打卡拍照坐标X
        "y": 0  // 钉钉打卡拍照坐标Y
      }
    }
  }
}

参考

License

MIT

dingding-autosign's People

Contributors

uuk020 avatar

Stargazers

 avatar Jing Liu  avatar

Watchers

James Cloos avatar  avatar

Forkers

shliujing

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.