chirpie 1.0.35 → 1.0.37
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 +3 -2
- package/dist/index.js +4 -4
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -39,14 +39,15 @@ export CHIRPIE_API_KEY=chirpie_sk_...
|
|
|
39
39
|
| `chirpie accounts activate <id>` / `deactivate <id>` | Choose which accounts publish. Deactivating cancels that account's scheduled posts |
|
|
40
40
|
| `chirpie accounts connect-x` | Start the X OAuth flow and print the URL |
|
|
41
41
|
| `chirpie accounts connect-bluesky` | Connect Bluesky with an app password |
|
|
42
|
-
| `chirpie accounts connect-linkedin` / `connect-
|
|
42
|
+
| `chirpie accounts connect-linkedin` / `connect-mastodon` | Start that platform's OAuth flow |
|
|
43
|
+
| `chirpie accounts connect-threads` / `connect-instagram` / `connect-facebook` | Start that platform's OAuth flow (coming soon) |
|
|
43
44
|
| `chirpie accounts connect-linkedin --pages` | Connect the LinkedIn Pages you administer, each as its own account (coming soon) |
|
|
44
45
|
| `chirpie accounts connect-telegram` | Connect a Telegram bot to a channel or group |
|
|
45
46
|
| `chirpie accounts x-keys set` / `status` / `remove` | Use your own X developer app |
|
|
46
47
|
| `chirpie analytics <post_id>` | Engagement metrics for a published post |
|
|
47
48
|
| `chirpie keys` / `keys create` / `keys revoke <id>` | Manage API keys |
|
|
48
49
|
|
|
49
|
-
Run `chirpie <command> --help` for the full option list. Pinterest, TikTok, YouTube and Google Business Profile are coming soon.
|
|
50
|
+
Run `chirpie <command> --help` for the full option list. Threads, Instagram, Facebook, Pinterest, TikTok, YouTube and Google Business Profile are coming soon. Accounts already connected keep posting and scheduling as normal.
|
|
50
51
|
|
|
51
52
|
## Examples
|
|
52
53
|
|
package/dist/index.js
CHANGED
|
@@ -157,7 +157,7 @@ function getClient() {
|
|
|
157
157
|
}
|
|
158
158
|
|
|
159
159
|
// src/commands/post.ts
|
|
160
|
-
var postCommand = new Command3("post").description("Create a post").argument("<text>", "Post text").option("-a, --account <id>", "Account ID").option("-m, --media <urls...>", "
|
|
160
|
+
var postCommand = new Command3("post").description("Create a post").argument("<text>", "Post text").option("-a, --account <id>", "Account ID").option("-m, --media <urls...>", "Image or video URLs. Image caps: X, Bluesky, LinkedIn and Mastodon 4, Threads 1, Instagram, Facebook and Telegram 10. Video: X, Mastodon and Telegram only, one per post, never with images. Anything a platform cannot take is refused rather than dropped.").option("-s, --schedule <datetime>", "Schedule for later. Any ISO 8601 timestamp with a timezone (2026-04-01T14:00:00Z or 2026-04-01T16:00:00+02:00). Posts publish within ~5 minutes of the scheduled time.").option("--json", "Output raw JSON").action(async (text, opts) => {
|
|
161
161
|
const client = getClient();
|
|
162
162
|
let accountId = opts.account;
|
|
163
163
|
if (!accountId) {
|
|
@@ -547,7 +547,7 @@ accountsCommand.command("connect-linkedin").description(
|
|
|
547
547
|
process.exit(1);
|
|
548
548
|
}
|
|
549
549
|
});
|
|
550
|
-
accountsCommand.command("connect-threads").description("Connect a Threads (Meta) account via OAuth").option("--json", "Output raw JSON").action(async (opts, cmd) => {
|
|
550
|
+
accountsCommand.command("connect-threads").description("Connect a Threads (Meta) account via OAuth (coming soon)").option("--json", "Output raw JSON").action(async (opts, cmd) => {
|
|
551
551
|
const client = getClient();
|
|
552
552
|
try {
|
|
553
553
|
const result = await client.connectThreadsAccount();
|
|
@@ -587,7 +587,7 @@ accountsCommand.command("connect-mastodon").description("Connect a Mastodon acco
|
|
|
587
587
|
process.exit(1);
|
|
588
588
|
}
|
|
589
589
|
});
|
|
590
|
-
accountsCommand.command("connect-instagram").description("Connect an Instagram account via Instagram Login (OAuth)").option("--json", "Output raw JSON").action(async (opts, cmd) => {
|
|
590
|
+
accountsCommand.command("connect-instagram").description("Connect an Instagram account via Instagram Login (OAuth, coming soon)").option("--json", "Output raw JSON").action(async (opts, cmd) => {
|
|
591
591
|
const client = getClient();
|
|
592
592
|
try {
|
|
593
593
|
const result = await client.connectInstagramAccount();
|
|
@@ -604,7 +604,7 @@ accountsCommand.command("connect-instagram").description("Connect an Instagram a
|
|
|
604
604
|
process.exit(1);
|
|
605
605
|
}
|
|
606
606
|
});
|
|
607
|
-
accountsCommand.command("connect-facebook").description("Connect a Facebook Page via Facebook Login (OAuth)").option(
|
|
607
|
+
accountsCommand.command("connect-facebook").description("Connect a Facebook Page via Facebook Login (OAuth, coming soon)").option(
|
|
608
608
|
"--reconnect",
|
|
609
609
|
"Re-run the flow for an already authorized Facebook account, asking again about anything turned down last time"
|
|
610
610
|
).option("--json", "Output raw JSON").action(async (opts, cmd) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "chirpie",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.37",
|
|
4
4
|
"description": "Chirpie CLI: post to social media from the command line",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
],
|
|
45
45
|
"license": "MIT",
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@chirpie/sdk": "^1.0.
|
|
47
|
+
"@chirpie/sdk": "^1.0.34",
|
|
48
48
|
"commander": "^13"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|