agentleFS
dreammisdreammis/social-auto-upload/skills/tiktok-upload/SKILL.md

tiktok-upload

Skill16k starsChanged 9 days agoMITView on GitHub

使用仓库现有 Patchright/Playwright Chrome 上传器登录并发布 TikTok 视频。Use when 用户要发布 TikTok 视频,且当前环境可访问本仓库及其本地 Chrome 配置。

Files
SKILL.md

TikTok 视频发布

TikTok 当前没有 sau tiktok 命令。使用仓库的 uploader/tk_uploader/main_chrome.py,不能虚构 CLI 参数。运行前确认仓库依赖、conf.py 中的 Chrome 配置及用户提供的视频路径。

账号会话存放在 cookies/tk_uploader/account.json。首次登录可参考 examples/get_tk_cookie.py,在 TikTok 页面由用户本人完成登录。不要读取、复制或提交 cookie 文件。

单条视频优先按下面的仓库 API 流程执行,先用 publish_date=0 表示立即发布:

import asyncio
from pathlib import Path
from conf import BASE_DIR
from uploader.tk_uploader.main_chrome import TiktokVideo, tiktok_setup

account_file = Path(BASE_DIR) / "cookies" / "tk_uploader" / "account.json"
video_file = Path(BASE_DIR) / "videos" / "demo.mp4"
asyncio.run(tiktok_setup(str(account_file), handle=True))
app = TiktokVideo("标题", str(video_file), ["标签"], 0, str(account_file))
asyncio.run(app.main())

TiktokVideo 没有独立简介参数。定时发布需传入明确的 datetime,不要自行推算时间。仓库中的 examples/upload_video_to_tiktok.py 会批量处理目录下的 MP4、自动从文件提取标题/标签,并安排次日 16:00 发布;除非用户明确要求这些行为,不要直接运行该脚本。

每次发布前让用户确认账号、单条视频、标题、标签及立即/定时方式。页面布局或登录状态不符合预期时停止并报告;只有平台页面确认提交后才报告成功,未知结果先核查 TikTok Studio,不能直接重发。

Download now (ZIP)

Trending

Steady: 0 new projects took it in the last 4 weeks, none the 4 weeks before.thin data

Week of Aug 30: 0 new projectsWeek of Sep 6: 0 new projectsWeek of Sep 13: 0 new projectsWeek of Sep 20: 0 new projectsWeek of Sep 27: 0 new projectsWeek of Oct 4: 0 new projectsWeek of Oct 11: 0 new projectsWeek of Oct 18: 0 new projects
Aug 2026Sep 2026Oct 2026
New projects taking a version of this file each week, over the 8 weeks our latest run read: only 0 in all, so this is a hint, not a trend.

Who's talking about dreammis/social-auto-upload

The biggest 5 of 21 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 21

Talked about on GitHub, YouTube and the web (21 times).

On GitHub · 11

6 more on GitHub

On YouTube · 6

1 more on YouTube

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.