Coder Social home page Coder Social logo

jpf199 / okjiasu_action Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jaysonwujq/okjiasu_action

0.0 0.0 0.0 6.74 MB

机场https://okjiasu.com 的自动签到脚本

Home Page: https://h7ml.github.io/okjiasu_action/

License: Apache License 2.0

JavaScript 100.00%

okjiasu_action's Introduction

🏵️ okjiasu_action

基于github工作流的okjiasu.com签到脚本。可白嫖流量!

008hT4DMly1gwphdd018zg306y068axz.gif

服务支持

  • github actions
  • 本地运行

注册

功能说明

每日定时签到,白嫖机场流量

使用 github workflows 进行托管

h7ml/okjiasu_action 大约在每天的北京时间 8:00 左右执行

  1. Fork 仓库

  2. 在仓库 Settings->Secrets->Actions中添加如下几个变量:

    NAME VALUE
    EMAIL_USER 发送邮件的邮箱账号
    EMAIL_PASS 发送邮件的授权码
    USER_EMAIL 接收通知的邮箱账号
    OK_USER okjiasu - 账号
    OK_PASSWORD okjiasu - 密码
  3. Settings->Actions确保 actions 是开启状态

  4. 关于发送邮件通知,本项目通知使用的是 qq 邮箱,如果你想使用其他邮件服务商进行推送,记得在config.jsemail.provider选项中进行配置修改

本地运行

  1. clone 本仓库

    git clone https://github.com/h7ml/okjiasu_action.git
  2. 进入项目

    cd okjiasu_action
  3. 安装依赖

    yarn install
  4. 在项目根目录新建 .env 文件,内容如下:

    # 发送邮件的邮箱账号
    EMAIL_USER=""
    
    # 发送邮件的授权码
    EMAIL_PASS=""
    
    # 接收通知的邮箱账号
    USER_EMAIL=""
    
    # okjiasu - 账号
    OK_USER=""
    
    # okjiasu - 密码
    OK_PASSWORD=""
    
  5. yarn install 安装完依赖后,执行 yarn run serve 即可

  6. index.js 中 配置 headless:false 可显示浏览器界面(部署时记得改为 true) screenshot

今日免费节点

采集时间: 2023-01-03 00:55:39

节点名称 节点链接 节点二维码

okjiasu_action's People

Contributors

h7ml avatar motingfeng avatar hnsycxm avatar okjiasu 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.