@celljs/ta-creator 4.32.0 → 4.32.1
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.en.md +8 -4
- package/README.md +8 -4
- package/bin/render.mjs +22 -0
- package/host/index.mjs +263 -21
- package/package.json +8 -8
- package/skills/creator-make/SKILL.md +19 -11
- package/skills/creator-publish/SKILL.md +15 -14
- package/web/index.js +1342 -357
|
@@ -10,18 +10,24 @@ its server: `ta call @celljs/ta-creator <method> [args as JSON]`.
|
|
|
10
10
|
|
|
11
11
|
| Method | What it does |
|
|
12
12
|
|---|---|
|
|
13
|
-
| `settings` | What the channel is about (niche), the platforms picked and their shapes, the voice |
|
|
13
|
+
| `settings` | What the channel is about (niche), its series, the platforms picked and their shapes, the voice, what happens once a piece is passed (`publish`) |
|
|
14
14
|
| `list [stage]` | The pieces, of a stage: `topic`, `making`, `review`, `published` |
|
|
15
|
-
| `brief topics` | What finding topics needs: niche, platforms, sources, how many to offer, the titles already there |
|
|
16
|
-
| `topics '<JSON array>'` | Adds topics found: `{ title, form: "video" \| "post", kind: "hot" \| "howto" \| "explain", why, heat, until?, seen, origin? }
|
|
17
|
-
| `update <id> '<JSON>'` | Keeps what you made: `script`, `done` (steps of script, visuals, voice, captions, versions, checks), `versions`, `checks` |
|
|
15
|
+
| `brief topics` | What finding topics needs: niche, platforms, sources, how many to offer, the titles already there, the series (what each is about, how many a week, waiting, published, the lessons of a course) and what the last review concluded |
|
|
16
|
+
| `topics '<JSON array>'` | Adds topics found: `{ title, series (its id or name), form: "video" \| "post", kind: "hot" \| "howto" \| "explain", why, heat, until?, seen, origin? }`; a topic of a course is numbered the next lesson |
|
|
17
|
+
| `update <id> '<JSON>'` | Keeps what you made: `script`, `done` (steps of script, visuals, voice, captions, versions, checks), `versions`, `checks`; `series` and `number` when the user moves it |
|
|
18
|
+
| `remove <id>` / `restore <id>` | Removes a topic or a piece not published (kept, to be put back) / puts it back |
|
|
18
19
|
| `submit <id>` | Sends it to review, once it has a version for each platform picked and its checks |
|
|
19
|
-
| `published <id> '<JSON array of { platform, url }>'` | The links once
|
|
20
|
+
| `published <id> '<JSON array of { platform, url }>'` | The links once it is published |
|
|
21
|
+
| `stats <id> '<JSON array of { platform, views, likes?, comments?, follows?, completion? }>'` | What a piece published did, as read from the platforms |
|
|
22
|
+
| `brief analysis` | The numbers by series, kind, form and platform, the pieces that did best, the last conclusions |
|
|
23
|
+
| `insights '<JSON array of { text, tone: "good" \| "bad" \| "idea", series? }>'` | Keeps what a review of the numbers concluded; the search for topics follows it |
|
|
20
24
|
|
|
21
25
|
## Finding topics now
|
|
22
26
|
|
|
23
27
|
Run `brief topics`, look at the sources and the news of the field of the last hours (search the web, at home and
|
|
24
|
-
abroad), and add at most `offer` topics with `topics`.
|
|
28
|
+
abroad), and add at most `offer` topics with `topics`. Think in series: each topic goes to a series, first to those
|
|
29
|
+
with fewest waiting against their `perWeek`; a course (`ordered`) gets its next lesson after those it has, from easy to
|
|
30
|
+
deep, never one it has; news goes to the series about news. Follow the `insights`: more of what worked. A hot topic says until when it is worth making. A work of
|
|
25
31
|
others explained (kind `explain`) names and links its source, quotes it shortly and says the rest in the user's words;
|
|
26
32
|
translate it whole only when its licence allows it, and say so in `origin.licence`. Never news unchecked, fear, politics,
|
|
27
33
|
people in the news, films and shows of others, or anything of the user's employer. Say in a line how many you added.
|
|
@@ -46,8 +52,10 @@ people in the news, films and shows of others, or anything of the user's employe
|
|
|
46
52
|
```
|
|
47
53
|
|
|
48
54
|
The channel is known by its look, the same every time: a pixel dinosaur hosts it, the series opens each piece with
|
|
49
|
-
its chime, and each cover is the series' green with the title large.
|
|
50
|
-
`
|
|
55
|
+
its chime, and each cover is the series' green with the title large. `series` is the name of the piece's series (its
|
|
56
|
+
`series` id in `settings`), after the name of the channel as the last `episode.json` of the channel writes it (the
|
|
57
|
+
user named it, as `小绿龙 · `; never invent another); `number` is the piece's own, else one more than the last
|
|
58
|
+
`episode.json` of that series. A title scene is the
|
|
51
59
|
host speaking it in bubbles (a title as `第一步`, `窍门二` is a badge); `code` is a terminal typed a line at a time
|
|
52
60
|
(at most 14 lines, 22 when tall, 60 columns; a line starting `$ ` is a command); `phone` is a phone showing a
|
|
53
61
|
terminal, its `notify` coming in at the end; `points` are written in a notebook by hand. `note` puts a short line
|
|
@@ -87,7 +95,7 @@ people in the news, films and shows of others, or anything of the user's employe
|
|
|
87
95
|
```
|
|
88
96
|
|
|
89
97
|
When the user asks for a change (a message "<id> 要改:…"), change what they said, make it again, `submit` and show the
|
|
90
|
-
card again. When they pass it ("<id> 审过了…"), follow creator-publish.
|
|
98
|
+
card again. When they pass it ("<id> 审过了…"), follow creator-publish: it publishes it on each platform.
|
|
91
99
|
|
|
92
|
-
Never publish, never like, follow or comment as the user, never post the same piece twice on
|
|
93
|
-
than one piece a day on a platform.
|
|
100
|
+
Never publish before the user passed it, never like, follow or comment as the user, never post the same piece twice on
|
|
101
|
+
a platform, never more than one piece a day on a platform.
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: creator-publish
|
|
3
|
-
description: Once the user passed a piece of Creator in review,
|
|
3
|
+
description: Once the user passed a piece of Creator in review, publishes it on each platform in the user's own browser (the file, title, words, tags, cover, the declaration of AI content) and keeps the links: passing it is the user's say-so to publish, they press nothing more. Use it whenever a piece is passed, or the user says they published it.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
#
|
|
6
|
+
# Publishing a piece passed
|
|
7
7
|
|
|
8
|
-
The user passed the piece; read it with `ta call @celljs/ta-creator list review` (its `versions
|
|
9
|
-
`settings` each platform's `publish` page and `declare`, where its declaration of AI content
|
|
8
|
+
The user passed the piece; read it with `ta call @celljs/ta-creator list review` (its `versions`), and with
|
|
9
|
+
`ta call @celljs/ta-creator settings` each platform's `publish` page and `declare`, where its declaration of AI content
|
|
10
|
+
is. Passing it in review is the user's say-so: you publish it yourself, never leaving Publish for them to press.
|
|
10
11
|
|
|
11
12
|
For each platform of its versions, one at a time, with the tools that operate the user's computer (computer use: the
|
|
12
13
|
user's browser, where they are signed in):
|
|
@@ -17,17 +18,17 @@ user's browser, where they are signed in):
|
|
|
17
18
|
tags as they are in the version, nothing added.
|
|
18
19
|
3. Tick the declaration of content made with AI, as `declare` says (B站: 创作声明 → 该视频使用人工智能合成技术). When
|
|
19
20
|
the page has no such choice, write "内容由 AI 辅助生成" at the end of the words.
|
|
20
|
-
4. Leave every other choice as the platform sets it (no paid promotion, no
|
|
21
|
-
|
|
22
|
-
5.
|
|
23
|
-
|
|
21
|
+
4. Leave every other choice as the platform sets it (no paid promotion, no sync to other apps) unless the user said
|
|
22
|
+
otherwise.
|
|
23
|
+
5. Press Publish (发布, 发表, 投稿). When the account already published a piece on that platform today, use the
|
|
24
|
+
platform's own scheduled publishing for the next free day instead (one piece a day on a platform at most). Then
|
|
25
|
+
read the link of the piece from the page of the account's works.
|
|
24
26
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
change nothing and tell the user.
|
|
27
|
+
When the page shows a warning of the platform (a check of risk, too many posts, a captcha), stop there, change nothing
|
|
28
|
+
and tell the user.
|
|
28
29
|
|
|
29
|
-
|
|
30
|
+
Then tell the user in one line where it went, with the links (and the day of any piece scheduled). Keep the links
|
|
31
|
+
as soon as you have them:
|
|
30
32
|
`ta call @celljs/ta-creator published <id> '[{"platform": "bilibili", "url": "https://..."}]' <minutes they took>`.
|
|
31
|
-
Read a link from the platform's page of their works only when they ask you to.
|
|
32
33
|
|
|
33
|
-
Never answer comments, never like, follow or message anyone as the user, never press anything that spends money.
|
|
34
|
+
Never answer comments, never like, follow or message anyone as the user, never press anything that spends money.
|