posterboy 0.1.5

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 (4) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +107 -0
  3. package/dist/index.js +3645 -0
  4. package/package.json +57 -0
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 agileguy
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,107 @@
1
+ # posterboy
2
+
3
+ Social media posting CLI powered by [Upload Post](https://upload-post.com).
4
+
5
+ ## Installation
6
+
7
+ ### npm (recommended)
8
+ ```bash
9
+ npm install -g posterboy
10
+ ```
11
+
12
+ ### From Source
13
+ ```bash
14
+ git clone https://github.com/agileguy/posterboy.git
15
+ cd posterboy
16
+ bun install
17
+ bun link
18
+ ```
19
+
20
+ ### Compiled Binary
21
+ ```bash
22
+ bun run build:binary
23
+ sudo mv posterboy /usr/local/bin/
24
+ ```
25
+
26
+ ## Quick Start
27
+
28
+ ```bash
29
+ # Store your API key
30
+ posterboy auth login --key up_xxxx
31
+
32
+ # Check account status
33
+ posterboy auth status
34
+
35
+ # Create a profile and connect platforms
36
+ posterboy profiles create --username myprofile
37
+ posterboy profiles connect --profile myprofile
38
+
39
+ # Post text to multiple platforms
40
+ posterboy post text --body "Hello world!" --platforms x,linkedin
41
+
42
+ # Post a photo
43
+ posterboy post photo --files photo.jpg --platforms instagram --title "My photo"
44
+
45
+ # Post a video
46
+ posterboy post video --file video.mp4 --platforms tiktok,youtube --title "My video"
47
+
48
+ # Schedule a post
49
+ posterboy post text --body "Scheduled post" --platforms x --schedule "2026-03-01T14:00:00Z"
50
+
51
+ # Queue a post
52
+ posterboy post text --body "Queued post" --platforms x --queue
53
+ ```
54
+
55
+ ## Commands
56
+
57
+ | Command | Description |
58
+ |---------|-------------|
59
+ | `auth login` | Store API key |
60
+ | `auth status` | Show account info |
61
+ | `profiles list` | List profiles |
62
+ | `profiles create` | Create profile |
63
+ | `profiles delete` | Delete profile |
64
+ | `profiles connect` | Connect social accounts |
65
+ | `platforms` | List connected platforms |
66
+ | `post text` | Post text content |
67
+ | `post photo` | Post photos/carousel |
68
+ | `post video` | Post video |
69
+ | `post document` | Post document (LinkedIn) |
70
+ | `schedule list` | List scheduled posts |
71
+ | `schedule cancel` | Cancel scheduled post |
72
+ | `schedule modify` | Modify scheduled post |
73
+ | `queue settings` | View/update queue config |
74
+ | `queue preview` | Preview queue slots |
75
+ | `queue next` | Next available slot |
76
+ | `history` | View upload history |
77
+ | `analytics` | View profile analytics |
78
+ | `status` | Check upload status |
79
+
80
+ ## Global Options
81
+
82
+ | Option | Description |
83
+ |--------|-------------|
84
+ | `--json` | Force JSON output |
85
+ | `--pretty` | Force pretty output |
86
+ | `--verbose` | Show request/response details |
87
+ | `--profile` | Override default profile |
88
+ | `--api-key` | Override API key |
89
+ | `--config` | Override config path |
90
+
91
+ ## Configuration
92
+
93
+ Config file: `~/.posterboy/config.json`
94
+
95
+ ```json
96
+ {
97
+ "version": 1,
98
+ "api_key": "up_xxxx",
99
+ "default_profile": "myprofile",
100
+ "default_platforms": ["x", "linkedin"],
101
+ "default_timezone": "America/New_York"
102
+ }
103
+ ```
104
+
105
+ ## License
106
+
107
+ [MIT](LICENSE)