π Domainstack - Domain Intelligence Tool
Domainstack is an all-in-one app for exploring domain names. Search any domain (e.g., github.com) and get instant insights including WHOIS/RDAP lookups, DNS records, SSL certificates, HTTP headers, hosting details, geolocation, and SEO signals.
- Instant domain reports: Registration, DNS, certificates, HTTP headers, hosting & email, and geolocation.
- SEO insights: Extract titles, meta tags, social previews, canonical data, and
robots.txtsignals. - Screenshots & favicons: Server-side screenshots and favicon extraction, stored in Vercel Blob.
- Fast, private, no sign-up: Live fetches with smart caching.
- Reliable data pipeline: Postgres persistence (Drizzle), background revalidation (Inngest), and Redis for short-lived caching/locks.
- Next.js 16 (App Router) + React 19 + TypeScript
- Tailwind CSS v4
- tRPC API
- Postgres + Drizzle ORM
- Inngest for background jobs and scheduled revalidation
- Upstash Redis for caching and locks
- Vercel Edge Config for dynamic configuration (domain suggestions, rate limits)
- Vercel Blob for favicon/screenshot storage
- rdapper for RDAP lookups with WHOIS fallback
- Puppeteer (with
@sparticuz/chromiumon server) for screenshots - Mapbox for IP geolocation maps
- PostHog analytics with sourcemap uploads
- Vitest for testing and Biome for lint/format
git clone https://github.com/jakejarvis/domainstack.io.git
cd domainstack.io
pnpm installCreate .env.local and populate required variables:
cp .env.example .env.localpnpm db:generate # generate SQL from schema
pnpm db:migrate # apply migrations to local Postgres
pnpm db:seed # seed database (if needed)The dev script uses concurrently to automatically start all local services and the Next.js dev server together:
pnpm devThis single command boots:
- Postgres on
localhost:5432 - Neon wsproxy on
localhost:5433(WebSocket proxy used by the Neon serverless driver) - Redis on
localhost:6379 - Serverless Redis HTTP (SRH) on
http://localhost:8079(Upstash-compatible REST proxy) - Inngest dev server on
http://localhost:8288 - Next.js dev server on
http://localhost:3000
Open http://localhost:3000. Press Ctrl+C to stop all services at once.
Note
On Linux, if host.docker.internal isn't available, add extra_hosts to the Inngest service in docker-compose.yml:
extra_hosts: ["host.docker.internal:host-gateway"]pnpm dev # start all local services (Docker) + Next.js dev server
pnpm build # compile production bundle
pnpm start # serve compiled output for smoke tests
pnpm lint # Biome lint/format checks
pnpm format # apply Biome formatting
pnpm typecheck # tsc --noEmit
pnpm test # Vitest (watch mode)
pnpm test:run # Vitest (single run)
pnpm test:ui # Vitest UI
pnpm test:coverage # Vitest with coverage report
# Drizzle
pnpm db:generate # generate SQL migrations from schema
pnpm db:push # push the current schema to the database
pnpm db:migrate # apply migrations to the database
pnpm db:studio # open Drizzle Studio
pnpm db:seed # run seed script (scripts/db/seed.ts)Toybrick by Ary Prasetyo from Noun Project (CC BY 3.0)
