anymorph 0.1.0 → 0.1.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.
Files changed (2) hide show
  1. package/README.md +117 -0
  2. package/package.json +14 -5
package/README.md ADDED
@@ -0,0 +1,117 @@
1
+ # anymorph
2
+
3
+ Check your brand's AI visibility across ChatGPT, Perplexity, Gemini, and more — right from your terminal.
4
+
5
+ ## Install
6
+
7
+ ```bash
8
+ npm install -g anymorph
9
+ ```
10
+
11
+ Or run directly:
12
+
13
+ ```bash
14
+ npx anymorph check yourdomain.com
15
+ ```
16
+
17
+ ## Quick Start
18
+
19
+ ```bash
20
+ # Sign in to your Anymorph account
21
+ anymorph login
22
+
23
+ # Check AI visibility for your domain
24
+ anymorph check yourdomain.com
25
+ ```
26
+
27
+ ## Commands
28
+
29
+ ### `anymorph login`
30
+
31
+ Authenticate with your Anymorph account using device code flow. Opens a browser to complete sign-in.
32
+
33
+ ```
34
+ $ anymorph login
35
+
36
+ Your code: ABCD-1234
37
+
38
+ Opening https://dashboard.anymorph.ai/cli/auth
39
+ If browser doesn't open, visit the URL above.
40
+
41
+ ✔ Logged in as you@example.com
42
+ ```
43
+
44
+ ### `anymorph check <domain>`
45
+
46
+ Analyze your brand's AI visibility. Returns a visibility score, share of voice, sentiment, engine breakdown, competitor comparison, and top citations.
47
+
48
+ ```
49
+ $ anymorph check yourdomain.com
50
+
51
+ AI Visibility — yourdomain.com
52
+ ────────────────────────────────────────
53
+ Score 72 / 100
54
+ Share of Voice 34%
55
+ Mentions 12
56
+ Sentiment Positive
57
+
58
+ Engine Breakdown
59
+ ████████░░ ChatGPT
60
+ ██████░░░░ Perplexity
61
+ ███████░░░ Gemini
62
+
63
+ Competitors
64
+ yourdomain.com 34% SoV ← you
65
+ competitor-a.com 28% SoV
66
+ competitor-b.com 22% SoV
67
+
68
+ Citations
69
+ https://yourdomain.com/blog/post 4x
70
+ https://yourdomain.com/docs 2x
71
+ ```
72
+
73
+ Use `--json` for machine-readable output:
74
+
75
+ ```bash
76
+ anymorph check yourdomain.com --json
77
+ ```
78
+
79
+ ### `anymorph status`
80
+
81
+ Show current authentication status and linked workspaces.
82
+
83
+ ```
84
+ $ anymorph status
85
+
86
+ Email: you@example.com
87
+ API: https://api.anymorph.ai
88
+ Token: valid (23h remaining)
89
+
90
+ Workspaces:
91
+ yourdomain.com (My Brand)
92
+ ```
93
+
94
+ ### `anymorph logout`
95
+
96
+ Sign out and clear stored credentials.
97
+
98
+ ```bash
99
+ anymorph logout
100
+ ```
101
+
102
+ ## How It Works
103
+
104
+ 1. **Login** — OAuth device code flow (like GitHub CLI) creates a secure session
105
+ 2. **Check** — Queries ChatGPT, Perplexity, and Gemini with brand-relevant prompts
106
+ 3. **Analyze** — NLP analysis scores visibility, sentiment, share of voice, and citations
107
+ 4. **Display** — Results are formatted in your terminal or returned as JSON
108
+
109
+ First check is free. Visit [anymorph.ai](https://anymorph.ai) to unlock full analysis with 50+ prompts across 5 AI engines.
110
+
111
+ ## Requirements
112
+
113
+ - Node.js >= 18
114
+
115
+ ## License
116
+
117
+ MIT
package/package.json CHANGED
@@ -1,17 +1,26 @@
1
1
  {
2
2
  "name": "anymorph",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Check your brand's AI visibility across ChatGPT, Perplexity, Gemini, and more",
5
5
  "type": "module",
6
6
  "private": false,
7
- "bin": { "anymorph": "./dist/index.js" },
8
- "files": ["dist", "README.md"],
7
+ "bin": {
8
+ "anymorph": "./dist/index.js"
9
+ },
10
+ "files": [
11
+ "dist",
12
+ "README.md"
13
+ ],
9
14
  "scripts": {
10
15
  "build": "node build.ts",
11
16
  "dev": "tsx src/index.ts"
12
17
  },
13
- "publishConfig": { "access": "public" },
14
- "engines": { "node": ">=18" },
18
+ "publishConfig": {
19
+ "access": "public"
20
+ },
21
+ "engines": {
22
+ "node": ">=18"
23
+ },
15
24
  "dependencies": {
16
25
  "commander": "^13.0.0",
17
26
  "chalk": "^5.4.0",