runthai
v1.0.0
Published
CLI for finding upcoming Thai running events across multiple sources with filters for province, country, date, distance, and price.
Maintainers
Readme
runthai
runthai is a CLI for finding upcoming Thai running events across multiple public sources.
Install
After publishing to npm:
npm install -g runthaiFor local testing before publish:
npm install -g .Usage
runthai
runthai --all
runthai --province bangkok
runthai --month 2026-11 --province chiang mai --distance 10km
runthai --date 11/12/2026 --price-max 700
runthai --from 2026-11-01 --to 2026-12-31 --country thailand --json
runthai --provinces
runthai --monthsSupported filters
--province bangkok,chiang mai,ranong--country thailand,japan,united states--distance 5km,10km,21.1km--date 11/12/2026--from 2026-11-01 --to 2026-12-31--price-min 300--price-max 700--all
Notes
- Event data is merged from ThaiJogging, RunLah, and race.thai.run.
- Running
runthaiwith no filters shows a short usage hint instead of dumping a long unreadable list. - Default output shows up to 10 upcoming events.
- Use
runthai --allto show the first 10 upcoming events without filters. - Links prefer official registration/detail pages when available.
- Distance and price details are enriched automatically when you filter by distance or price.
- Not every linked event page exposes structured fee data, so some entries may have unknown price or distance.
