Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
blank_issues_enabled: false
contact_links:
- name: Discussions
url: https://github.com/hmddevs/ip-api/discussions
url: https://github.com/umutguden/ip-api/discussions
about: Ask questions or discuss ideas
- name: Documentation
url: https://github.com/hmddevs/ip-api#readme
url: https://github.com/umutguden/ip-api#readme
about: Read the documentation
- name: Security Issues
url: https://github.com/hmddevs/ip-api/security/policy
url: https://github.com/umutguden/ip-api/security/policy
about: Report security vulnerabilities privately
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Input validation and sanitisation
- No data logging or storage

[Unreleased]: https://github.com/hmddevs/ip-api/compare/v1.0.0...HEAD
[1.0.0]: https://github.com/hmddevs/ip-api/releases/tag/v1.0.0
[Unreleased]: https://github.com/umutguden/ip-api/compare/v1.0.0...HEAD
[1.0.0]: https://github.com/umutguden/ip-api/releases/tag/v1.0.0
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

**Privacy-focused IP geolocation API.**

[Live](https://ip.hmddevs.org) · [Report a Bug](https://github.com/hmddevs/ip-api/issues) · [Request a Feature](https://github.com/hmddevs/ip-api/issues)
[Live](https://ip.hmddevs.org) · [Report a Bug](https://github.com/umutguden/ip-api/issues) · [Request a Feature](https://github.com/umutguden/ip-api/issues)

---

Expand Down Expand Up @@ -177,7 +177,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
### Installation

```bash
git clone https://github.com/hmddevs/ip-api.git
git clone https://github.com/umutguden/ip-api.git
cd ip-api
npm install
```
Expand All @@ -192,7 +192,7 @@ Visit `http://localhost:3000` to test locally.

### Deploy to Vercel

[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https://github.com/hmddevs/ip-api)
[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https://github.com/umutguden/ip-api)

Or via CLI:

Expand Down Expand Up @@ -255,6 +255,6 @@ Found a vulnerability? See [SECURITY.md](SECURITY.md).

<div align="center">

Copyright 2025 [HMD Developments, Inc.](https://hmddevs.org)
Copyright 2025 [Umut Güden](https://guden.tr)

</div>
2 changes: 1 addition & 1 deletion SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,4 @@ We appreciate security researchers who help keep IP API safe. Contributors who r

Thank you for helping keep IP API and its users safe!

**HMD Developments, Inc.**
**Umut Güden**
6 changes: 3 additions & 3 deletions api/index.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/**
* IP API - A lightning-fast, privacy-focused IP geolocation API
*
* @author HMD Developments, Inc.
* @author Umut Güden
* @license Apache-2.0
* @see https://github.com/hmddevs/ip-api
* @see https://github.com/umutguden/ip-api
* @version 1.0.0
*/

Expand Down Expand Up @@ -145,7 +145,7 @@ const setResponseHeaders = (res) => {

// Custom headers
res.setHeader('X-API-Version', API_VERSION);
res.setHeader('X-Powered-By', 'HMD Developments');
res.setHeader('X-Powered-By', 'Umut Güden');
};

/**
Expand Down
10 changes: 3 additions & 7 deletions openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,11 @@ info:

version: 1.0.0
contact:
name: HMD Developments, Inc.
url: https://hmddevs.org
email: contact@hmddevs.org
name: Umut Güden
url: https://guden.tr
license:
name: Apache 2.0
url: https://www.apache.org/licenses/LICENSE-2.0.html
x-logo:
url: https://hmddevs.org/logo.png
altText: HMD Developments Logo

servers:
- url: https://ip.hmddevs.org
Expand Down Expand Up @@ -198,4 +194,4 @@ tags:

externalDocs:
description: GitHub Repository
url: https://github.com/hmddevs/ip-api
url: https://github.com/umutguden/ip-api
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@hmddevs/ip-api",
"name": "ip-api",
"version": "1.0.0",
"description": "A lightning-fast, privacy-focused IP geolocation API. Returns client IP address and country code in JSON format.",
"main": "api/index.js",
Expand All @@ -26,15 +26,15 @@
"ipv6",
"privacy"
],
"author": "HMD Developments, Inc. <contact@hmddevs.org> (https://hmddevs.org)",
"author": "Umut Güden (https://guden.tr)",
"license": "Apache-2.0",
"homepage": "https://ip.hmddevs.org",
"repository": {
"type": "git",
"url": "git+https://github.com/hmddevs/ip-api.git"
"url": "git+https://github.com/umutguden/ip-api.git"
},
"bugs": {
"url": "https://github.com/hmddevs/ip-api/issues"
"url": "https://github.com/umutguden/ip-api/issues"
},
"dependencies": {
"geoip-lite": "^1.4.10"
Expand Down
2 changes: 1 addition & 1 deletion test/api.test.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* IP API - Unit Tests
*
* @author HMD Developments, Inc.
* @author Umut Güden
* @license Apache-2.0
*/

Expand Down
6 changes: 3 additions & 3 deletions worker/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
* Cloudflare Workers runtime. The client IP comes from CF-Connecting-IP and the
* country from request.cf, so no local geolocation database is needed.
*
* @author HMD Developments, Inc.
* @author Umut Güden
* @license Apache-2.0
* @see https://github.com/hmddevs/ip-api
* @see https://github.com/umutguden/ip-api
*/

const API_VERSION = '1.0.0';
Expand Down Expand Up @@ -35,7 +35,7 @@ const baseHeaders = () =>
'Cache-Control': 'no-store',
'Content-Type': 'application/json; charset=utf-8',
'X-API-Version': API_VERSION,
'X-Powered-By': 'HMD Developments',
'X-Powered-By': 'Umut Güden',
});

const json = (body, status, headers) =>
Expand Down
Loading