{"id":24377897,"url":"https://github.com/easingsoft/cnic","last_synced_at":"2026-02-09T21:34:01.896Z","repository":{"id":251899788,"uuid":"345316642","full_name":"EasingSoft/cnic","owner":"EasingSoft","description":"exploiting pakistani cnic number to get location and gender behind it","archived":false,"fork":false,"pushed_at":"2025-02-04T20:38:40.000Z","size":138,"stargazers_count":10,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-12T12:43:47.449Z","etag":null,"topics":["card","cnic","disctrict","division","family-tree","nadra","number","pakistan","province","tehsil","union-council"],"latest_commit_sha":null,"homepage":"https://graysuit.github.io/cnic","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/EasingSoft.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-03-07T10:26:28.000Z","updated_at":"2025-02-04T20:38:44.000Z","dependencies_parsed_at":"2025-01-19T06:28:34.090Z","dependency_job_id":null,"html_url":"https://github.com/EasingSoft/cnic","commit_stats":null,"previous_names":["graysuit/cnic","easingsoft/cnic"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EasingSoft%2Fcnic","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EasingSoft%2Fcnic/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EasingSoft%2Fcnic/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EasingSoft%2Fcnic/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EasingSoft","download_url":"https://codeload.github.com/EasingSoft/cnic/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243222184,"owners_count":20256220,"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":["card","cnic","disctrict","division","family-tree","nadra","number","pakistan","province","tehsil","union-council"],"created_at":"2025-01-19T06:17:27.841Z","updated_at":"2026-02-09T21:34:01.891Z","avatar_url":"https://github.com/EasingSoft.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"## How to use ?\nVisit [graysuit.github.io/cnic](https://graysuit.github.io/cnic)\n\n![image](https://github.com/user-attachments/assets/20414cf9-14c9-4762-9e88-675bdd2c5e80)\n\n# What is CNIC ?\nCNIC is 13 digit long unique identity number alotted to **Pakistani** nationality holder.\nCNIC number looks like below:\n```\n57469-0532456-7\n0975345678053\n0975431479567\n73654-8723402-3\n2374982638947\n26349-6293643-8\n```\n![card](cnic_sample.jpg) \n\n# How cnic exposes location and gender ?\nIt's not just a number. It's like a pakistani DNA or fingerprint. You can get alot information from it. \n\nIt is in pattern `ABCDE-XXXXXXX-M`\n\n- [`A`](#a-province) shows `PROVINCE` e.g `PUNJAB`\n- `B` shows `DIVISION` e.g `SARGHODHA`\n- `C` shows `DISTRICT`\n- `D` shows `TEHSIL`  \n- `E` shows `UNION COUNSIL`  \n\n- `FGHIJKL` shows `FAMILY TREE`\n\n- [`M`](#m-gender) shows `GENDER` e.g `MALE` or `FEMALE`\n\n### A (Province)\n- If A = 1 Then Resident lives in `KPK`\n- If A = 2 Then Resident lives in `FATA`\n- If A = 3 Then Resident lives in `PUNJAB`\n- If A = 4 Then Resident lives in `SINDH`\n- If A = 5 Then Resident lives in `BALOCHISTAN`\n- If A = 6 Then Resident lives in `ISLAMABAD`\n- If A = 7 Then Resident lives in `Gilgit-Baltistan`\n\n[Extended details about cnic codes...](cnic_codes_list.md)\n\n### M (Gender)\n- IF M = 1 or 3 or 5 or 7 or 9 Then Resident is `MALE`\n- IF M = 0 or 2 or 4 or 6 or 8 Then Resident is `FEMALE`\n\n#### Made on Jan 2021\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feasingsoft%2Fcnic","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feasingsoft%2Fcnic","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feasingsoft%2Fcnic/lists"}