{"id":51731051,"url":"https://github.com/gentpan/whoga","last_synced_at":"2026-07-18T02:40:25.835Z","repository":{"id":369741849,"uuid":"1201942740","full_name":"gentpan/whoga","owner":"gentpan","description":"Self-hosted RDAP \u0026 WHOIS lookup — web UI + JSON API. Powers who.ga. TanStack Start + React 19.","archived":false,"fork":false,"pushed_at":"2026-07-06T20:58:07.000Z","size":1519,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-07-18T02:40:08.065Z","etag":null,"topics":["dns","domain-lookup","icann","json-api","nitro","open-source","rdap","react","self-hosted","tanstack","typescript","vite","who-ga","whois"],"latest_commit_sha":null,"homepage":"https://who.ga","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/gentpan.png","metadata":{"files":{"readme":"README.en.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-05T11:28:34.000Z","updated_at":"2026-07-07T11:30:17.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/gentpan/whoga","commit_stats":null,"previous_names":["gentpan/whoga"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gentpan/whoga","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gentpan%2Fwhoga","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gentpan%2Fwhoga/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gentpan%2Fwhoga/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gentpan%2Fwhoga/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gentpan","download_url":"https://codeload.github.com/gentpan/whoga/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gentpan%2Fwhoga/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35602804,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-18T02:00:07.223Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["dns","domain-lookup","icann","json-api","nitro","open-source","rdap","react","self-hosted","tanstack","typescript","vite","who-ga","whois"],"created_at":"2026-07-18T02:40:25.073Z","updated_at":"2026-07-18T02:40:25.830Z","avatar_url":"https://github.com/gentpan.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n\u003cimg src=\"./public/logo.svg\" width=\"88\" alt=\"Whoga\" /\u003e\n\n# Whoga\n\n**Self-hosted RDAP \u0026 WHOIS lookup**\n\nWeb UI + JSON API · Domain · TLD · IP · ASN\n\n\u003cp\u003e\n  \u003cstrong\u003eEnglish\u003c/strong\u003e\n  \u0026nbsp;·\u0026nbsp;\n  \u003ca href=\"./README.md\" style=\"text-decoration:none;color:#6b7280;\"\u003e中文\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp\u003e\n  \u003ca href=\"https://who.ga\" style=\"text-decoration:none;color:#16a34a;font-weight:600;\"\u003ewho.ga\u003c/a\u003e\n  \u0026nbsp;·\u0026nbsp;\n  \u003ca href=\"https://who.ga/learn/en\" style=\"text-decoration:none;color:#111827;font-weight:600;\"\u003eGuides\u003c/a\u003e\n  \u0026nbsp;·\u0026nbsp;\n  \u003ca href=\"https://api.who.ga\" style=\"text-decoration:none;color:#111827;font-weight:600;\"\u003eapi.who.ga\u003c/a\u003e\n  \u0026nbsp;·\u0026nbsp;\n  \u003ca href=\"https://github.com/gentpan/whoga/issues\" style=\"text-decoration:none;color:#111827;font-weight:600;\"\u003eIssues\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cbr /\u003e\n\n\u003cimg src=\"https://img.shields.io/github/stars/gentpan/whoga?style=for-the-badge\u0026logo=github\u0026logoColor=white\" alt=\"GitHub stars\" /\u003e\n\u003cimg src=\"https://img.shields.io/badge/license-MIT-22C55E?style=for-the-badge\" alt=\"MIT License\" /\u003e\n\u003cimg src=\"https://img.shields.io/badge/demo-who.ga-111827?style=for-the-badge\" alt=\"Demo\" /\u003e\n\n\u003cbr /\u003e\u003cbr /\u003e\n\n\u003cimg src=\"https://img.shields.io/badge/TanStack_Start-FF4154?style=for-the-badge\u0026logo=react\u0026logoColor=white\" alt=\"TanStack Start\" /\u003e\n\u003cimg src=\"https://img.shields.io/badge/React_19-61DAFB?style=for-the-badge\u0026logo=react\u0026logoColor=111827\" alt=\"React 19\" /\u003e\n\u003cimg src=\"https://img.shields.io/badge/TypeScript-3178C6?style=for-the-badge\u0026logo=typescript\u0026logoColor=white\" alt=\"TypeScript\" /\u003e\n\u003cimg src=\"https://img.shields.io/badge/Nitro-00DC82?style=for-the-badge\" alt=\"Nitro\" /\u003e\n\u003cimg src=\"https://img.shields.io/badge/Vite-646CFF?style=for-the-badge\u0026logo=vite\u0026logoColor=white\" alt=\"Vite\" /\u003e\n\u003cimg src=\"https://img.shields.io/badge/Base_UI-111827?style=for-the-badge\" alt=\"Base UI\" /\u003e\n\n\u003cbr /\u003e\n\n\u003cimg src=\"https://img.shields.io/badge/Node.js-20+-339933?style=for-the-badge\u0026logo=node.js\u0026logoColor=white\" alt=\"Node.js\" /\u003e\n\u003cimg src=\"https://img.shields.io/badge/pnpm-9+-F69220?style=for-the-badge\u0026logo=pnpm\u0026logoColor=white\" alt=\"pnpm\" /\u003e\n\u003cimg src=\"https://img.shields.io/badge/RDAP-✓-0ea5e9?style=for-the-badge\" alt=\"RDAP\" /\u003e\n\u003cimg src=\"https://img.shields.io/badge/WHOIS_fallback-✓-8b5cf6?style=for-the-badge\" alt=\"WHOIS fallback\" /\u003e\n\u003cimg src=\"https://img.shields.io/badge/Redis-optional-DC382D?style=for-the-badge\u0026logo=redis\u0026logoColor=white\" alt=\"Redis\" /\u003e\n\n\u003c/div\u003e\n\n\u003cbr /\u003e\n\n## Features\n\n- RDAP lookup for domains, TLDs, IPs, and ASN\n- WHOIS port43 fallback when RDAP is unavailable\n- Local data index with scheduled refresh\n- Optional Redis caching\n\n## Quick Start\n\n```bash\ngit clone https://github.com/gentpan/whoga.git\ncd whoga\npnpm install\npnpm dev\n```\n\nOpen \u003ca href=\"http://localhost:3410\" style=\"text-decoration:none;color:#16a34a;font-weight:600;\"\u003elocalhost:3410\u003c/a\u003e\n\nProduction:\n\n```bash\npnpm build \u0026\u0026 pnpm start\n```\n\n## API\n\n```bash\ncurl \"http://localhost:3410/api/whois?query=google.com\"\ncurl \"http://localhost:3410/api/whois?query=8.8.8.8\"\ncurl \"http://localhost:3410/api/whois?query=AS15169\"\n```\n\nLive demo: \u003ca href=\"https://api.who.ga/google.com\" style=\"text-decoration:none;color:#16a34a;font-weight:600;\"\u003eapi.who.ga/google.com\u003c/a\u003e\n\n## Tech stack\n\n**In short: a single-repo Node full-stack app** — web UI and JSON API run in one process, one build, one deploy.\n\n| Part | What we use |\n|------|-------------|\n| **Runtime** | Node.js 20+ · pnpm |\n| **Frontend** | React 19 · TypeScript · Vite |\n| **Routing** | TanStack Router / Start |\n| **UI** | [Base UI](https://base-ui.com) (menus, tooltips, etc.; styled with project CSS) |\n| **Styling** | Plain CSS · Sora font · Lucide icons |\n| **API** | `api/` in the same repo, served by the same process |\n| **Cache** | Redis (optional) |\n\nUnder the hood: Nitro for the server layer, TanStack Start for full-stack wiring. Day to day you only need:\n\n```bash\npnpm install    # install deps\npnpm dev        # development\npnpm build \u0026\u0026 pnpm start   # production\n```\n\n## Configuration\n\n```bash\ncp .env.example .env\n```\n\n| Variable | Description |\n|----------|-------------|\n| `CRON_SECRET` | Bearer token for refresh endpoint (recommended in production) |\n| `REDIS_URL` | Redis cache connection |\n| `WHOIS_CACHE_TTL_SECONDS` | Cache TTL in seconds, default `900` |\n\n## Data Refresh\n\nWith the server running:\n\n```bash\npnpm refresh:data\n```\n\nOr `curl -X POST http://localhost:3410/api/admin/refresh`\n\nData paths: `data/` (seed) → `runtime/data/` (runtime, preferred)\n\n## Project layout\n\n```\nwhoga/\n├── web/           # Pages and UI components\n├── api/           # HTTP API (/api/whois, /api/stats, etc.)\n├── public/        # Static assets (logo, favicons, robots.txt)\n├── lib/           # Shared logic (RDAP/WHOIS, data index)\n├── data/          # Seed data\n├── runtime/       # Runtime data (gitignore, preferred at runtime)\n├── scripts/       # Data refresh and ops scripts\n└── deploy/        # Deployment scripts\n```\n\n## Deploy\n\n```bash\n./deploy/deploy-caddy.sh ~/.ssh/your-key.pem\n```\n\nSee \u003ca href=\"./deploy/README.md\" style=\"text-decoration:none;color:#16a34a;font-weight:600;\"\u003edeploy/README.md\u003c/a\u003e for details.\n\n---\n\n\u003cdiv align=\"center\"\u003e\n\n\u003cbr /\u003e\n\n\u003ca href=\"https://who.ga\" style=\"text-decoration:none;color:#16a34a;font-weight:600;\"\u003ewho.ga\u003c/a\u003e\n\u0026nbsp;·\u0026nbsp;\n\u003ca href=\"https://github.com/gentpan/whoga\" style=\"text-decoration:none;color:#111827;font-weight:600;\"\u003eGitHub\u003c/a\u003e\n\u0026nbsp;·\u0026nbsp;\n\u003ca href=\"./LICENSE\" style=\"text-decoration:none;color:#111827;font-weight:600;\"\u003eMIT\u003c/a\u003e\n\n\u003cbr /\u003e\u003cbr /\u003e\n\n\u003csub\u003eWhoga · Self-hosted RDAP \u0026 WHOIS\u003c/sub\u003e\n\n\u003c/div\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgentpan%2Fwhoga","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgentpan%2Fwhoga","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgentpan%2Fwhoga/lists"}