getactivity/provincejson — explained in plain English
Analysis updated 2026-07-18 · repo last pushed 2026-04-30
Build a location picker dropdown for a Chinese e-commerce checkout page.
Create a registration form that asks users for their province, city, and district.
Populate a food delivery app with accurate Chinese delivery zones.
Verify and update your existing China location data against recent administrative changes.
| getactivity/provincejson | direnv/direnv-vscode | yangtiming/fast-sam-3d-body | |
|---|---|---|---|
| Stars | 250 | 250 | 250 |
| Language | — | TypeScript | Python |
| Last pushed | 2026-04-30 | 2024-12-04 | — |
| Maintenance | Maintained | Stale | — |
| Setup difficulty | easy | moderate | hard |
| Complexity | 1/5 | 2/5 | 5/5 |
| Audience | developer | developer | researcher |
Figures from each repo's GitHub metadata at analysis time.
Just download or copy the JSON file into your project and load it, no dependencies or configuration required.
ProvinceJson is a data file that gives you a complete, up-to-date list of every province, city, and district in China. If you are building an app or website where users need to select their location, this ready-made dataset saves you from having to research and compile all of that administrative geography yourself. The project provides this information in JSON format, which is a structured way of organizing data that apps and websites can easily read. It covers China's three-tier administrative system: provinces at the top, cities in the middle, and districts or counties at the bottom. The maintainer has also applied a specific ordering, direct-administered municipalities like Beijing and Shanghai are listed first, provinces are ranked by GDP, and autonomous regions are placed toward the end. What makes this dataset valuable is the sheer amount of corrections and updates the maintainer has applied. China's administrative divisions change frequently through government decrees, counties become districts, cities are merged, and new areas are created. The project tracks dozens of these changes, including recent ones from 2020 and 2021 where counties were upgraded to cities or merged into districts across provinces like Jiangsu, Shandong, Guangdong, and Xinjiang. It also fills in gaps that similar datasets often miss, such as the sub-regions of Hong Kong, Macau, and Taiwan, plus special cases like island territories in Sansha. This is useful for any developer building a location picker for a Chinese audience, think of an e-commerce checkout page, a food delivery app, or a registration form that asks for a shipping address. It is essentially a curated reference file that keeps pace with how China's official boundaries evolve, so your app's location data does not go stale. The project is built on an earlier open-source dataset and refined through community contributions, with the maintainer actively encouraging users to verify their own hometown entries and report any errors.
A ready-to-use JSON file listing every province, city, and district in China, updated with recent administrative changes so your app's location data stays accurate.
Maintained — commit in last 6 months (last push 2026-04-30).
The license is not specified in the repository description, so check the repository files for specific terms before using it in your project.
Setup difficulty is rated easy, with roughly 5min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Don't trust strangers blindly. Verify against the repo.