[KongchangAI]
· 1 min read· 832 words

GitHub Open-Source Ticket-Grabbing Workbench Tickets: Scheduled Sniping and Ticket Monitoring in Practice

GitHub Open-Source Ticket-Grabbing Workbench Tickets: Scheduled Sniping and Ticket Monitoring in Practice

GitHub open-source tool Tickets supports Damai and Bilibili, with scheduled sniping, auto-retry, and ticket monitoring.

This article introduces Tickets, a GitHub open-source desktop ticket-purchasing workbench supporting Damai and Bilibili Membership Purchase. With over 3,600 stars and 458 forks and continuous updates since 2023, its core features include preselecting session, tier, and attendee; scheduled tasks that auto-grab at sale time with server time calibration and error display; auto-retry at set counts and intervals; and multiple ticket monitors for sold-out sessions with in-app or WeChat push alerts. Payment stays on official pages; the tool doesn't handle transactions. The author notes it's for technical learning only.

Hot concerts sell out after just a couple of page refreshes — a shared experience for many. Tickets, an open-source tool introduced on Bilibili, is aimed squarely at this "always a step behind" pain point. It has accumulated over 3,600 stars and 458 forks on GitHub, and has been kept updated since its release in 2023. It positions itself as a desktop ticket-purchasing workbench supporting two platforms: Damai and Bilibili Membership Purchase.

458 forks

Core Features: Breaking the Ticket-Grabbing Flow into Configurable Steps

Using Tickets isn't complicated: save your accounts into the tool, paste the event link or project ID, preselect the session, ticket tier, and attendee, and everything is ready before the sale begins.

Everything ready before the sale

The most critical part is the scheduled task — the background watches the sale time and automatically starts grabbing tickets when the moment arrives. The tool also automatically calibrates the time, aligning with the server and even indicating the error margin, so you don't miss that few-second window due to local clock drift.

If you fail to grab a ticket, it can automatically retry according to preset counts and intervals.

Automatic retry at set counts and intervals

Scheduled Tasks and Time Synchronization: A "scheduled task" here means the program pre-sets a trigger time and automatically executes the ticket-grabbing action when that time arrives, with no need for manual page watching and clicking. "Automatic server time calibration" means sending a request to the platform's server to obtain its current time, comparing it with the local system clock, calculating the deviation, and adjusting the trigger timing. Because network transmission has latency, the tool typically measures the round-trip delay and compensates, so the ticket-grabbing request arrives at the server as close to the sale instant as possible. This kind of time synchronization mechanism is common in distributed systems; in ticket-grabbing scenarios, a deviation of a few hundred milliseconds can determine success or failure.

Ticket Monitoring and WeChat Notifications

There's no need to just wait for sessions that have already sold out. Tickets supports setting up ticket monitors, and you can run many at once, with customizable query intervals and counts. When tickets are found, in addition to in-app alerts, it can push notifications directly to WeChat.

Once you actually get a ticket, it prompts you to pay on the official page — the payment step is still completed through official channels; the tool itself does not get involved in the transaction.

Prompt to pay on the official page

Ticket Monitoring and Message Push: Ticket monitoring is essentially repeatedly querying the ticketing API at fixed intervals and triggering an alert once an available-for-purchase status is returned. Running multiple monitors in parallel means polling multiple sessions or ticket tiers simultaneously, and you should note that too-high query frequency may trigger platform rate limiting. WeChat push is usually implemented via a third-party push service or WeChat Official Account template messages: the tool sends detection results to the push channel, which then forwards them to the user's WeChat. This approach means users don't have to stare at the computer, but the arrival time of pushes is still affected by network and push service latency.

Multi-Account and Engineering Details

For multi-account users, Tickets supports unified management, with tasks on the two platforms not interfering with each other. Small features like UI color schemes, dark mode, and proxy subscriptions are all included; the approach is closer to a desktop workbench for long-term use than a one-off script.

The original Bilibili video specifically notes that this project is for technical learning and is not recommended for commercial ticket-scalping services.

Multi-Account Management and Platform Risk Control: Unified multi-account management means saving the login states of multiple platform accounts in one interface and configuring tasks separately for different accounts. Note that ticketing platforms typically have risk control strategies that detect abnormal operations by multiple accounts under the same device or IP; frequent switching or concurrent requests may trigger CAPTCHAs or even bans. The tool itself does not provide the ability to bypass risk control, and users should reasonably control request frequency. Proxy subscriptions distribute request sources by configuring proxy servers, but likewise cannot guarantee evasion of platform risk control rules.

A Rational View: Tools Can Optimize the Process, But Don't Guarantee Results

From a feature-design perspective, Tickets solves efficiency problems in two stages: "preparation" and "triggering" — filling in information in advance, aligning with server time, automatic retries, and continuous ticket monitoring. These can indeed reduce delays caused by manual operations, but success in grabbing tickets also depends on ticket supply, concurrency, and platform risk control; the tool itself provides no priority channel or bypass mechanism.

For tech enthusiasts, its value lies more in being a complete practical case of desktop automation: scheduled tasks, time synchronization, multi-task scheduling, and message push — combined, these modules form an engineering sample that can be taken apart and studied. If interested, you can search for the project name on GitHub to learn more.

#GitHub open source#ticket grabbing tool#Tickets#Damai#Bilibili Membership Purchase#ticket monitoring#scheduled tasks#WeChat notifications
Share:

Related articles