Initial release: business-name finder with live domain availability

Free, no-account tool for naming a business and finding a domain you can
actually register.

Availability uses no paid API and no key. IANA's RDAP bootstrap maps ~1,200
TLDs to their authoritative registry servers (404 = free, 200 = taken); the
handful with no RDAP at all (.io, .co, .me, .sh, .gg, .us) fall back to a DNS
NS lookup and are reported as "probably free" rather than confirmed, because a
registered-but-undelegated domain is indistinguishable that way.

Name generation is pure, deterministic, and client-side — eight strategies over
a curated word bank, ranked by a scorer that does the real quality work. Three
of its guards (prefix-only hint matching, -er-only syncopation, truncation
rejection) exist because of specific bad output and should not be relaxed.

Optional AI suggestions use the visitor's OWN Anthropic/Gemini key from
localStorage, called browser-direct, so this stays free to run.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JChWdFJPCRxMBxErb8kUVK
This commit is contained in:
2026-08-10 13:40:26 -05:00
co-authored by Claude Opus 5
commit 78460d35c9
29 changed files with 3644 additions and 0 deletions
+374
View File
@@ -0,0 +1,374 @@
:root {
--bg: #0b0d10;
--panel: #14181d;
--panel-2: #1a1f26;
--panel-border: #232a31;
--text: #e7e9ec;
--muted: #93a1ad;
--faint: #6b7885;
--accent: #4f9cf9;
--accent-dim: #2b6fd0;
--ok: #3ecf8e;
--ok-bg: #10281f;
--warn: #f5b942;
--warn-bg: #33290f;
--taken: #5a646e;
}
* {
box-sizing: border-box;
}
html,
body {
margin: 0;
padding: 0;
background: var(--bg);
color: var(--text);
font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
-webkit-font-smoothing: antialiased;
}
a {
color: var(--accent);
}
.wrap {
max-width: 980px;
margin: 0 auto;
padding: 32px 20px 80px;
}
.topbar {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
margin-bottom: 8px;
}
.brand {
font-size: 13px;
letter-spacing: 0.08em;
text-transform: uppercase;
color: var(--muted);
}
h1 {
font-size: 30px;
margin: 4px 0 6px;
letter-spacing: -0.02em;
}
h2 {
font-size: 19px;
margin: 32px 0 10px;
}
.tagline {
color: var(--muted);
margin: 0 0 26px;
font-size: 15px;
line-height: 1.5;
max-width: 62ch;
}
/* ---------- form ---------- */
.field {
margin-bottom: 16px;
}
.field label {
display: block;
font-size: 13px;
text-transform: uppercase;
letter-spacing: 0.06em;
color: var(--muted);
margin-bottom: 7px;
}
input[type="text"],
input[type="password"],
textarea,
select {
width: 100%;
background: var(--panel);
color: var(--text);
border: 1px solid var(--panel-border);
border-radius: 10px;
padding: 12px 14px;
font-size: 16px;
font-family: inherit;
line-height: 1.4;
}
input:focus,
textarea:focus,
select:focus {
outline: none;
border-color: var(--accent-dim);
}
.hint {
font-size: 13px;
color: var(--faint);
margin-top: 6px;
line-height: 1.5;
}
button {
font-family: inherit;
font-size: 15px;
cursor: pointer;
border-radius: 9px;
border: 1px solid var(--panel-border);
background: var(--panel-2);
color: var(--text);
padding: 11px 18px;
}
button:hover:not(:disabled) {
border-color: var(--accent-dim);
}
button:disabled {
opacity: 0.5;
cursor: not-allowed;
}
button.primary {
background: var(--accent-dim);
border-color: var(--accent-dim);
color: #fff;
font-weight: 600;
}
button.primary:hover:not(:disabled) {
background: var(--accent);
border-color: var(--accent);
}
.controls {
display: flex;
gap: 10px;
align-items: center;
flex-wrap: wrap;
margin: 18px 0 8px;
}
/* ---------- style + tld pickers ---------- */
.chips {
display: flex;
flex-wrap: wrap;
gap: 8px;
}
.chip {
font-size: 14px;
padding: 7px 13px;
border-radius: 999px;
border: 1px solid var(--panel-border);
background: var(--panel);
color: var(--muted);
}
.chip[aria-pressed="true"] {
border-color: var(--accent-dim);
background: #16283f;
color: var(--text);
}
.chip .chip-note {
color: var(--faint);
font-size: 12px;
margin-left: 6px;
}
/* ---------- results ---------- */
.results {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
gap: 10px;
margin-top: 14px;
}
.card {
background: var(--panel);
border: 1px solid var(--panel-border);
border-radius: 12px;
padding: 13px 15px;
display: flex;
flex-direction: column;
gap: 9px;
}
.card-name {
font-size: 18px;
font-weight: 600;
letter-spacing: -0.01em;
word-break: break-all;
}
.card-name .tld {
color: var(--muted);
font-weight: 400;
}
.card-meta {
display: flex;
align-items: center;
justify-content: space-between;
gap: 10px;
font-size: 13px;
}
.status {
display: inline-flex;
align-items: center;
gap: 6px;
font-weight: 600;
font-size: 13px;
}
.status.available {
color: var(--ok);
}
.status.unverified-available {
color: var(--warn);
}
.status.taken {
color: var(--taken);
}
.status.unknown,
.status.checking {
color: var(--faint);
}
.card.is-taken {
opacity: 0.55;
}
.strategy {
font-size: 11px;
text-transform: uppercase;
letter-spacing: 0.07em;
color: var(--faint);
}
.register-link {
font-size: 13px;
text-decoration: none;
white-space: nowrap;
}
.register-link:hover {
text-decoration: underline;
}
/* ---------- notices ---------- */
.notice {
border-radius: 10px;
padding: 12px 14px;
font-size: 14px;
line-height: 1.55;
margin: 16px 0;
border: 1px solid;
}
.notice.warn {
background: var(--warn-bg);
border-color: #6a5418;
color: #f2dfae;
}
.notice.info {
background: var(--panel);
border-color: var(--panel-border);
color: var(--muted);
}
.empty {
color: var(--muted);
font-size: 15px;
padding: 34px 0;
text-align: center;
}
/* ---------- footer ---------- */
.footer {
margin-top: 56px;
padding-top: 18px;
border-top: 1px solid var(--panel-border);
display: flex;
justify-content: space-between;
align-items: flex-start;
gap: 18px;
flex-wrap: wrap;
}
.foot-note {
font-size: 12.5px;
color: var(--faint);
max-width: 62ch;
line-height: 1.55;
}
.foot-meta {
display: flex;
gap: 14px;
align-items: center;
font-size: 13px;
white-space: nowrap;
}
.version-chip {
border: 1px solid var(--panel-border);
border-radius: 999px;
padding: 3px 10px;
color: var(--muted);
text-decoration: none;
font-size: 12px;
}
/* ---------- changelog ---------- */
.entry {
border-left: 2px solid var(--panel-border);
padding-left: 16px;
margin-bottom: 26px;
}
.entry h3 {
margin: 0 0 4px;
font-size: 16px;
}
.entry .date {
color: var(--faint);
font-size: 13px;
}
.entry ul {
margin: 10px 0 0;
padding-left: 18px;
color: var(--muted);
line-height: 1.6;
font-size: 14.5px;
}
@media (max-width: 560px) {
h1 {
font-size: 25px;
}
.results {
grid-template-columns: 1fr;
}
}