explaingit

spanky96/glm-coding-grabber

Analysis updated 2026-05-18

34JavaScriptAudience · developerComplexity · 3/5Setup · moderate

TLDR

A Tampermonkey userscript that automates buying limited GLM Coding subscription plans, using a local Python captcha solver and precise server time syncing to catch fast sellouts.

Mindmap

mindmap
  root((glm coding grabber))
    What it does
      Auto buy GLM plans
      Captcha solving
      Precise timing
      Auto retry on sellout
    Tech stack
      JavaScript
      Tampermonkey
      Python
      Flask
      ddddocr
    Use cases
      Snipe plan sale
      Skip redirect page
      Local captcha solving
    Requirements
      Chrome or Edge
      Tampermonkey extension
      Python 3.8+

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Automatically buy a GLM Coding subscription the moment it goes on sale using precise time syncing.

USE CASE 2

Solve pop up captchas locally in about 100 milliseconds so cloud captcha services do not slow down the purchase.

USE CASE 3

Skip the checkout redirect page by locking in the order directly through the sign up API.

USE CASE 4

Automatically retry the purchase if it briefly shows as sold out.

What is it built with?

JavaScriptTampermonkeyPythonFlaskddddocr

How does it compare?

spanky96/glm-coding-grabberquyanhfex/messenger-recall-toolrotejin/tomari-guruguru
Stars343434
LanguageJavaScriptJavaScriptJavaScript
Setup difficultymoderatemoderateeasy
Complexity3/53/52/5
Audiencedeveloperdevelopergeneral

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Requires running a local Python captcha service and enabling Tampermonkey developer settings.

In plain English

glm-coding-grabber is a browser userscript built for Tampermonkey that helps buy limited subscription plans for GLM Coding, a code assistant service from a company called Zhipu. The tool is aimed at people who want to purchase these plans right when they open for sale, since the plans often sell out quickly. The script pairs with a small local Python service that runs a Chinese character captcha solver called ddddocr. When the purchase page shows a click based captcha, the local service recognizes the characters in about 100 milliseconds, which the author says is much faster than sending the image to a cloud captcha solving service. The script also measures the time difference between the user's computer clock and the server's clock, taking several samples and using the middle value so it can time its purchase attempts precisely. Once a purchase preview succeeds, the script can call the sign up API directly to lock in the order, skipping the usual redirect page. Locking in the order this way is described in the README as the recommended setting, though it requires the user to allow page redirects in Tampermonkey's settings. If the purchase page reports the item as sold out, the script automatically tries again on its own. There is also a draggable control panel on the page where a user chooses the plan length and tier, sets a target time, and starts or pauses the process. To use it, a person needs Chrome or Edge with the Tampermonkey extension installed, plus Python 3.8 or newer to run the local captcha service. Setup means cloning the project, installing the Python dependencies for the captcha service, starting that service, and then installing the userscript file into Tampermonkey. The README warns that the browser window should stay taller than 900 pixels so a payment QR code displays correctly, and that the purchase page should not be refreshed right before the sale starts. The author also notes that even with the tool, getting a purchase through still depends on some luck. The README includes a referral link for the plan the author is selling access to.

Copy-paste prompts

Prompt 1
How do I set up the ddddocr Python captcha service from glm-coding-grabber and confirm it is running correctly?
Prompt 2
Walk me through installing the glm-coding-grabber Tampermonkey script and enabling page redirects for auto lock in.
Prompt 3
Explain what the server clock calibration step in glm-coding-grabber does and why it matters for timing a purchase.
Prompt 4
What Tampermonkey settings do I need to change before running glm-coding-grabber's auto lock in feature?

Frequently asked questions

What is glm-coding-grabber?

A Tampermonkey userscript that automates buying limited GLM Coding subscription plans, using a local Python captcha solver and precise server time syncing to catch fast sellouts.

What language is glm-coding-grabber written in?

Mainly JavaScript. The stack also includes JavaScript, Tampermonkey, Python.

How hard is glm-coding-grabber to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is glm-coding-grabber for?

Mainly developer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.