{"id":15724806,"url":"https://github.com/oultimocoder/cloudflare-country-codes-api","last_synced_at":"2025-03-31T01:16:04.241Z","repository":{"id":184155763,"uuid":"671411030","full_name":"OultimoCoder/cloudflare-country-codes-api","owner":"OultimoCoder","description":"A simple Cloudflare Workers API utilising Hono to return country information such as country code, emoji flag, languages etc based on the request ip address","archived":false,"fork":false,"pushed_at":"2023-07-27T11:44:50.000Z","size":205,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-06T06:30:00.488Z","etag":null,"topics":["api","cloudflare","cloudflare-workers","country","country-codes","country-flags","country-list","hono","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/OultimoCoder.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":"2023-07-27T08:56:11.000Z","updated_at":"2024-06-04T15:07:33.000Z","dependencies_parsed_at":null,"dependency_job_id":"ba2ebb5d-b88b-4055-8c6d-721dd3e3182d","html_url":"https://github.com/OultimoCoder/cloudflare-country-codes-api","commit_stats":null,"previous_names":["oultimocoder/cloudflare-country-codes-api"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OultimoCoder%2Fcloudflare-country-codes-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OultimoCoder%2Fcloudflare-country-codes-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OultimoCoder%2Fcloudflare-country-codes-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OultimoCoder%2Fcloudflare-country-codes-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OultimoCoder","download_url":"https://codeload.github.com/OultimoCoder/cloudflare-country-codes-api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246399801,"owners_count":20770909,"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":["api","cloudflare","cloudflare-workers","country","country-codes","country-flags","country-list","hono","typescript"],"created_at":"2024-10-03T22:18:03.351Z","updated_at":"2025-03-31T01:16:04.220Z","avatar_url":"https://github.com/OultimoCoder.png","language":"TypeScript","readme":"# Cloudflare Country Codes API\nA simple API that uses the `CF-IPCountry` header in a Cloudflare worker to determine the requests\ncountry and then return a list of information about said country.\n\nUses [Cloudflare Workers](https://workers.cloudflare.com/) and [Hono](https://honojs.dev/).\n\n[Try Me!](https://api.countryin.fo/me?pretty)\n\n## Commands\n\nRunning locally:\n\n```bash\nnpm run dev\n```\n\nTesting:\n\n```bash\n# run all tests\nnpm run tests\n\n# run test coverage\nnpm run tests:coverage\n\n# run test coverage summary\nnpm run tests:summary\n```\n\nLinting:\n\n```bash\n# run ESLint\nnpm run lint\n\n# fix ESLint errors\nnpm run lint:fix\n\n# run prettier\nnpm run prettier\n\n# fix prettier errors\nnpm run prettier:fix\n```\n\nDeploy to Cloudflare:\n\n```bash\nnpm run deploy:dev\nnpm run deploy:prod\n```\n\n## License\n\n[MIT](LICENSE)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foultimocoder%2Fcloudflare-country-codes-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foultimocoder%2Fcloudflare-country-codes-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foultimocoder%2Fcloudflare-country-codes-api/lists"}