reredd-cli 2.0.0 → 2.1.4
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 +122 -0
- package/package.json +5 -5
package/README.md
ADDED
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
# Reredd CLI
|
|
2
|
+
The professional engine for Reddit market research and customer pain point validation.
|
|
3
|
+
|
|
4
|
+
Reredd CLI is a CLI tool for researchers to validate product-market fit. It automates the process of discovering signals, monitoring community discussions, and engaging with potential customers through AI-synthesized context.
|
|
5
|
+
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
## Installation
|
|
9
|
+
|
|
10
|
+
Install the global command via the NPM registry. This package includes pre-compiled binaries for macOS, Linux, and Windows.
|
|
11
|
+
|
|
12
|
+
```bash
|
|
13
|
+
npm install -g reredd-cli
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
---
|
|
17
|
+
|
|
18
|
+
## Authentication
|
|
19
|
+
|
|
20
|
+
Reredd CLI operates using your existing browser session. This avoids traditional API limitations and ensures authentic community interaction.
|
|
21
|
+
|
|
22
|
+
### 1. Install Extension
|
|
23
|
+
Install the "Copy Cookies" extension to export your session data:
|
|
24
|
+
[Download Copy Cookies](https://chromewebstore.google.com/detail/copy-cookies/jcbpglbplpblnagieibnemmkiamekcdg?hl=en-US)
|
|
25
|
+
|
|
26
|
+
### 2. Export Cookies
|
|
27
|
+
1. Log in to your Reddit account in your browser.
|
|
28
|
+
2. Open the "Copy Cookies" extension and click the export button to copy your session to the clipboard.
|
|
29
|
+
|
|
30
|
+
### 3. Add Account to CLI
|
|
31
|
+
Run the following command and paste your clipboard when prompted:
|
|
32
|
+
```bash
|
|
33
|
+
reredd account add my-account-alias
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
---
|
|
37
|
+
|
|
38
|
+
## Setup and Configuration
|
|
39
|
+
|
|
40
|
+
Before running research campaigns, you must configure your LLM provider.
|
|
41
|
+
|
|
42
|
+
### `reredd configure`
|
|
43
|
+
The interactive setup wizard for your AI agents.
|
|
44
|
+
- **Provider**: Choose between Google (Gemini) or OpenAI.
|
|
45
|
+
- **API Key**: Securely store your provider key locally.
|
|
46
|
+
- **Model**: Set a universal fallback model (e.g., gpt-4o or gemini-1.5-pro).
|
|
47
|
+
|
|
48
|
+
### `reredd config llm`
|
|
49
|
+
Fast-access command to update specific LLM settings.
|
|
50
|
+
- `-p, --provider`: Set provider.
|
|
51
|
+
- `-m, --model`: Set fallback model.
|
|
52
|
+
- `-k, --apiKey`: Update API key.
|
|
53
|
+
- `-b, --baseURL`: Set custom base URL for OpenAI-compatible proxies.
|
|
54
|
+
|
|
55
|
+
---
|
|
56
|
+
|
|
57
|
+
## Market Research and Validation
|
|
58
|
+
|
|
59
|
+
### `reredd campaign`
|
|
60
|
+
The primary module for market research and pain point analysis.
|
|
61
|
+
|
|
62
|
+
#### `campaign create`
|
|
63
|
+
Starts the interactive mission wizard. You will define your research intent (e.g., "Validate a new scheduling tool for dentists"), target subreddits, key metrics, and monitoring duration.
|
|
64
|
+
|
|
65
|
+
#### `campaign start [name]`
|
|
66
|
+
Executes the defined mission. The agent will monitor subreddits, identify relevant threads, and find customer signals.
|
|
67
|
+
- `--verbose`: Enable detailed logs including internal agent decision-making timestamps.
|
|
68
|
+
|
|
69
|
+
#### `campaign runs [name]`
|
|
70
|
+
Lists all historical execution cycles for a specific campaign.
|
|
71
|
+
|
|
72
|
+
#### `campaign resume [name] [runId]`
|
|
73
|
+
Resumes an interrupted or paused research run using a specific Run ID.
|
|
74
|
+
|
|
75
|
+
#### `campaign report [name] [runId]`
|
|
76
|
+
Manually triggers the synthesis engine to generate a research report in HTML format.
|
|
77
|
+
- `--final`: Generates a comprehensive final report summarizing all discovered themes.
|
|
78
|
+
- Without the flag, it generates an **intermediate report** focusing on the latest signals.
|
|
79
|
+
- Intermediate reports are saved in: `~/.reredd/campaigns/[name]/runs/[runId]/report-intermediate.html`
|
|
80
|
+
- Final reports are saved in: `~/.reredd/campaigns/[name]/report-final.html`
|
|
81
|
+
|
|
82
|
+
---
|
|
83
|
+
|
|
84
|
+
## Community Engagement
|
|
85
|
+
|
|
86
|
+
### `reredd account`
|
|
87
|
+
- `add [alias]`: Register a new profile.
|
|
88
|
+
- `list`: View all registered aliases.
|
|
89
|
+
- `use <alias>`: Switch the active global account.
|
|
90
|
+
- `remove <alias>`: Delete an account from the local vault.
|
|
91
|
+
|
|
92
|
+
### `reredd post`
|
|
93
|
+
- `create`: Interactive wizard to draft and publish posts. Includes an automated Flair Fetcher to ensure your post complies with subreddit requirements.
|
|
94
|
+
|
|
95
|
+
### `reredd comment`
|
|
96
|
+
- `fetch <postId>`: Scrapes comments for a specific post. It automatically returns cursor tokens for handling large threads.
|
|
97
|
+
- `-s, --subreddit <name>`: Explicitly define the subreddit if not automatically detected.
|
|
98
|
+
|
|
99
|
+
### `reredd followup <postId> <commentId>`
|
|
100
|
+
The core engagement tool. It prompts you for a reply or uses the internal agent to draft a contextual response based on the parent comment's tone and technical content.
|
|
101
|
+
|
|
102
|
+
### `reredd subreddit info <name>`
|
|
103
|
+
Fetches critical metadata for a subreddit.
|
|
104
|
+
- **Metrics**: Current subscriber count and active users.
|
|
105
|
+
- **Community Rules**: Parses and displays the official rules to ensure your research stays within community guidelines.
|
|
106
|
+
- `--debug`: Saves the raw subreddit HTML to `debug-subreddit.html` for technical auditing.
|
|
107
|
+
|
|
108
|
+
---
|
|
109
|
+
|
|
110
|
+
## Local Storage and Security
|
|
111
|
+
|
|
112
|
+
Reredd is **local-first**. All data is stored in your home directory at `~/.reredd/`:
|
|
113
|
+
- `agent.config.json`: LLM provider settings.
|
|
114
|
+
- `sessions.json`: Encrypted/Structured Reddit session data.
|
|
115
|
+
- `campaigns/`: Folder containing all research logs and HTML reports.
|
|
116
|
+
|
|
117
|
+
No data is ever sent to a central server; all API calls are made directly from your machine to Reddit and your chosen LLM provider.
|
|
118
|
+
|
|
119
|
+
---
|
|
120
|
+
|
|
121
|
+
## License
|
|
122
|
+
MIT
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "reredd-cli",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.1.4",
|
|
4
4
|
"description": "Premium Reddit automation CLI — Pre-compiled binaries.",
|
|
5
5
|
"bin": {
|
|
6
6
|
"reredd": "./bin/reredd.js"
|
|
@@ -9,9 +9,9 @@
|
|
|
9
9
|
"bin/"
|
|
10
10
|
],
|
|
11
11
|
"optionalDependencies": {
|
|
12
|
-
"reredd-darwin-arm64": "2.
|
|
13
|
-
"reredd-darwin-x64": "2.
|
|
14
|
-
"reredd-linux-x64": "2.
|
|
15
|
-
"reredd-windows-x64": "2.
|
|
12
|
+
"reredd-darwin-arm64": "2.1.4",
|
|
13
|
+
"reredd-darwin-x64": "2.1.4",
|
|
14
|
+
"reredd-linux-x64": "2.1.4",
|
|
15
|
+
"reredd-windows-x64": "2.1.4"
|
|
16
16
|
}
|
|
17
17
|
}
|