diff --git a/src/tools/index.ts b/src/tools/index.ts index 8a96a278..264c8c5a 100644 --- a/src/tools/index.ts +++ b/src/tools/index.ts @@ -25,6 +25,7 @@ import { tool as angleConverter } from './angle-converter'; import { tool as floatingPointNumberConverter } from './floating-point-number-converter'; import { tool as snowflakeIdExtractor } from './snowflake-id-extractor'; import { tool as emailNormalizer } from './email-normalizer'; +import { tool as myIp } from './my-ip'; import { tool as geoDistanceCalculator } from './geo-distance-calculator'; import { tool as xVrSpamcauseDecoder } from './x-vr-spamcause-decoder'; import { tool as bounceParser } from './bounce-parser'; @@ -491,6 +492,7 @@ export const toolsByCategory: ToolCategory[] = [ raidCalculator, sipAuth, xVrSpamcauseDecoder, + myIp, ], }, { diff --git a/src/tools/my-ip/index.ts b/src/tools/my-ip/index.ts new file mode 100644 index 00000000..8da30dfb --- /dev/null +++ b/src/tools/my-ip/index.ts @@ -0,0 +1,12 @@ +import { World } from '@vicons/tabler'; +import { defineTool } from '../tool'; + +export const tool = defineTool({ + name: 'My IP Address', + path: '/my-ip', + description: 'Get your client IP Address (IPv4/6) using https://getjsonip.com/', + keywords: ['my', 'client', 'ip'], + component: () => import('./my-ip.vue'), + icon: World, + createdAt: new Date('2025-01-01'), +}); diff --git a/src/tools/my-ip/my-ip.vue b/src/tools/my-ip/my-ip.vue new file mode 100644 index 00000000..a4b1c8f2 --- /dev/null +++ b/src/tools/my-ip/my-ip.vue @@ -0,0 +1,40 @@ + + + + + + {{ clientIP }} + + + + Copy + + + Refresh + + + + + +