|
1 | | -# replynodes-cli |
| 1 | +# replynodes-cli (retired) |
2 | 2 |
|
3 | | -[](https://www.npmjs.com/package/replynodes-cli) |
4 | | -[](https://github.com/replynodes/replynodes-cli/blob/main/LICENSE) |
| 3 | +This CLI is a legacy ReplyNodes social-publishing client and is retained for historical reference only. Its scheduling, connected-channel, media-upload, and legacy public-API instructions are not current ReplyNodes product guidance. |
5 | 4 |
|
6 | | -Command-line interface for [Replynodes](https://replynodes.com) — schedule |
7 | | -posts, manage connected channels, upload media, and pull analytics from your |
8 | | -terminal or scripts. Thin wrapper around the [Replynodes public |
9 | | -API](https://app.replynodes.com/api/public/v1). |
| 5 | +For current agent-facing web and public-data context, use the canonical ReplyNodes MCP: |
10 | 6 |
|
11 | | -## Install |
| 7 | +- Repository: https://github.com/replynodes/replynodes-mcp |
| 8 | +- Endpoint: `https://mcp.replynodes.com/mcp` |
12 | 9 |
|
13 | | -```bash |
14 | | -npm install -g replynodes-cli |
15 | | -``` |
16 | | - |
17 | | -Or run without installing: |
18 | | - |
19 | | -```bash |
20 | | -npx replynodes-cli --help |
21 | | -``` |
22 | | - |
23 | | -## Get an API key |
24 | | - |
25 | | -1. Log in to [app.replynodes.com](https://app.replynodes.com). |
26 | | -2. Go to **Settings → API Keys** and create a key. |
27 | | -3. Keep it secret — it grants full access to your Replynodes organization. |
28 | | - |
29 | | -## Authenticate |
30 | | - |
31 | | -Either set an environment variable: |
32 | | - |
33 | | -```bash |
34 | | -export REPLYNODES_API_KEY="your-api-key-here" |
35 | | -``` |
36 | | - |
37 | | -or save it locally (stored at `~/.config/replynodes-cli/config.json`, mode `0600`): |
38 | | - |
39 | | -```bash |
40 | | -replynodes login your-api-key-here |
41 | | -``` |
42 | | - |
43 | | -Self-hosted instance? Point at it with `REPLYNODES_API_URL` (default |
44 | | -`https://app.replynodes.com/api`), or `replynodes login <key> --api-url <url>`. |
45 | | - |
46 | | -## Usage |
47 | | - |
48 | | -```bash |
49 | | -replynodes status # check the API key is valid |
50 | | -replynodes integrations list # list connected channels |
51 | | -replynodes groups # list customers/groups |
52 | | - |
53 | | -# Post a draft to one channel |
54 | | -replynodes posts create \ |
55 | | - --integration <integrationId> \ |
56 | | - --content "Hello from the CLI" \ |
57 | | - --type draft |
58 | | - |
59 | | -# Schedule a post |
60 | | -replynodes posts create \ |
61 | | - --integration <integrationId> \ |
62 | | - --content "Scheduled post" \ |
63 | | - --type schedule \ |
64 | | - --date 2026-08-01T12:00:00.000Z |
65 | | - |
66 | | -replynodes posts list --start 2026-08-01 --end 2026-08-31 |
67 | | -replynodes posts delete <postId> |
68 | | - |
69 | | -replynodes upload file ./image.png |
70 | | -replynodes upload url https://example.com/image.png |
71 | | - |
72 | | -replynodes analytics channel <integrationId> --date 30 |
73 | | -replynodes notifications |
74 | | -``` |
75 | | - |
76 | | -Run `replynodes <command> --help` for full options on any command; run |
77 | | -`replynodes help` for the full command tree (`posts`, `integrations`, |
78 | | -`groups`, `notifications`, `status`, `upload`, `analytics`, `video`). |
79 | | - |
80 | | -### Complex posts (multi-channel, per-provider settings, media) |
81 | | - |
82 | | -The `--integration`/`--content` flags cover the common single-channel case. |
83 | | -For multi-channel posts, provider-specific settings (e.g. Facebook post type, |
84 | | -X thread splitting), or attaching uploaded media, pass a full request body |
85 | | -with `--json`: |
86 | | - |
87 | | -```bash |
88 | | -replynodes posts create --json '{ |
89 | | - "type": "schedule", |
90 | | - "date": "2026-08-01T12:00:00.000Z", |
91 | | - "shortLink": false, |
92 | | - "tags": [], |
93 | | - "posts": [ |
94 | | - { |
95 | | - "integration": { "id": "<integrationId>" }, |
96 | | - "value": [{ "content": "Hello", "image": [] }] |
97 | | - } |
98 | | - ] |
99 | | -}' |
100 | | -``` |
101 | | - |
102 | | -`--json` also accepts `@path/to/file.json` to read the body from a file. |
103 | | -The same `<json>` / `@file` convention works for `integrations trigger |
104 | | ---data`, `video generate --params`, and `video function --params`. |
105 | | - |
106 | | -## Commands |
107 | | - |
108 | | -| Command | Description | |
109 | | -| --- | --- | |
110 | | -| `posts list` | List posts in a date range | |
111 | | -| `posts create` | Create a post (draft / schedule / now / update) | |
112 | | -| `posts delete <id>` | Delete a post | |
113 | | -| `posts delete-group <group>` | Delete all posts in a group | |
114 | | -| `posts status <id>` | Change post status (draft / schedule) | |
115 | | -| `posts release-id <id>` | Set the provider release id | |
116 | | -| `posts missing <id>` | Get missing/incomplete content details | |
117 | | -| `posts find-slot <integrationId>` | Find the next free scheduling slot | |
118 | | -| `integrations list` | List connected channels | |
119 | | -| `integrations delete <id>` | Disconnect a channel | |
120 | | -| `integrations auth-url <identifier>` | Get an OAuth connect URL | |
121 | | -| `integrations settings <id>` | Get provider settings schema/rules/tools | |
122 | | -| `integrations trigger <id>` | Call a provider tool method | |
123 | | -| `groups` | List customers/groups | |
124 | | -| `notifications` | List notifications | |
125 | | -| `status` | Check the API key is connected | |
126 | | -| `upload file <path>` | Upload a local image/video | |
127 | | -| `upload url <url>` | Upload media from a public URL | |
128 | | -| `analytics channel <id>` | Channel analytics | |
129 | | -| `analytics post <id>` | Post analytics | |
130 | | -| `video generate` | Generate an AI video | |
131 | | -| `video function` | Call a video provider function | |
132 | | - |
133 | | -Alternatively, use the [Replynodes public API](https://app.replynodes.com/api/public/v1) |
134 | | -directly with curl, or the [`@postiz/node`](https://www.npmjs.com/package/@postiz/node) |
135 | | -SDK for programmatic Node.js use. |
136 | | - |
137 | | -## Related |
138 | | - |
139 | | -If you're scripting content creation as well as publishing, see |
140 | | -[Awesome Social Media Skills](https://github.com/replynodes/awesome-social-media-skills) — |
141 | | -an open-source library of portable AI agent skills (research, writing, |
142 | | -repurposing, review) that pairs naturally with this CLI's `posts create` |
143 | | -and `upload` commands. |
| 10 | +The repository remains pending an owner decision on archival. Do not use this README as a current installation, authentication, pricing, or capability guide. |
0 commit comments