WorkBuddy Daily Check-In via Cloudflare Worker—No Server Required!

Scan a QR code once with WeChat to hand your account over to a Cloudflare Worker; it will then renew tokens, check in on schedule, and record the results automatically—no computer, client installation, or server required.


  • All logic is in worker.js; paste the entire file into the web console and run it
  • Runs on the free tier of Cloudflare Workers + KV; two check-ins a day barely use any quota
  • The official login page is embedded in the interface. Scan with WeChat and confirm on your phone; the account is saved automatically, with no need to manually extract tokens
  • Built-in refresh_token exchange for new tokens, so the token chain never breaks
  • AES-256-GCM encryption; KV stores ciphertext only. Each account has its own salt + IV, and no API returns tokens

Deployment

  1. Create a new Worker, paste in the entire worker.js file → Deploy
  2. Bind one KV (WB_KV) + two Secrets (WB_MASTER_KEY, ADMIN_TOKEN)
  3. Add a Cron: 10 0 * * *

Open the URL, enter the password to access the console, click “Get Login QR Code,” scan it, and you’re done.

Notes: The API was reverse-engineered from the desktop client, so client upgrades may require compatibility updates. It’s recommended that you use this only with your own account—don’t use it to farm points with multiple accounts. Use at your own risk.

Project: [upvote]https://github.com/ggzhzc/workbuddy-trae-checkin[/upvote]

228 Likes

This is pretty good.

2 Likes

This is pretty good.

1 Like

mark

Let me take a look :ac32:

I just love it!

You’re freaking awesome, boss!

You’re awesome, boss! I’m going to use AI to tweak it a bit and deploy it on the QingLong panel.

2 Likes

Let me try it out.

This is awesome—finally, I can free up my hands.

This definitely deserves a star.

Thank you for sharing!

What a nice thought!

Good stuff!

Nice share

You’re awesome, boss!

What an amazing expert, benefiting everyone, huh?

You can add qoder zcode.

1 Like

Fucking awesome

Mark it.