@appeeky/open-slideshow 0.0.0-stage → 0.1.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/LICENSE +21 -0
- package/README.md +227 -2
- package/dist/bin.d.ts +2 -0
- package/dist/bin.js +9 -0
- package/dist/brand.d.ts +55 -0
- package/dist/brand.js +246 -0
- package/dist/cli.d.ts +1 -0
- package/dist/cli.js +261 -0
- package/dist/decks.d.ts +44 -0
- package/dist/decks.js +90 -0
- package/dist/fonts.d.ts +45 -0
- package/dist/fonts.js +243 -0
- package/dist/gallery.d.ts +35 -0
- package/dist/gallery.js +109 -0
- package/dist/images.d.ts +49 -0
- package/dist/images.js +223 -0
- package/dist/index.d.ts +12 -0
- package/dist/index.js +13 -0
- package/dist/lint.d.ts +33 -0
- package/dist/lint.js +181 -0
- package/dist/mcp.d.ts +3 -0
- package/dist/mcp.js +233 -0
- package/dist/publish.d.ts +100 -0
- package/dist/publish.js +401 -0
- package/dist/render.d.ts +73 -0
- package/dist/render.js +515 -0
- package/dist/schedule.d.ts +19 -0
- package/dist/schedule.js +114 -0
- package/dist/schema.d.ts +1004 -0
- package/dist/schema.js +174 -0
- package/dist/shape.d.ts +31 -0
- package/dist/shape.js +169 -0
- package/dist/skill.d.ts +7 -0
- package/dist/skill.js +17 -0
- package/dist/templates.d.ts +44 -0
- package/dist/templates.js +185 -0
- package/dist/text.d.ts +40 -0
- package/dist/text.js +230 -0
- package/dist/themes.d.ts +43 -0
- package/dist/themes.js +202 -0
- package/dist/version.d.ts +1 -0
- package/dist/version.js +1 -0
- package/dist/viral.d.ts +12 -0
- package/dist/viral.js +35 -0
- package/dist/workspace.d.ts +80 -0
- package/dist/workspace.js +306 -0
- package/package.json +65 -4
- package/skills/open-slideshow/SKILL.md +52 -0
- package/skills/open-slideshow/references/brand.md +54 -0
- package/skills/open-slideshow/references/channels.md +63 -0
- package/skills/open-slideshow/references/images.md +53 -0
- package/skills/open-slideshow/references/languages.md +41 -0
- package/skills/open-slideshow/references/publishing.md +70 -0
- package/skills/open-slideshow/references/review.md +74 -0
- package/skills/open-slideshow/references/templates.md +59 -0
- package/skills/open-slideshow/references/troubleshooting.md +82 -0
- package/skills/open-slideshow/references/writing.md +76 -0
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
# Publishing
|
|
2
|
+
|
|
3
|
+
`deck_publish { id, provider }` without `confirm` shows what would happen and changes nothing. Show that to the user. Call again with `confirm: true` only after they say yes to this deck. "Looks good" about the slides is not a yes to posting; ask.
|
|
4
|
+
|
|
5
|
+
A deck must be rendered, and unchanged since then. Lint errors block every provider except `export`.
|
|
6
|
+
|
|
7
|
+
## Providers
|
|
8
|
+
|
|
9
|
+
### `export`
|
|
10
|
+
- Writes the images, `caption.txt` (caption and hashtags) and `credits.txt` (if any photo needs credit) to `exports/<deck>/`.
|
|
11
|
+
- Over MCP, `out` must be inside the workspace. From the CLI, any folder works.
|
|
12
|
+
- Needs nothing. Use it when the user posts by hand, or uses another tool.
|
|
13
|
+
|
|
14
|
+
### `photos` (macOS)
|
|
15
|
+
- Adds the images to a Photos album "open-slideshow <deck>". It syncs to the user's iPhone through iCloud Photos, and they post from the TikTok or Instagram app.
|
|
16
|
+
- The first time, macOS asks to allow control of Photos. Tell the user to click Allow.
|
|
17
|
+
- Not available on other systems; use `export` there.
|
|
18
|
+
|
|
19
|
+
### `appeeky`
|
|
20
|
+
- Posts now, or schedules, to TikTok and Instagram accounts the user connected in Appeeky. Needs the user's `APPEEKY_API_KEY` in their environment.
|
|
21
|
+
- `accounts` (on the deck or in the call) can be:
|
|
22
|
+
- `tiktok` or `instagram`, when there is one connected account of that kind;
|
|
23
|
+
- `tiktok:all`;
|
|
24
|
+
- `instagram:@handle`;
|
|
25
|
+
- `@handle`;
|
|
26
|
+
- an account id.
|
|
27
|
+
`accounts_list` shows what is connected.
|
|
28
|
+
- `when`: an ISO time with a zone, at least a minute ahead, e.g. `2026-12-08T18:30:00+03:00`. Leave it out to post now. Appeeky posts at that time from its servers, so the user's computer can be off.
|
|
29
|
+
- TikTok options (`tiktok` on the deck):
|
|
30
|
+
- `privacy`: public, friends, followers or only_me;
|
|
31
|
+
- `disclosure`: none, own_brand or paid_partnership. Use own_brand for the user's own app, and paid_partnership when someone was paid;
|
|
32
|
+
- `inbox_draft: true`: sends the post to the TikTok inbox instead of posting it;
|
|
33
|
+
- `auto_music`;
|
|
34
|
+
- `comments`;
|
|
35
|
+
- `cover_index`.
|
|
36
|
+
- Uploads resume: if one image fails, calling again continues where it stopped.
|
|
37
|
+
- The same rendered deck is never sent twice. Pass `again: true` only when the user really wants a second post.
|
|
38
|
+
|
|
39
|
+
### `postiz`
|
|
40
|
+
- Posts now, or schedules, through the user's own Postiz (cloud or self-hosted), to the TikTok and Instagram channels they connected there. Use it when the user already schedules with Postiz.
|
|
41
|
+
- Needs `POSTIZ_API_KEY` (Postiz: Settings, Public API). For a self-hosted Postiz, also `POSTIZ_API_URL=https://<their-domain>/api/public/v1`.
|
|
42
|
+
- `accounts` work as for `appeeky`; `accounts_list { service: "postiz" }` shows the connected channels. Other kinds of channels (X, LinkedIn and so on) are refused: open-slideshow makes photo slideshows for TikTok and Instagram.
|
|
43
|
+
- `when` works as for `appeeky`. Postiz posts at that time from its server, so the user's computer can be off (a self-hosted Postiz must be running).
|
|
44
|
+
- TikTok options map to Postiz's TikTok settings. `inbox_draft: true` sends the post to the TikTok inbox; duets and stitches are off (they apply to videos only).
|
|
45
|
+
- Postiz limits how many posts its public API takes per hour. One deck to several channels is one request.
|
|
46
|
+
- Uploads resume and the same rendered deck is never sent twice, as with `appeeky`.
|
|
47
|
+
|
|
48
|
+
### `spec-draft` (Appeeky Spec repos)
|
|
49
|
+
- Writes `appeeky/social/drafts/<deck>.yaml` with the accounts, text, time, media paths and TikTok options. Spec's review and `social push` send it.
|
|
50
|
+
- Does not post anything itself and needs no key.
|
|
51
|
+
- If the draft was already sent by Spec, it refuses: make a new deck.
|
|
52
|
+
|
|
53
|
+
## Music and the TikTok inbox
|
|
54
|
+
|
|
55
|
+
Photo posts with a trending sound reach more people, and the sound can only be picked in the TikTok app. Two ways to get there:
|
|
56
|
+
- `tiktok.inbox_draft: true` (appeeky): the post lands in the TikTok inbox. The user adds a sound and posts from the phone.
|
|
57
|
+
- `photos` or `export`: the user posts from the phone and picks the sound there.
|
|
58
|
+
|
|
59
|
+
Mention this when the user cares about reach. `auto_music: true` lets TikTok pick a sound automatically when posting directly.
|
|
60
|
+
|
|
61
|
+
## Times and zones
|
|
62
|
+
|
|
63
|
+
- Always confirm the time in the user's zone: "Tuesday 18:30 Istanbul time (15:30 UTC)". Times without a zone are refused.
|
|
64
|
+
- "Tonight" or "tomorrow evening": propose a concrete time and confirm it.
|
|
65
|
+
- A time in the past or under a minute away is refused. Pick a later time, or post now.
|
|
66
|
+
|
|
67
|
+
## After publishing
|
|
68
|
+
|
|
69
|
+
- The result has the post id (appeeky, postiz) or draft file (spec-draft). The deck is marked published and its hook joins the used hooks.
|
|
70
|
+
- To change a scheduled post, the user changes or cancels it in Appeeky or Postiz. open-slideshow does not edit sent posts. A new deck with fixes is a new post.
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
# Render and review
|
|
2
|
+
|
|
3
|
+
`deck_render` writes `01.jpg … NN.jpg` and `sheet.jpg` (all slides side by side), lints the deck, and returns the sheet. Pass `slide: N` to also get slide N full size.
|
|
4
|
+
|
|
5
|
+
## Look at the sheet yourself
|
|
6
|
+
|
|
7
|
+
Before showing the user, check each slide:
|
|
8
|
+
|
|
9
|
+
1. **The hook reads at a glance**, at thumbnail size.
|
|
10
|
+
2. **Words are readable over the photo.** No white text on a bright sky, no words across a face. Fix it with `text_position`, a different photo, or `text_style: "box"` on that slide.
|
|
11
|
+
3. **Nothing is cut**, at the edges or at the bottom. The bottom area is kept clear for TikTok's caption and buttons.
|
|
12
|
+
4. **The accent lands** on the words that matter, not on "the" or half a phrase.
|
|
13
|
+
5. **The photos fit the words** and differ from slide to slide.
|
|
14
|
+
6. **The app slide** shows the right icon and name.
|
|
15
|
+
7. **Numbers count right**: tips 1, 2, 3; a ranking counts down.
|
|
16
|
+
|
|
17
|
+
Then show the sheet to the user and ask for changes. Render again after each change. Publishing refuses a deck changed since its last render.
|
|
18
|
+
|
|
19
|
+
## Lint codes
|
|
20
|
+
|
|
21
|
+
Errors block publishing (except export). Warnings do not, but read them.
|
|
22
|
+
|
|
23
|
+
### Structure
|
|
24
|
+
| Code | Means | Do |
|
|
25
|
+
|---|---|---|
|
|
26
|
+
| `no-cover` | First slide is not a cover | Make slide 1 `kind: cover` with the hook |
|
|
27
|
+
| `many-covers` | More than one cover | Keep one |
|
|
28
|
+
| `short` / `long` | Under 3 / over 12 slides | Aim for 5–8 |
|
|
29
|
+
| `template-shape` | Slides drift from `template` | Fix the order, or drop `template` if intended |
|
|
30
|
+
| `unknown-template` / `unknown-theme` | Not a known id | Use `templates_list` / `themes_list` |
|
|
31
|
+
| `ig-too-many` / `ig-too-few` / `tiktok-too-many` | Platform limits (Instagram 2–20, TikTok 35) | Cut or split the deck |
|
|
32
|
+
| `ig-916` | 9:16 for Instagram | Instagram crops carousels to 4:5; use 4:5 |
|
|
33
|
+
|
|
34
|
+
### Text
|
|
35
|
+
| Code | Means | Do |
|
|
36
|
+
|---|---|---|
|
|
37
|
+
| `text-overflow` | Text taller than the safe area | Shorten, or split the slide |
|
|
38
|
+
| `word-cut` | A word is too wide and was broken | Use a shorter word, or a theme with smaller type |
|
|
39
|
+
| `wordy` / `long-hook` | Over 45 words / hook over 14 words | Cut |
|
|
40
|
+
| `empty-slide`, `cover-empty`, `quote-empty`, `list-empty` | Missing the text that kind needs | Fill it in |
|
|
41
|
+
| `markup` | Unbalanced `*stars*` | Close the star, or write `\*` for a literal star |
|
|
42
|
+
| `placeholder` | "TODO", "lorem ipsum", "[…]" left in | Write the real text |
|
|
43
|
+
| `banned-phrase` | Sounds machine-written | Say it plainly (error if `strict_phrases` is on) |
|
|
44
|
+
| `brand-word` / `brand-claim` | Breaks `words_to_avoid` / `claims_never` | Remove it |
|
|
45
|
+
| `repeat-hook` | Hook used before | New angle |
|
|
46
|
+
| `missing-glyphs`, `font-download`, `font-fallback`, `emoji-shaped` | Languages | See `languages.md` |
|
|
47
|
+
| `layout` | The slide could not be laid out at all | Read the message; usually an unreadable image file. Re-import the image, or tell the user if it keeps failing |
|
|
48
|
+
|
|
49
|
+
### Images and colours
|
|
50
|
+
| Code | Means | Do |
|
|
51
|
+
|---|---|---|
|
|
52
|
+
| `image-missing` | `image` ref is not in the workspace | `image_import` it, use the returned ref |
|
|
53
|
+
| `no-image` | A photo theme slide without a photo | Add one, or pick a page theme |
|
|
54
|
+
| `no-icon` | App slide but no brand icon | Set the App Store id, or `brand_set icon` |
|
|
55
|
+
| `contrast` / `accent-contrast` | Colours hard to read | Change `colors` |
|
|
56
|
+
| `attribution` | CC BY photos without credit in caption | Add "Photos: … (CC BY)" |
|
|
57
|
+
|
|
58
|
+
### Caption
|
|
59
|
+
| Code | Means | Do |
|
|
60
|
+
|---|---|---|
|
|
61
|
+
| `no-caption` | Empty caption | Write one or two lines |
|
|
62
|
+
| `caption-long` / `ig-caption` | Over 4,000 / 2,200 characters | Shorten |
|
|
63
|
+
| `many-hashtags` / `dup-hashtags` / `hashtags-twice` | Too many, repeated, or also in the caption | 3–5 in `hashtags` only |
|
|
64
|
+
| `cover-index` | `tiktok.cover_index` past the last slide | Fix the index (0-based) |
|
|
65
|
+
|
|
66
|
+
## Changing a deck
|
|
67
|
+
|
|
68
|
+
`deck_update` edits a deck in place:
|
|
69
|
+
- `slide_edits: [{ index, set: { title: "…" } }]` changes fields of one slide. Indexes are 0-based. `null` removes a field.
|
|
70
|
+
- `insert: [{ index, slide }]`, `remove: [index]` and `move: { from, to }` change the order.
|
|
71
|
+
- Any deck field (`theme`, `caption`, `hashtags`, `size`, …).
|
|
72
|
+
- `slides` replaces the whole list.
|
|
73
|
+
|
|
74
|
+
A published deck cannot change. Make a new deck for a new post.
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
# Templates: the shape of a slideshow
|
|
2
|
+
|
|
3
|
+
A template says which slide kinds come in which order, and what to write on each. `templates_list` returns them with hints. `templates_preview` shows each as a row of example slides in the user's theme. Set `template` on the deck; lint warns `template-shape` when the slides drift from it.
|
|
4
|
+
|
|
5
|
+
| Template | Shape | Works for |
|
|
6
|
+
|---|---|---|
|
|
7
|
+
| `tips` | cover → tip ×3–7 → bridge? → app? | Teaching something. Easiest to save and share. |
|
|
8
|
+
| `mistakes` | cover → tip ×3–5 (mistake + fix) → bridge? → app? | People already try and fail. Strong comments. |
|
|
9
|
+
| `story` | cover → text/quote ×1–2 → list/text ×1–2 → text/tip ×1–2 → bridge? → app? | Founder or user stories. Feels like a person. |
|
|
10
|
+
| `before-after` | cover → before → after → list → bridge? → app? | A visible change: a routine, a result, a screen. |
|
|
11
|
+
| `ranking` | cover → tip ×3–10 counting down → bridge? → app? | Opinions and comparisons. People argue in comments. |
|
|
12
|
+
| `quotes` | cover → quote ×3–6 → bridge? → app? | Mindset content. Real quotes only. |
|
|
13
|
+
| `checklist` | cover → list ×1–4 → bridge? → app? | Routines and steps. High saves. |
|
|
14
|
+
|
|
15
|
+
## Choosing
|
|
16
|
+
|
|
17
|
+
- Suggest one, maybe two, with a one-line reason tied to the topic: "Mistakes, because your audience already tries to sleep early and fails."
|
|
18
|
+
- `story` and `before-after` need real details. If the user cannot give them, pick `tips` or `checklist` instead of inventing a story.
|
|
19
|
+
- `quotes` needs real quotes: the user's own words, their customers' (with permission), or a public person's actual words with the name. Never invent a quote or attribute one to a real person who did not say it.
|
|
20
|
+
- In a channel with `content.templates`, rotate: do not use the same template as the channel's last post.
|
|
21
|
+
- If nothing fits (e.g. an announcement), leave `template` out. Lint only checks the shape when it is set.
|
|
22
|
+
|
|
23
|
+
## Writing each one
|
|
24
|
+
|
|
25
|
+
**tips**
|
|
26
|
+
- The cover promises the number.
|
|
27
|
+
- Each tip has an actionable title and a body that says why or how.
|
|
28
|
+
- Order the tips from easiest to biggest effect, or save the surprising one for last.
|
|
29
|
+
|
|
30
|
+
**mistakes**
|
|
31
|
+
- The tip title is the mistake, in the words people use ("Scrolling in bed").
|
|
32
|
+
- The body is the fix, not more blame.
|
|
33
|
+
|
|
34
|
+
**story**
|
|
35
|
+
- Problem: concrete, first person ("three alarms, two coffees").
|
|
36
|
+
- What I tried: a list of things that did not work. It makes the turn believable.
|
|
37
|
+
- What worked: the turn. If the app is part of it, it comes here or on the app slide. Never as a miracle.
|
|
38
|
+
|
|
39
|
+
**before-after**
|
|
40
|
+
- Start the two text slides with `*Before:*` and `*After:*`.
|
|
41
|
+
- Use the same details on both, changed: bedtime then and now, not two different topics.
|
|
42
|
+
- "What changed" is a list of 3–5 causes.
|
|
43
|
+
|
|
44
|
+
**ranking**
|
|
45
|
+
- The cover says the direction ("worst to best").
|
|
46
|
+
- Use `number` to count down (5, 4, 3, 2, 1) so the best comes last.
|
|
47
|
+
- Put the one people will argue about in the middle.
|
|
48
|
+
|
|
49
|
+
**quotes**
|
|
50
|
+
- The quote is the `title`; who said it is `author`.
|
|
51
|
+
- Keep quotes short enough to read in two seconds.
|
|
52
|
+
|
|
53
|
+
**checklist**
|
|
54
|
+
- Group the items by when or where ("1 hour before", "In bed").
|
|
55
|
+
- 3–5 items per list, each a few words, written so they can be ticked off.
|
|
56
|
+
|
|
57
|
+
## Drift
|
|
58
|
+
|
|
59
|
+
`template-shape` is a warning, not an error. If the user wants a different order on purpose, keep their order and leave `template` out, or keep it and tell them lint will keep warning. Do not force the user's content into the shape.
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
# Troubleshooting: message → what to do
|
|
2
|
+
|
|
3
|
+
Every tool error says what went wrong. Most also say the fix. This list covers the rest, and what to tell the user.
|
|
4
|
+
|
|
5
|
+
## Workspace
|
|
6
|
+
|
|
7
|
+
| Message | Do |
|
|
8
|
+
|---|---|
|
|
9
|
+
| `…: not valid YAML (…)` | A file was edited by hand and broke. Show the user the file and line. Fix it only if they agree. |
|
|
10
|
+
| `id is "x" but the folder is "y"` | A deck folder was renamed. Rename it back, or change `id` to match. |
|
|
11
|
+
| `no deck "x"` | `deck_list` shows the real ids. |
|
|
12
|
+
| `deck "x" already exists` | Use `deck_update`, or create with another id. |
|
|
13
|
+
| `appeeky.spec.yaml` broken | Spec mode refuses to guess. Tell the user Spec's file has an error and where. Do not fall back to standalone mode, and do not edit Spec's file. |
|
|
14
|
+
| Warning "run social pull" | Spec mode without `accounts.yaml`. The user runs Spec's `social pull` to get connected accounts. |
|
|
15
|
+
|
|
16
|
+
`workspace_info` shows the mode (standalone or Spec), the folder, decks and channels. Check it first when files are not where you expect.
|
|
17
|
+
|
|
18
|
+
## Deck and render
|
|
19
|
+
|
|
20
|
+
| Message | Do |
|
|
21
|
+
|---|---|
|
|
22
|
+
| `unknown theme` | `themes_list`. |
|
|
23
|
+
| `no slide N (deck has M, counted from 0)` | Indexes start at 0. |
|
|
24
|
+
| `deck x is already published` | Make a new deck. |
|
|
25
|
+
| `not rendered yet` / `changed since it was rendered` / `render … is missing` | Call `deck_render`, look at the sheet again, then publish. |
|
|
26
|
+
| `fix these first: …` | Lint errors block publishing. Fix them (`review.md`). |
|
|
27
|
+
|
|
28
|
+
## Images
|
|
29
|
+
|
|
30
|
+
| Message | Do |
|
|
31
|
+
|---|---|
|
|
32
|
+
| `only https image URLs` / `local addresses are not allowed` / `points to a private address` | open-slideshow only downloads from the public internet. Ask for a public https link, or save the file and use `path`. |
|
|
33
|
+
| `limiting requests (HTTP 429)` | Wait a minute, or pick another photo or provider. |
|
|
34
|
+
| `download failed: HTTP 404/403` | The photo is gone or blocked. Pick another one. |
|
|
35
|
+
| `SVG images are not accepted` / `format … not accepted` | Convert to PNG or JPEG first. |
|
|
36
|
+
| `image is too small` | Use at least 600 px. Screenshots from a phone are fine. |
|
|
37
|
+
| `larger than 25 MB` | Resize or export a smaller JPEG. |
|
|
38
|
+
| `set UNSPLASH_ACCESS_KEY` / `set PEXELS_API_KEY` | Use Openverse, or the user adds their key to their environment and restarts the agent. |
|
|
39
|
+
| `give exactly one of hit, url or path` | Pass only one. |
|
|
40
|
+
|
|
41
|
+
## Fonts and languages
|
|
42
|
+
|
|
43
|
+
| Message | Do |
|
|
44
|
+
|---|---|
|
|
45
|
+
| `font-download` | Offline, or `OPEN_SLIDESHOW_OFFLINE=1` is set. Connect and render again. |
|
|
46
|
+
| `missing-glyphs` | That script is not supported yet (`languages.md`). |
|
|
47
|
+
|
|
48
|
+
## Publishing
|
|
49
|
+
|
|
50
|
+
| Message | Do |
|
|
51
|
+
|---|---|
|
|
52
|
+
| `set APPEEKY_API_KEY` | The user adds their Appeeky key to their environment and restarts the agent. Without it, use `export` or `photos`. Never ask them to paste the key in chat. |
|
|
53
|
+
| `Appeeky refused the key` | Wrong or revoked key. The user makes a new one in Appeeky. |
|
|
54
|
+
| `check your plan or balance` | Posting needs a plan or balance in Appeeky. Tell the user. Do not retry in a loop. |
|
|
55
|
+
| `no accounts` | Set `accounts` on the deck, or pass them in the call. |
|
|
56
|
+
| `you have N tiktok accounts (…)` | Ask which one, then use `tiktok:@handle`, or `tiktok:all` if they want all. |
|
|
57
|
+
| `no connected account matches` | The message lists connected accounts. The user connects the missing one in Appeeky. |
|
|
58
|
+
| `… reconnect it in Appeeky` | The account's login expired. The user reconnects it in Appeeky. |
|
|
59
|
+
| `TikTok and Instagram only` | Other networks get `export`. |
|
|
60
|
+
| `is in the past` / `not a date and time` / time zone | Ask for a time. Send ISO with zone, at least a minute ahead. |
|
|
61
|
+
| `already sent (post …)` / `already drafted` | Already done. Only pass `again: true` if the user wants a second post of the same deck. |
|
|
62
|
+
| `adding to Photos works on macOS only` | Use `export`. |
|
|
63
|
+
| Photos asks for permission / osascript error | The user allows control of Photos in System Settings → Privacy & Security → Automation. |
|
|
64
|
+
| `set POSTIZ_API_KEY` | The user adds their Postiz key (Postiz: Settings, Public API) to their environment and restarts the agent; for a self-hosted Postiz also `POSTIZ_API_URL`. Never ask them to paste the key in chat. |
|
|
65
|
+
| `Postiz refused the key` | Wrong or revoked key, or `POSTIZ_API_URL` points at another Postiz. The user checks both. |
|
|
66
|
+
| `Postiz: too many posts this hour` | Postiz limits its public API per hour. Wait, then publish again; uploads already done are kept. |
|
|
67
|
+
| `… reconnect it in Postiz` | The channel's login expired. The user reconnects it in Postiz. |
|
|
68
|
+
| `spec-draft works inside an Appeeky Spec repo` | Use `appeeky` or `export`. |
|
|
69
|
+
| `… was already sent by Spec` | Make a new deck. |
|
|
70
|
+
| `Appeeky …: HTTP 5xx` / network errors | Try once more later. Uploads already done are kept, so retrying continues where it stopped. |
|
|
71
|
+
|
|
72
|
+
## Schedule
|
|
73
|
+
|
|
74
|
+
| Message | Do |
|
|
75
|
+
|---|---|
|
|
76
|
+
| `unknown time zone` | Use a name like Europe/Istanbul or America/New_York, not "GMT+3". |
|
|
77
|
+
| `fixed schedules need times` | Add `times`, or use `mode: window`. |
|
|
78
|
+
| `no slot for … run plan first` | Run `plan`, then assign. |
|
|
79
|
+
|
|
80
|
+
## When you are stuck
|
|
81
|
+
|
|
82
|
+
Tell the user plainly what failed, what you tried, and what they can do. Do not retry the same failing call more than once. Do not work around a safety refusal, such as a private network address, a license or an Appeeky refusal.
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
# Writing slides people swipe
|
|
2
|
+
|
|
3
|
+
A slideshow is read in about two seconds per slide, with the thumb already moving. Every slide has to earn the next swipe.
|
|
4
|
+
|
|
5
|
+
## The hook (cover)
|
|
6
|
+
|
|
7
|
+
- Under 10 words. One line on a phone if possible.
|
|
8
|
+
- Specific beats general. "I slept 5 hours a night for two years" beats "My sleep journey".
|
|
9
|
+
- Use one of these:
|
|
10
|
+
- a number and a result ("3 habits that fixed my sleep"),
|
|
11
|
+
- a mistake ("You're doing your bedtime wrong"),
|
|
12
|
+
- a confession ("I deleted Instagram for 30 days"),
|
|
13
|
+
- a ranking ("Bedtime habits, ranked"),
|
|
14
|
+
- a save prompt ("Save this bedtime checklist").
|
|
15
|
+
- The slides must pay the hook off. If the hook says 5, there are 5.
|
|
16
|
+
- No clickbait questions with obvious answers. No "You won't believe…".
|
|
17
|
+
- Check `brand_context` for hooks already used. A new angle, not new words on an old one.
|
|
18
|
+
|
|
19
|
+
## What already works (viral_search)
|
|
20
|
+
|
|
21
|
+
For a topic the brand has not posted about, or when the user asks what works, call `viral_search` with the words people would type into TikTok's search ("morning routine", "study tips", not "productivity content"). It needs `APPEEKY_API_KEY` and costs $0.01 from the user's Appeeky balance per search, so say so before the first one. The same search within the hour is free.
|
|
22
|
+
|
|
23
|
+
It returns the most liked photo slideshows from the last three months (`since` to change that), with a numbered picture of their covers. Read the covers, then note for the user, in a few lines:
|
|
24
|
+
|
|
25
|
+
- the angles that repeat (a number and a result, a mistake, a confession, a ranking…),
|
|
26
|
+
- how long the hooks are and who they speak to,
|
|
27
|
+
- how many slides the top ones have, and what the last slide asks for.
|
|
28
|
+
|
|
29
|
+
Then write this brand's own hook on the angle that fits it. Never copy a hook word for word, never reuse their images, and never name or imitate the creators: the posts are theirs. Likes and views are TikTok's, for posts by other accounts; they say what people respond to, not what this brand will get.
|
|
30
|
+
|
|
31
|
+
## Middle slides
|
|
32
|
+
|
|
33
|
+
- One idea per slide. If you need "and", it may be two slides.
|
|
34
|
+
- Title is the point; body is the why or the how, in one or two short sentences.
|
|
35
|
+
- Concrete details: times, places, objects, numbers the user gave you. "Phone charging in the kitchen" beats "reduce screen time".
|
|
36
|
+
- Write like a person talking to a friend, in the first or second person. Contractions are fine.
|
|
37
|
+
- Under ~25 words per slide. Lint warns at 45 (`wordy`).
|
|
38
|
+
- Accent with `*stars*` on 1–3 words that carry the point. Not whole sentences, not every slide's first word. A literal star is `\*`.
|
|
39
|
+
- Do not number tips yourself; the theme does it. For rankings use `number` (4, 3, 2, 1).
|
|
40
|
+
|
|
41
|
+
## The app
|
|
42
|
+
|
|
43
|
+
- Only if the user or the channel wants it (`content.brand`). Usually yes for the user's own app.
|
|
44
|
+
- At most one `app` slide, near the end. It shows the icon and name; the title says what the app does for this topic, the body is the call to action from `brand_context`.
|
|
45
|
+
- A `bridge` slide before it is optional: one line that turns from the topic to the app because it follows, not because it is an ad.
|
|
46
|
+
- Never claim what the app does not do. If brand_context does not say the app does X, do not write that it does.
|
|
47
|
+
|
|
48
|
+
## Caption and hashtags
|
|
49
|
+
|
|
50
|
+
- Caption: one or two lines that add something the slides do not say: a question to answer in the comments, a personal line, or "save this for tonight". Not a summary of the slides.
|
|
51
|
+
- Hashtags go in `hashtags`, without `#`, 3–5 relevant ones. Not in the caption (lint: `hashtags-twice`).
|
|
52
|
+
- Instagram captions are at most 2,200 characters; TikTok's 4,000. Keep it far shorter.
|
|
53
|
+
- If any photo is CC BY, credit the authors in the caption (lint: `attribution`). Write "Photos: Name, Name (CC BY)".
|
|
54
|
+
|
|
55
|
+
## Phrases that sound machine-written
|
|
56
|
+
|
|
57
|
+
`brand_context` lists them under **Do not write**. Common ones are "unlock", "elevate", "game-changer", "dive into", "seamless", "journey" and "in today's fast-paced world". Write the plain thing instead: "unlock better sleep" becomes "sleep better".
|
|
58
|
+
|
|
59
|
+
Also avoid:
|
|
60
|
+
- Rhetorical triplets ("Simple. Fast. Powerful.").
|
|
61
|
+
- Starting every slide the same way.
|
|
62
|
+
- Em-dash chains.
|
|
63
|
+
- Exclamation marks on every line.
|
|
64
|
+
- Emoji on every slide. One or two in a deck is plenty, and only where a person would use one.
|
|
65
|
+
|
|
66
|
+
## Truth
|
|
67
|
+
|
|
68
|
+
- Only facts from `brand_context` or the user. No invented statistics, studies, user counts, ratings, prices or before/after numbers.
|
|
69
|
+
- A story or before/after deck is the user's or a real user's story. Ask for the details ("what time did you go to bed before?") rather than inventing them.
|
|
70
|
+
- Health, money, legal, and results claims: only what `claims_allowed` says. When in doubt, write about habits and feelings, not outcomes.
|
|
71
|
+
|
|
72
|
+
## Rewrites
|
|
73
|
+
|
|
74
|
+
- When the user says "make it punchier", shorten. Cut words before changing the idea.
|
|
75
|
+
- When the user rewrites a slide themselves, keep their words exactly. Fix only what lint flags, and say what you changed.
|
|
76
|
+
- When the user rejects a hook, offer three different angles, not three versions of the same one.
|