domainstorm 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,99 +1,139 @@
1
- # Domainstorm CLI
1
+ # Domainstorm
2
2
 
3
- `domainstorm` is a domain brainstorming + availability CLI for agent products.
4
- One command can generate naming candidates and check registration status via WHOIS.
3
+ [![npm version](https://img.shields.io/npm/v/domainstorm)](https://www.npmjs.com/package/domainstorm)
4
+ [![npm downloads](https://img.shields.io/npm/dm/domainstorm)](https://www.npmjs.com/package/domainstorm)
5
+ [![CI](https://img.shields.io/github/actions/workflow/status/tanishqsh/domain-cli/npm-publish.yml)](https://github.com/tanishqsh/domain-cli/actions/workflows/npm-publish.yml)
5
6
 
6
- ## Install
7
+ Domainstorm is the fastest way to go from "we need a name" to "these are the domains we can buy now."
7
8
 
8
- From GitHub (works now):
9
+ It is built for AI and agent products where naming cycles happen fast and every good domain disappears quickly.
9
10
 
10
- ```bash
11
- npm i -g github:tanishqsh/domain-cli
12
- ```
11
+ ## Why Domainstorm
13
12
 
14
- From npm (after publish):
13
+ - One command for ideation and availability checks
14
+ - Built for agent-native products (`agent`, `mcp`, `ops`, `runtime`, `router` naming patterns)
15
+ - WHOIS-based checks across TLDs with optional registry server override
16
+ - CLI-first output that works cleanly in agent and CI workflows
17
+ - CSV export for founders, marketers, and legal review
18
+
19
+ ## Install
15
20
 
16
21
  ```bash
17
22
  npm i -g domainstorm
18
23
  ```
19
24
 
20
- Run without installing globally:
25
+ Run instantly without global install:
21
26
 
22
27
  ```bash
23
- npx --yes github:tanishqsh/domain-cli#main --help
28
+ npx --yes domainstorm --help
24
29
  ```
25
30
 
26
- ## One-Command Brainstorm
31
+ ## Quick Wins
32
+
33
+ Brainstorm + check + return only likely available:
27
34
 
28
35
  ```bash
29
- domainstorm --brainstorm "agent cli" "mcp broker" --tld md --server whois.nic.md --only-available
36
+ domainstorm --brainstorm "agent orchestration" "mcp broker" --tld md --server whois.nic.md --only-available
30
37
  ```
31
38
 
32
- This command:
33
- - Generates brandable name candidates from your seed phrases
34
- - Appends your target TLD
35
- - Checks registration status
36
- - Prints a narrative hint (`story=...`) for each candidate
37
-
38
- ## Quick Start
39
+ Check exact domains:
39
40
 
40
41
  ```bash
41
- domainstorm openai.com example.org --output /tmp/domain-results.csv
42
+ domainstorm agentmesh.ai agentmesh.com agentmesh.md
42
43
  ```
43
44
 
45
+ Check from file and export CSV:
46
+
44
47
  ```bash
45
- domainstorm --input agent-md-candidates.txt --tld md --server whois.nic.md --output /tmp/md-results.csv
48
+ domainstorm --input domains.txt --output /tmp/domainstorm.csv
46
49
  ```
47
50
 
48
- `domain-check` is kept as a compatibility alias.
51
+ ## Built For Agent Workflows
52
+
53
+ Use Domainstorm when your coding/research agent needs to propose names and validate them in the same run.
49
54
 
50
- ## Input Format
55
+ - Deterministic CLI output
56
+ - Works with shell pipelines
57
+ - No external AI API keys required
58
+ - Easy to trigger in CI on release or branch workflows
51
59
 
52
- - One label/domain per line in a text file
53
- - `#` comments are ignored
54
- - Labels without a TLD are converted to `<label>.<tld>` (default: `md`)
55
- - Comma-separated values are accepted per line
60
+ Compatibility alias:
56
61
 
57
- Example:
62
+ ```bash
63
+ domain-check --help
64
+ ```
65
+
66
+ ## Example Output
58
67
 
59
68
  ```txt
60
- # sample
61
- broker
62
- agenthub.md
63
- mcpbroker,mcprouter
69
+ agentmesh.md likely_available availability_pattern_match low story=Keyword + product framing
70
+ agentops.md registered registration_pattern_match low story=Keyword + product framing
64
71
  ```
65
72
 
66
- ## Output Columns
73
+ Output columns:
67
74
 
68
75
  - `domain`
69
- - `status`: `registered`, `likely_available`, or `unknown`
70
- - `reason`: why the status was chosen
71
- - `legal_risk`: heuristic trademark risk flag (`low` / `high_tm_risk`)
72
- - `story`: brainstorm narrative tag for generated names
73
- - `error`: lookup/system failures when present
76
+ - `status` (`registered`, `likely_available`, `unknown`)
77
+ - `reason`
78
+ - `legal_risk` (`low`, `high_tm_risk`)
79
+ - `story` (brainstorm narrative tag)
80
+ - `error`
74
81
 
75
- ## CLI Flags
82
+ ## Key Flags
76
83
 
84
+ - `--brainstorm` / `--storm`
85
+ - `--max-suggestions <n>` (default: `120`)
77
86
  - `--input <file>`
78
87
  - `--output <file>`
79
- - `--tld <tld>` default `md`
80
- - `--server <whois-host>` optional (for example `whois.nic.md`)
88
+ - `--tld <tld>` (default: `md`)
89
+ - `--server <whois-host>`
90
+ - `--only-available`
81
91
  - `--concurrency <n>`
82
92
  - `--timeout-ms <n>`
83
- - `--brainstorm` / `--storm`
84
- - `--max-suggestions <n>` default `120`
85
- - `--only-available`
86
93
  - `--raw`
87
94
 
88
- ## Notes
95
+ ## Add `NPM_TOKEN` In GitHub (2 Minutes)
96
+
97
+ 1. Create an npm Automation token:
98
+ `npmjs.com -> Account Settings -> Access Tokens -> Generate New Token -> Automation`
99
+ 2. Open your repo:
100
+ `github.com/tanishqsh/domain-cli`
101
+ 3. Go to:
102
+ `Settings -> Secrets and variables -> Actions`
103
+ 4. Click:
104
+ `New repository secret`
105
+ 5. Set:
106
+ `Name = NPM_TOKEN`
107
+ `Secret = <your npm automation token>`
108
+ 6. Save.
109
+
110
+ Now GitHub Actions can publish with `.github/workflows/npm-publish.yml`.
111
+
112
+ ## GitHub -> npm Auto Publish
113
+
114
+ The publish workflow triggers on:
89
115
 
90
- - WHOIS formats vary by registry; treat `likely_available` as a pre-check, not final registrar confirmation.
91
- - Registries can rate-limit bulk lookups; retry unknown rows after cooldown.
92
- - `whois` must be installed locally (`brew install whois` on macOS).
116
+ - GitHub Release published
117
+ - Manual `workflow_dispatch`
93
118
 
94
- ## Publish To npm
119
+ Workflow path:
120
+
121
+ `/.github/workflows/npm-publish.yml`
122
+
123
+ Important:
124
+
125
+ - Bump `package.json` version before publishing a new release
126
+ - npm will reject already-published versions
127
+
128
+ ## Local Publish
95
129
 
96
130
  ```bash
97
131
  npm login
98
132
  npm publish --access public
99
133
  ```
134
+
135
+ ## Notes
136
+
137
+ - WHOIS formats vary by registry; treat `likely_available` as a pre-check, not final registrar checkout.
138
+ - Registries can rate-limit bulk lookups; retry `unknown` rows after cooldown.
139
+ - Install `whois` locally (`brew install whois` on macOS).
package/package.json CHANGED
@@ -1,27 +1,45 @@
1
1
  {
2
2
  "name": "domainstorm",
3
- "version": "0.2.0",
4
- "description": "Domainstorm CLI: brainstorm brandable names and check domain registration via WHOIS",
3
+ "version": "0.2.1",
4
+ "description": "Brainstorm and check domain names in one command.",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "git+https://github.com/tanishqsh/domain-cli.git"
8
+ },
9
+ "bugs": {
10
+ "url": "https://github.com/tanishqsh/domain-cli/issues"
11
+ },
12
+ "homepage": "https://github.com/tanishqsh/domain-cli#readme",
5
13
  "type": "module",
6
14
  "bin": {
7
- "domainstorm": "check-md-domains.mjs",
8
- "domain-check": "check-md-domains.mjs"
15
+ "domainstorm": "check-domains.mjs",
16
+ "domain-check": "check-domains.mjs"
9
17
  },
10
18
  "files": [
11
- "check-md-domains.mjs",
12
- "agent-md-candidates.txt",
19
+ "check-domains.mjs",
20
+ "agent-candidates.txt",
13
21
  "README.md"
14
22
  ],
15
23
  "scripts": {
16
- "start": "node check-md-domains.mjs --help"
24
+ "check": "node check-domains.mjs --help > /dev/null",
25
+ "start": "node check-domains.mjs --help"
17
26
  },
18
27
  "keywords": [
19
28
  "domain",
29
+ "domains",
20
30
  "whois",
21
31
  "cli",
22
- "availability"
32
+ "availability",
33
+ "brainstorm",
34
+ "branding",
35
+ "agents",
36
+ "naming"
23
37
  ],
24
38
  "license": "MIT",
39
+ "publishConfig": {
40
+ "access": "public",
41
+ "provenance": true
42
+ },
25
43
  "engines": {
26
44
  "node": ">=18"
27
45
  }
File without changes