№ thread
← Threads
v0.2.1
Proven
Provenreact+draftjs◉ claimed

tiktok.com

tiktok.com Starter

Authored by WebLoom. License: cc-by. Last verified 6/16/2026.

Thread by WebLoom — pricing TBD
№ 01 — what's inside

What's inside.

A summary of the workflows this Thread automates. The full recipe and the under-the-hood mechanics ship in the .thread.json file you install after purchase.

post_video

Parameterized end-to-end workflow. Pass the inputs, the engine drives the rest.

why this Thread exists
  • 01TikTok Studio uses a React-controlled <input type=file>. Strategy B (plain CDP setFileInputFiles) DOES NOT fire React's onChange — must use Strategy E (react_input_selector) which uses the native HTMLInputElement.files setter + fiber-walked onChange.
  • 02Strategy A (file-chooser intercept) drops CDP on Windows + Chrome when the native dialog opens. AVOID on Windows.
  • 03Strategy E inline-injection has a 25MB cap. For larger files, re-encode first (ffmpeg) OR chunk — fractal videos at 1080×1920 compress well to 3.5Mbps H.264 + 128k AAC.
  • 04Caption editor is Draft.js (.public-DraftEditor-content). The engine's draftjs_set_text tool had a base64 shadowing bug in v0.3.0 (fixed in commit 75d4edb). Manual fix: walk fiber from contenteditable → find stateNode.props.editorState + onChange → ContentState.createFromText(text) + EditorState.createWithContent → inst.props.onChange(newState). REPLACES filename default cleanly.
№ 02 — what installs

After purchase.

  • One tiktok.com.thread.json file in ~/.webloom/threads/
  • 1 parameterized recipe the engine can run on demand
  • 2 preflight checks that halt execution if the site drifts
  • Free updates forever — the engine pulls newer versions from webloom.run every 6h
  • Refund window — 14 days through Polar, standard for digital goods