Code Monkey home page Code Monkey logo

cloud189checkin's Introduction

Cloud189Checkin

天翼网盘自动签到(随机容量) 和抽奖(三次,每次 50M,共 150M)获取空间,家庭空间签到(随机容量)。

重要说明!!!

请勿直接修改 .env,然后提交到 github,源码仓库是公开的,别人可以直接看到你的账号密码。因为错误使用本仓库导致账号密码泄漏,本人概不负责!!!

目录

GitHub Action 运行

Fork 此仓库

设置账号密码

新版本的 git Action 需要创建 environment 来配合使用,创建一个名为 user 的环境。 创建好后编辑 user 环境,添加变量 TY_ACCOUNTS, userName 和 password 为你的天翼账号和密码,可以添加多个账号如[{"userName":"账号 1","password":"账号 1 的密码"},{"userName":"账号 2","password":"账号 2 的密码"}]

设置推送

Server 酱

为了考虑到不同客户端兼容性,采用了 Server 酱,只需多配置下 SENDKEY 就行,Server 酱的配置和 sendkey 的获取可参看Server 酱官网

TelegramBot 推送

  • TELEGRAM_BOT_TOKEN Telegram Bot Token
  • TELEGRAM_CHAT_ID Telegram 接收推送消息的会话 ID

微信群机器人推送

WxPusher 推送

执行任务

  1. 点击Action,再点击I understand my workflows, go ahead and enable them
  2. 给自己仓库点个 start 或者修改任意文件后提交一次或者手动点击运行
  3. 每天早上 10 点执行任务

查看运行结果

Actions > Cloud check in action > build

本地运行

环境配置

Node.js 18+

克隆项目

git clone https://github.com/wes-lin/Cloud189Checkin.git
cd Cloud189Checkin

安装依赖

npm install

运行

​ 修改源码中.env 中 userName 和 password 为你的天翼账号和密码,可以添加多个账号如[{"userName":"账号 1","password":"账号 1 的密码"},{"userName":"账号 2","password":"账号 2 的密码"}]

TY_ACCOUNTS=[{"userName":"userName","password":"password"}]

推送

修改 serverChan.js 或者添加环境变量 SENDKEY

执行命令

npm start

其他环境集成

我已经天翼网盘的相关 API 集成到SDK了,有编程能力的同学可以自行拓展,集成到自己的代码环境。

交流群

cloud189checkin's People

Contributors

wes-lin avatar j2rong4cn avatar lanyundev avatar hugcabbage avatar jqtmviyu avatar

Stargazers

 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.