{"id":13819705,"url":"https://github.com/nagi1/middle-east-cities","last_synced_at":"2026-01-17T06:06:50.334Z","repository":{"id":110690033,"uuid":"318471151","full_name":"nagi1/middle-east-cities","owner":"nagi1","description":"List of regions and cities of population \u003e 5000 in selected middle-east countries, in English and Arabic languages ","archived":false,"fork":false,"pushed_at":"2020-12-10T10:33:23.000Z","size":43,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-19T19:43:34.271Z","etag":null,"topics":["arabic-cities","cities","json"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nagi1.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2020-12-04T09:46:57.000Z","updated_at":"2022-09-26T11:22:20.000Z","dependencies_parsed_at":"2023-03-10T01:00:20.393Z","dependency_job_id":null,"html_url":"https://github.com/nagi1/middle-east-cities","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nagi1%2Fmiddle-east-cities","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nagi1%2Fmiddle-east-cities/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nagi1%2Fmiddle-east-cities/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nagi1%2Fmiddle-east-cities/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nagi1","download_url":"https://codeload.github.com/nagi1/middle-east-cities/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254488273,"owners_count":22079393,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["arabic-cities","cities","json"],"created_at":"2024-08-04T08:00:51.953Z","updated_at":"2026-01-17T06:06:50.310Z","avatar_url":"https://github.com/nagi1.png","language":null,"funding_links":[],"categories":["Datasets"],"sub_categories":[],"readme":"# Middle east cities\n\nDatabase of cities regions and details for some middle east countries.\n\n## Features\n\n- Current available cities **(Egypt, Saudi Arabia, UAE, Kuwait)**\n- Only include cities with population **over than 5000**.\n- Cities Ordered by population in descending order (crowned cities first)\n- Available in arabic and english.\n- json format (currently).\n- City details include regions and Geolocation information.\n- Unique Id for every city.\n\n## City counts\n\n- **Egypt:** 239\n- **Saudi Arabia**: 96\n- **UAE**: 35\n- **Kuwait**: 25\n\n## Usage\n\nJson files named in form of country code and language code\n\n   `example: eg_ar =\u003e Egypt Cities in arabic language`\n\n## Example\n\nGet cities grouped by region\n\n```js\nconst fs = require('fs');\nconst groupby = require('lodash/groupby');\n\nconst input = './json/eg_ar.json';\n\nfs.readFile(input, (err, data) =\u003e {\n\tconst cities = JSON.parse(data).cities;\n\tconsole.log(\n\t\tgroupby(cities, (obj) =\u003e {\n\t\t\treturn obj.region;\n\t\t}),\n\t);\n});\n```\n\n## See also\n\n[awesome-cities](https://github.com/nagi1/awesome-cities)\n\n## Todo\n\n- [ ] Add some missing key cities in egypt\n\n- [ ] Covert to .sql (MySQL)\n\n- [ ] Add more usage example\n\n\n## References\n\nGeodb-cities\n\n\n## Tags\n\nEgypt cities list\n\nSaudi Arbia cities list\n\nUAR cities list\n\nKuwait cities list\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnagi1%2Fmiddle-east-cities","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnagi1%2Fmiddle-east-cities","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnagi1%2Fmiddle-east-cities/lists"}