anymorph 0.1.0 → 0.2.0
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 +158 -0
- package/dist/index.js +483 -625
- package/package.json +16 -6
package/README.md
ADDED
|
@@ -0,0 +1,158 @@
|
|
|
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
|
+
# List workspaces available to your account
|
|
27
|
+
anymorph workspaces
|
|
28
|
+
|
|
29
|
+
# Prepare and validate local GEO strategy artifacts
|
|
30
|
+
anymorph geo prepare yourdomain.com
|
|
31
|
+
anymorph geo validate 20260517T074200Z --repo .
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
## Commands
|
|
35
|
+
|
|
36
|
+
### `anymorph login`
|
|
37
|
+
|
|
38
|
+
Authenticate with your Anymorph account using device code flow. Opens a browser to complete sign-in.
|
|
39
|
+
|
|
40
|
+
```
|
|
41
|
+
$ anymorph login
|
|
42
|
+
|
|
43
|
+
Your code: ABCD-1234
|
|
44
|
+
|
|
45
|
+
Opening https://dashboard.anymorph.ai/cli/auth
|
|
46
|
+
If browser doesn't open, visit the URL above.
|
|
47
|
+
|
|
48
|
+
✔ Logged in as you@example.com
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
### `anymorph check <domain>`
|
|
52
|
+
|
|
53
|
+
Analyze your brand's AI visibility. Returns a visibility score, share of voice, sentiment, engine breakdown, competitor comparison, and top citations.
|
|
54
|
+
|
|
55
|
+
```
|
|
56
|
+
$ anymorph check yourdomain.com
|
|
57
|
+
|
|
58
|
+
AI Visibility — yourdomain.com
|
|
59
|
+
────────────────────────────────────────
|
|
60
|
+
Score 72 / 100
|
|
61
|
+
Share of Voice 34%
|
|
62
|
+
Mentions 12
|
|
63
|
+
Sentiment Positive
|
|
64
|
+
|
|
65
|
+
Engine Breakdown
|
|
66
|
+
████████░░ ChatGPT
|
|
67
|
+
██████░░░░ Perplexity
|
|
68
|
+
███████░░░ Gemini
|
|
69
|
+
|
|
70
|
+
Competitors
|
|
71
|
+
yourdomain.com 34% SoV ← you
|
|
72
|
+
competitor-a.com 28% SoV
|
|
73
|
+
competitor-b.com 22% SoV
|
|
74
|
+
|
|
75
|
+
Citations
|
|
76
|
+
https://yourdomain.com/blog/post 4x
|
|
77
|
+
https://yourdomain.com/docs 2x
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
Use `--json` for machine-readable output:
|
|
81
|
+
|
|
82
|
+
```bash
|
|
83
|
+
anymorph check yourdomain.com --json
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
### `anymorph status`
|
|
87
|
+
|
|
88
|
+
Show current authentication status and linked workspaces.
|
|
89
|
+
|
|
90
|
+
```
|
|
91
|
+
$ anymorph status
|
|
92
|
+
|
|
93
|
+
Email: you@example.com
|
|
94
|
+
API: https://api.anymorph.ai
|
|
95
|
+
Token: valid (23h remaining)
|
|
96
|
+
|
|
97
|
+
Workspaces:
|
|
98
|
+
yourdomain.com (My Brand)
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
### `anymorph logout`
|
|
102
|
+
|
|
103
|
+
Sign out and clear stored credentials.
|
|
104
|
+
|
|
105
|
+
```bash
|
|
106
|
+
anymorph logout
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
### `anymorph workspaces`
|
|
110
|
+
|
|
111
|
+
List workspaces available to the current account.
|
|
112
|
+
|
|
113
|
+
```bash
|
|
114
|
+
anymorph workspaces
|
|
115
|
+
anymorph workspaces --json
|
|
116
|
+
```
|
|
117
|
+
|
|
118
|
+
### `anymorph geo prepare <workspace-or-domain>`
|
|
119
|
+
|
|
120
|
+
Prepare a local GEO strategy run package. By default, the CLI manages tenant
|
|
121
|
+
repos under `~/.anymorph/repos/{domain}`. Use `--repo` to target an explicit
|
|
122
|
+
local checkout.
|
|
123
|
+
|
|
124
|
+
```bash
|
|
125
|
+
anymorph geo prepare yourdomain.com
|
|
126
|
+
anymorph geo prepare yourdomain.com --repo ~/works/yourdomain.com
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
This initializes `agent/runs/{runId}/manifest.json`, `context.json`, and
|
|
130
|
+
`status.json`. The agent fills the content artifacts separately.
|
|
131
|
+
|
|
132
|
+
### `anymorph geo validate <runId>`
|
|
133
|
+
|
|
134
|
+
Validate local GEO run artifacts before pushing `main`.
|
|
135
|
+
|
|
136
|
+
```bash
|
|
137
|
+
anymorph geo validate 20260517T074200Z --repo .
|
|
138
|
+
```
|
|
139
|
+
|
|
140
|
+
Validation does not update the backend. Backend sync happens from the tenant
|
|
141
|
+
repo GitHub `main` push webhook.
|
|
142
|
+
|
|
143
|
+
## How It Works
|
|
144
|
+
|
|
145
|
+
1. **Login** — OAuth device code flow (like GitHub CLI) creates a secure session
|
|
146
|
+
2. **Check** — Queries ChatGPT, Perplexity, and Gemini with brand-relevant prompts
|
|
147
|
+
3. **Analyze** — NLP analysis scores visibility, sentiment, share of voice, and citations
|
|
148
|
+
4. **Display** — Results are formatted in your terminal or returned as JSON
|
|
149
|
+
|
|
150
|
+
First check is free. Visit [anymorph.ai](https://anymorph.ai) to unlock full analysis with 50+ prompts across 5 AI engines.
|
|
151
|
+
|
|
152
|
+
## Requirements
|
|
153
|
+
|
|
154
|
+
- Node.js >= 18
|
|
155
|
+
|
|
156
|
+
## License
|
|
157
|
+
|
|
158
|
+
MIT
|