Giter Club home page Giter Club logo

daily-bonus's Introduction

Daily-Bonus

GitHub stars GitHub forks GitHub issues

使用 Github Action 签到,用哪个就配置相应的环境变量,默认输出到控制台,支持 Telegram 消息推送。

说明

实现功能

  • v2ex (铜币)
    • 如果使用默认的 Github Action Runner,由于时区不同,定时任务签的是昨天
  • bilibili 直播(辣条)
  • yamibo 论坛(对象)
  • yurifans 论坛(积分)
  • telegram-bot 推送
  • ff14 (积分)【修复中】
  • 哔咔漫画打卡(哔咔)【未验证】

Telegram 推送签到结果

使用方式

  1. 右上角 star 本仓库(可选/支持)
  2. 右上角 fork 本仓库
  3. 添加环境变量:Settings - Secrets and variables - Actions - New repository secret
  4. 修改 .github/workflows/checkin.yml: 删除 self-hosted 并提交
  5. 北京时间每天早上 7:30 定时运行,或仓库 master 分支有提交时触发
内容 说明 备注
secret 添加之后可以更新值,但看不到之前设置的值,且不能修改名称
self-hosted 将自己的机器注册为 runner 参照 Hosting your own runners - GitHub Docs
ubuntu-latest 使用 github 提供的 runner 参照 Using GitHub-hosted runners - GitHub Docs
更新 打开自己的仓库页面,点击 Sync fork - Update branch 即可,注意更新会触发一次签到

注意

  1. 300 论坛使用 github runner 签到时会遇到 cloudflare 人机验证
  2. 签到失败可以在 Action 页面尝试 Re-run,例如 5.8 已手动完成 v2ex 签到,5.9 定时运行签到昨天显示失败,手动触发重新运行签到成功
runner 定时运行 手动触发
self-hosted
ubuntu-latest

配置

Telegram 推送

Name Description How to
TG_BOT_TOKEN bot token How Do I Create a Bot?
TG_USER_ID user id How can I send a message to someone with my telegram bot using their Username

V2EX

V2EX 论坛使用 Cookie 登录 (20240813-更新

Name Description
V2EX_COOKIES Cookie

Bilibili

bilibili 直播使用 Cookie 登录

Name Description
BILIBILI_COOKIES Cookie

Yamibo

300 论坛使用 Cookie 登录

Name Description
YAMIBO_COOKIES Cookie

Yurifans

Yurifans 使用邮箱和密码登录

Name Description
YURIFANS_EMAIL 邮箱
YURIFANS_PASSWORD 密码

FFXIV【修复中】

FF14 积分商城使用账号和密码登录

Name Description
FFIXV_USERNAME 账号
FFIXV_PASSWORD 密码
FFXIV_AREA_NAME 大区名
FFXIV_SERVER_NAME 服务器名
FFXIV_ROLE_NAME 角色名

Picacomic【未验证】

哔咔漫画使用账号(邮箱/用户名)和密码登录

Name Description
PICA_EMAIL 邮箱或用户名
PICA_PASSWORD 密码

许可证

MIT

其他

开发工具

  • Fiddler 4
  • Python 3.8.5
  • GitHub Actions

参阅

daily-bonus's People

Contributors

jckling avatar dependabot[bot] avatar 5icruise avatar cloudac7 avatar liuxinyuanxy 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.