Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

brandonyoungdev/tldx

Repository files navigation

tldx logo

tldx

GitHub release (latest by date) Tests GitHub Go Report Card

tldx helps you brainstorm available domain names fast.

tldx openai -p get,use -s ly,hub -t com,io,ai --only-available
✔️ getopenaily.com is available
✔️ useopenaihub.io is available
 ...

tldx demo

📚 Table of Contents

⚡ Features

  • 🔍 Smart keyword-based domain permutations (prefixes, suffixes, TLDs)
  • 🚀 Fast and concurrent availability checks with RDAP
  • 📤 Streams results as they're found
  • 📦 Supports multiple output formats (text, json, json-stream, json-array, csv)
  • 🔧 Supports TLD presets to quickly select groups of common or curated TLD sets
  • 📏 Optional filtering by domain length
  • 🧠 Great for technical founders, indie hackers, and naming brainstorms

🛠️ Usage

Usage:
 tldx [keywords] [flags]
 tldx [command]
Available Commands:
 completion Generate the autocompletion script for the specified shell
 help Help about any command
 show-tld-presets Show available TLD presets
Flags:
 -f, --format string Format of output (text, json, json-stream, json-array, csv) (default "text")
 -h, --help help for tldx
 -m, --max-domain-length int Maximum length of domain name (default 64)
 --no-color Disable colored output
 -a, --only-available Show only available domains
 -p, --prefixes strings Prefixes to add (e.g. get,my,use)
 --show-stats Show statistics at the end of execution
 -s, --suffixes strings Suffixes to add (e.g. ify,ly)
 --tld-preset string Use a tld preset (e.g. popular, tech)
 -t, --tlds strings TLDs to check (e.g. com,io,ai)
 -v, --verbose Show verbose output
 --version version for tldx

🔗 Examples

Domain Availability

$ tldx google
❌ google.com is not available
$ tldx google youtube reddit
 ❌ reddit.com is not available
 ❌ google.com is not available
 ❌ youtube.com is not available

Presets

You can use presets for tlds. For example:

$ tldx google --tld-preset popular 
 ❌ google.com is not available
 ❌ google.co is not available
 ❌ google.io is not available
 ❌ google.net is not available
 ...
$ tldx google --tld-preset geo
 ❌ google.au is not available
 ❌ google.de is not available
 ❌ google.us is not available
 ❌ google.eu is not available
 ...

You can see all of the available presets:

$ tldx show-tld-presets
== TLD Presets ==
- business: com, co, biz, ltd, llc, inc, ...
- creative: art, design, ink, ... 
- design: design, graphics, studio, art, gallery, ink
 ...

Permutations

This permutates the keywords with the specified prefixes, suffixes, and TLDs, checking for availability:

$ tldx google --prefixes get,my --suffixes ly,hub --tlds com,io,ai
 ✔️ mygooglely.com is available
 ✔️ getgooglely.ai is available
 ❌ mygoogle.ai is not available
 ...

Brace Expansion (macOS, Linux)

Brace expansion is a built-in feature of most Unix shells (e.g., bash, zsh). You can use it like this:

tldx {get,use}{tldx,domains} {star,fork}ongithub
 ✔️ gettldx.com is available
 ✔️ starongithub.com is available
 ✔️ forkongithub.com is available
 ❌ getdomains.com is not available
 ✔️ usetldx.com is available
 ❌ usedomains.com is not available

Show Only Available Domains

$ tldx google reddit facebook -p get,my -s ly,hub -t com,io,ai --only-available
 ✔️ getgooglely.ai is available
 ✔️ getreddithub.com is available
 ✔️ getreddit.ai is available
 ✔️ googlely.ai is available
 ✔️ getredditly.com is available
 ✔️ facebookly.io is available
 ...

Output Formats

By default, output is human-readable (text). You can change it with the --format or -f flag:

$ tldx openai -p use -s ly -t io --format json 
[
 {
 "domain": "openaily.io",
 "available": true 
 },
 {
 "domain": "openai.io",
 "available": false
 },
 ...
]
$ tldx openai -p use -s ly -t io --format json-stream
{"domain":"useopenaily.io","available":true}
{"domain":"openai.io","available":false}
...
$ tldx openai -p use -s ly -t io --format csv
domain,available,error
openaily.io,true,
openai.io,false,
...

📦 Installation

macOS (Homebrew)

brew install tldx

or

brew tap brandonyoungdev/tldx
brew install tldx

Windows (winget)

winget install --id=brandonyoungdev.tldx -e

Arch Linux (AUR)

Two options are available for Arch Linux users:

  • tldx - Build the package from source.
  • tldx-bin - Build the package from releases.

Linux and Windows (Manual)

Visit the Releases page.

Download the archive for your OS and architecture:

  • macOS / Linux: tldx_<version>_<os>_<arch>.tar.gz

  • Windows: tldx_<version>_windows_<arch>.zip

Extract the binary and move it to a directory in your $PATH:

# Example for Linux/macOS
tar -xzf tldx_<version>_<os>_<arch>.tar.gz
mv tldx /usr/local/bin/

Go (Install from Source)

go install github.com/brandonyoungdev/tldx@latest

Packages

No packages published

Contributors 7

AltStyle によって変換されたページ (->オリジナル) /