{"id":21581754,"url":"https://github.com/sudo-self/whois-who","last_synced_at":"2026-05-19T15:42:20.270Z","repository":{"id":264459678,"uuid":"889193984","full_name":"sudo-self/whois-who","owner":"sudo-self","description":null,"archived":false,"fork":false,"pushed_at":"2024-11-16T06:48:27.000Z","size":170,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-24T14:45:51.476Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://whois-who.vercel.app","language":"Svelte","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sudo-self.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-11-15T19:47:21.000Z","updated_at":"2024-11-16T06:48:30.000Z","dependencies_parsed_at":"2024-11-24T18:03:17.816Z","dependency_job_id":null,"html_url":"https://github.com/sudo-self/whois-who","commit_stats":null,"previous_names":["sudo-self/whois-who"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sudo-self%2Fwhois-who","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sudo-self%2Fwhois-who/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sudo-self%2Fwhois-who/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sudo-self%2Fwhois-who/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sudo-self","download_url":"https://codeload.github.com/sudo-self/whois-who/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244181393,"owners_count":20411605,"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":[],"created_at":"2024-11-24T14:13:30.462Z","updated_at":"2026-05-19T15:42:20.228Z","avatar_url":"https://github.com/sudo-self.png","language":"Svelte","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n## Whois Who Domain Lookup\n\n\n1. create a new svelte project\n```\nnpx degit sveltejs/template svelte-whois\ncd svelte-whois\nnpm install\n```\n#### API KEY\n```\nhttps://whois.whoisxmlapi.com\n```\n#### App.svelte\n(modify the default App.svelte to import WhoisLookup.svelte)\n```\n  import WhoisLookup from './WhoisLookup.svelte';\n```\n2. add it in the main component\n```\n\n\u003cmain\u003e\n  \u003cWhoisLookup /\u003e\n\u003c/main\u003e\n```\n#### src/WhoisLookup.svelte\n```\n\u003cscript\u003e\n\n  import { onMount } from \"svelte\";\n\n  let domain = \"\";\n  let whoisData = null;\n  let loading = false;\n  let error = null;\n\n  const fetchWhoisData = async () =\u003e {\n    if (!domain) {\n      error = 'Please enter a domain';\n      return;\n    }\n\n    loading = true;\n    error = null;\n\n    try {\n\n      const apiKey = \"xxxxxxxxxxx\";\n      const response = await fetch(\n        `https://www.whoisxmlapi.com/whoisserver/WhoisService?apiKey=${apiKey}\u0026domainName=${domain}\u0026outputFormat=JSON`\n      );\n\n      if (!response.ok) {\n        throw new Error('Failed to fetch WHOIS data');\n      }\n\n      const data = await response.json();\n      whoisData = data;\n    } catch (err) {\n      error = err.message || 'An error occurred';\n      whoisData = null;\n    } finally {\n      loading = false;\n    }\n  };\n\u003c/script\u003e\n```\n#### dev server \n\n```\nnpm run dev\n```\nWhoisWho.png\n\nhttps://whois-who.vercel.app\n\nSVELTE!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsudo-self%2Fwhois-who","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsudo-self%2Fwhois-who","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsudo-self%2Fwhois-who/lists"}