Indian Atlas is an open-source project providing structured data of Indian states and their cities. The goal is to offer a developer-friendly dataset that can be used for applications like dropdowns, location pickers, maps, and more.
๐ https://vipinwap07.github.io/indian-atlas
Hosted via GitHub Pages using Next.js 14.
indian-atlas/
โโโ public/
โ โโโ data/
โ โโโ states-cities.json # JSON file of states and cities
โโโ app/
โ โโโ page.tsx / page.jsx # Home page (static UI)
โโโ next.config.js # Static export config
โโโ README.md # This file
states-cities.json
[
{
"state": "Maharashtra",
"code": "MH",
"cities": ["Mumbai", "Pune", "Nagpur"]
},
{
"state": "Karnataka",
"code": "KA",
"cities": ["Bengaluru", "Mysuru"]
}
]
More data will be added over time or contributed by the community.
Clone this repo
git clone https://github.com/vipinwap07/indian-atlas.git
cd indian-atlas
Install dependencies
npm install
Start local dev server
npm run dev
Export static site
npm run deploy
Want to help? Hereโs how:
Feel free to fork and open a pull request!
MIT ยฉ Vipin Kumar โ Free to use and modify.