π¦ ClawHub
TikTok Packager
by @jk-archivist
Generate deterministic 6-slide portrait PNG slideshow assets plus caption text for TikTok-style posting workflows, including reusable templates and a strict...
π‘ Examples
1. Install dependencies:
- python3 -m pip install -r requirements.txt
2. Optional font override:
- export TIKTOK_FONT_PATH=/absolute/path/to/font.ttf
3. Run:
- node scripts/tiktok-intro-draft.mjs
Custom input modes:
node scripts/tiktok-intro-draft.mjs --spec /absolute/path/to/spec.json
node scripts/tiktok-intro-draft.mjs --topic "your topic"
node scripts/tiktok-intro-draft.mjs --postizAdvanced modes:
--template intro|educational|product-update|announcement--style default|high-contrast|clean|midnight--audience beginner|operator|expert--cta-pack follow-focused|link-focused|engagement-focused--hashtag-policy tcg-default|general--locale en|es|fr--ab-test caption-cta|style|template--dry-run (write spec/review only, skip render/upload)--postiz-only (reuse existing rendered slides, upload only)--no-upload (force local-only even with --postiz)--resume-upload (resume partially uploaded runs)--max-retries --timeout-ms --verboseTemplate options:
introeducationalproduct-updateannouncementStyle options:
defaulthigh-contrastcleanmidnightAudience options:
beginneroperatorexpertCTA pack options:
follow-focusedlink-focusedengagement-focusedHashtag policy options:
tcg-defaultgeneralTERMINAL
clawhub install jk-archivist-tiktok-packager