# fancymax/12306ForMac

An unofficial 12306 Client for Mac

Repository: https://github.com/fancymax/12306ForMac
Canonical: https://ross.abutalabs.com/products/12306formac
Language: Swift
License: MIT
License Family: permissive
Topics: swift, osx, train, 12306, ticket
Last push: 2019-01-19T12:14:58+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3865, "days_push": 2783, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2894, forks 420 (observed 2026-08-28T04:07:28.551437+00:00)

## What it is
An unofficial macOS desktop client for China Railway's 12306 ticketing system, built in Swift. It helps users book train tickets and grab released tickets directly from their Mac without needing the official website or a Windows virtual machine.

## Use cases
- book train tickets on 12306 from a Mac
- monitor and grab released train tickets automatically
- avoid using a Windows VM or the official 12306 website for booking
- query train schedules and availability on macOS
- learn how to build a Swift macOS app that talks to 12306 APIs

## When to choose
- you are on macOS and want a native 12306 ticket booking assistant
- you want to automatically watch for released train tickets
- you want a Swift codebase example of a macOS networking app

## When to avoid
- you need a currently working ticket booking tool - 12306 API changes may have broken it and the last release was 2019
- you are on Windows or Linux
- you need an officially supported or maintained client

## Facets
- artifact type: application
- maturity: abandoned
- function: gui, http-client, workflow-automation
- domain: travel, developer-tools, apple-ecosystem
- platform: -
- tags: 12306, train-tickets, china-railway, ticket-booking, swift, unofficial-client, macos, desktop

## Member repositories
- fancymax/12306ForMac (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:28.551437+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:35:17.535892+00:00, confidence not recorded.
  - readme: https://github.com/fancymax/12306ForMac (fetched 2026-08-28T04:07:28.551437+00:00, sha ce086b9a42f3)
- Data as of 2026-08-30T08:39:29.467469+00:00.
