{"id":14632578,"url":"https://github.com/zmh-program/next-whois-ui","last_synced_at":"2025-05-16T08:04:51.391Z","repository":{"id":250028588,"uuid":"832686448","full_name":"zmh-program/next-whois-ui","owner":"zmh-program","description":"🧪 Your Next-Gen Whois Lookup Tool With Modern UI. Support Domain/IPv4/IPv6/ASN/CIDR Whois Lookup And Powerful Features.","archived":false,"fork":false,"pushed_at":"2024-11-27T07:10:03.000Z","size":1175,"stargazers_count":347,"open_issues_count":2,"forks_count":66,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-12T04:48:03.355Z","etag":null,"topics":["api","nextjs","ui","whois"],"latest_commit_sha":null,"homepage":"https://who.zmh.me","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zmh-program.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":"2024-07-23T14:15:35.000Z","updated_at":"2025-04-11T13:03:33.000Z","dependencies_parsed_at":"2024-08-21T12:52:42.178Z","dependency_job_id":"0022f061-08d7-447e-b419-139c65ad403a","html_url":"https://github.com/zmh-program/next-whois-ui","commit_stats":null,"previous_names":["zmh-program/next-whois-ui"],"tags_count":4,"template":false,"template_full_name":"zmh-program/akiapp-next-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zmh-program%2Fnext-whois-ui","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zmh-program%2Fnext-whois-ui/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zmh-program%2Fnext-whois-ui/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zmh-program%2Fnext-whois-ui/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zmh-program","download_url":"https://codeload.github.com/zmh-program/next-whois-ui/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254493378,"owners_count":22080126,"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","nextjs","ui","whois"],"created_at":"2024-09-09T17:00:28.981Z","updated_at":"2025-05-16T08:04:46.383Z","avatar_url":"https://github.com/zmh-program.png","language":"TypeScript","funding_links":[],"categories":["TypeScript","Tools \u0026 Utilities"],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n# 🧪 Next Whois UI\n😎 Lightweight \u0026 Beautiful Whois Query Tool\n\n[English](README.md) · [简体中文](README_CN.md) · [繁體中文](README_TW.md) · [Русский](README_RU.md) · [日本語](README_JP.md) · [Deutsch](README_DE.md)\n\n[![Deploy to Vercel](https://vercel.com/button)](https://vercel.com/import/project?template=https://github.com/zmh-program/next-whois-ui)\n\n[![Deploy to Netlify](https://www.netlify.com/img/deploy/button.svg)](https://app.netlify.com/start/deploy?repository=https://github.com/zmh-program/next-whois-ui)\n\n\u003c/div\u003e\n\n## 😎 Features\nNo need to say more, just try it out! 🥳\n\n1. ✨ **Pretty UI**: Modern design with [Shadcn UI](https://ui.shadcn.com), make you feel comfortable.\n2. 📱 **Responsive**: Works well on Mobile✅ / Tablet✅ / Desktop✅, PWA App Support.\n3. 🌈 **Multi Theme**: Multi theme support (*Light \u0026 Dark*), system theme detection, switch theme as you like.\n4. 🚀 **Flexible Query**: Powered by Next.js, support serverless deployment and fast query.\n5. 📚 **Record History**: History records are stored in local storage, easy to view and query history.\n6. 📡 **Open API**: Simple API for whois query, easy to integrate with other services.\n7. 🌍 **IPv4 \u0026 IPv6 Whois**: Support IPv4, IPv6, Domain, ASN, CIDR whois query.\n8. 📦 **Result Capture**: Capture whois result, easy to share and save.\n9. 📡 **Whois Cache**: Support whois cache based on Redis, improve query speed.\n10. 🌍 [WIP] **Internationalization**: Support multiple languages. ([#6](https://github.com/zmh-program/next-whois-ui/issues/6))\n\n👉 [Create Pull Request](https://github.com/zmh-program/next-whois-ui/pulls)\n\n## Deploy\n#### `1` 🚀 Platforms (Recommended)\n[Vercel](https://vercel.com/import/project?template=https://github.com/zmh-program/next-whois-ui) / [Netlify](https://app.netlify.com/start/deploy?repository=https://github.com/zmh-program/next-whois-ui) / [Zeabur](https://zeabur.com/templates/UHCCCT)\n#### `2` 🐳 Docker\n```bash\ndocker run -d -p 3000:3000 programzmh/next-whois-ui\n```\n\n#### `3` 🔨 Source Code\n```bash\ngit clone https://github.com/zmh-program/next-whois-ui\ncd next-whois-ui\n\nnpm install -g pnpm\npnpm install\npnpm dev\n```\n\n## 📏 Envs\n\n### SEO\n- `NEXT_PUBLIC_SITE_TITLE`: Site Title\n- `NEXT_PUBLIC_SITE_DESCRIPTION`: Site Description\n- `NEXT_PUBLIC_SITE_KEYWORDS`: Site Keywords\n\n### WHOIS\n- `NEXT_PUBLIC_HISTORY_LIMIT`: History Limit (Default: 6)\n- `NEXT_PUBLIC_MAX_WHOIS_FOLLOW`: Max Domain Whois Follow (Default: 0)\n- `NEXT_PUBLIC_MAX_IP_WHOIS_FOLLOW`: Max IP Whois Follow (Default: 5)\n\n### CACHE\n- `REDIS_HOST`: Redis Host (CACHE DISABLED WHEN EMPTY)\n- `REDIS_PORT`: Redis Port (Default: 6379)\n- `REDIS_PASSWORD`: Redis Password (OPTIONAL)\n- `REDIS_DB`: Redis DB (Default: 0)\n- `REDIS_CACHE_TTL`: Redis Cache TTL Secs (Default: 3600)\n\n## 📝 API Reference\n`GET` `/api/lookup?query=google.com`\n\n\u003cdetails\u003e\n\u003csummary\u003e\u003cstrong\u003eResponse\u003c/strong\u003e OK (200)\u003c/summary\u003e\n\n```json\n{\n  \"time\": 1.547,\n  \"status\": true,\n  \"cached\": false,\n  \"result\": {\n    \"domain\": \"GOOGLE.COM\",\n    \"registrar\": \"MarkMonitor Inc.\",\n    \"registrarURL\": \"http://www.markmonitor.com\",\n    \"ianaId\": \"292\",\n    \"whoisServer\": \"whois.markmonitor.com\",\n    \"updatedDate\": \"2019-09-09T15:39:04.000Z\",\n    \"creationDate\": \"1997-09-15T04:00:00.000Z\",\n    \"expirationDate\": \"2028-09-14T04:00:00.000Z\",\n    \"status\": [\n      {\n        \"status\": \"clientDeleteProhibited\",\n        \"url\": \"https://icann.org/epp#clientDeleteProhibited\"\n      },\n      {\n        \"status\": \"clientTransferProhibited\",\n        \"url\": \"https://icann.org/epp#clientTransferProhibited\"\n      },\n      {\n        \"status\": \"clientUpdateProhibited\",\n        \"url\": \"https://icann.org/epp#clientUpdateProhibited\"\n      },\n      {\n        \"status\": \"serverDeleteProhibited\",\n        \"url\": \"https://icann.org/epp#serverDeleteProhibited\"\n      },\n      {\n        \"status\": \"serverTransferProhibited\",\n        \"url\": \"https://icann.org/epp#serverTransferProhibited\"\n      },\n      {\n        \"status\": \"serverUpdateProhibited\",\n        \"url\": \"https://icann.org/epp#serverUpdateProhibited\"\n      }\n    ],\n    \"nameServers\": [\n      \"NS1.GOOGLE.COM\",\n      \"NS2.GOOGLE.COM\",\n      \"NS3.GOOGLE.COM\",\n      \"NS4.GOOGLE.COM\"\n    ],\n    \"registrantOrganization\": \"Unknown\",\n    \"registrantProvince\": \"Unknown\",\n    \"registrantCountry\": \"Unknown\",\n    \"registrantPhone\": \"+1 2086851750\",\n    \"registrantEmail\": \"Unknown\",\n    \"rawWhoisContent\": \"...\"\n  }\n}\n```\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003e\u003cstrong\u003eError Response\u003c/strong\u003e Internal Server Error (500)\u003c/summary\u003e\n\n```json\n{\n  \"time\": 0.609,\n  \"status\": false,\n  \"error\": \"No match for domain google.notfound (e.g. domain is not registered)\"\n}\n```\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003e\u003cstrong\u003eError Response\u003c/strong\u003e Bad Request (400)\u003c/summary\u003e\n\n```json\n{\n  \"time\": -1,\n  \"status\": false,\n  \"error\": \"Query is required\"\n}\n```\n\u003c/details\u003e\n\n## 🧠 Tech Stack\n- Next.js\n- Shadcn UI \u0026 Tailwind CSS\n- Whois Core Lib (@[whois-raw](https://www.npmjs.com/package/whois-raw))\n\n## 💪 TLDs Support\n👉 [TLDs Whois Parser Lib Source Code](./src/lib/whois/lib.ts)\n\n❤ TIP: The Whois Parser for some TLDs may not be currently compatible, thanks for contributing your [Pull Request](https://github.com/zmh-program/next-whois-ui/pulls) to make this project support more TLDs!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzmh-program%2Fnext-whois-ui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzmh-program%2Fnext-whois-ui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzmh-program%2Fnext-whois-ui/lists"}