Douyin Upload

Logs in to Douyin and publishes your videos or image posts from the command line, with tags, covers, product links and scheduled release times.

Social Media & Marketingdouyinvideo uploadshort videoschedulingby dreammis16kGitHub

What it is

Douyin Upload lets your AI agent post to Douyin (抖音), the Chinese version of TikTok, without you clicking through the creator website. It is for creators and small teams who publish short videos or image posts regularly and want the agent to handle the uploading. It drives the sau command from the open-source social-auto-upload tool, so the tool must already be installed. The instructions are in Chinese and the platform is Chinese.

Rather than writing its own browser automation, the agent sticks to four fixed commands: log in, check the login, upload a video, and upload an image post (图文). It knows which details each one needs, follows a set order of checks before running anything, and only digs into troubleshooting notes when a command fails. When login produces a QR code image, it shows you the image to scan instead of just naming a file path. Scheduling is used only when you ask for it.

Each named account keeps its own saved login, so you can run several Douyin accounts side by side. Videos go up one per command; image posts take up to 35 pictures, but not GIFs. Without a schedule the post goes live straight away. Douyin may sometimes ask for an SMS code during publishing, which you will need to provide.

What it can do

  • Logs in to Douyin under an account name you choose and saves the login cookie for later posts.
  • Checks whether a saved login is still valid and logs in again when it has expired.
  • Uploads one video per command with a title, description, hashtags and an optional custom cover image.
  • Attaches a product link and product title to a video, for example to point viewers to something you sell.
  • Publishes image posts with up to 35 pictures, a title, body text and tags.
  • Schedules a post for a set date and time, or publishes immediately by default.
  • Runs the browser visibly or in the background, depending on what you ask for.

When to use it

  • You edit videos on your laptop and want the agent to post each one to Douyin with the right title and hashtags.
  • You run a personal account and a shop account and need posts to go to the right one every time.
  • You have a set of recipe photos and want them published as a Douyin image post with a short caption.
  • You want tomorrow's video to go live at 8 pm without being at your computer.

How it works

  1. 1It checks that the sau command is available, trying the project's virtual environment or uv if it is not on the path.
  2. 2It confirms the command's required details: account name, file or images, and title, plus any description, tags or schedule.
  3. 3If the account has no valid login, it starts the login and shows you the QR code to scan with your phone.
  4. 4It runs the video or image post upload, which opens the Douyin creator site in an automated Chromium browser and fills everything in.
  5. 5If a command fails, it consults its troubleshooting notes for missing parameters, expired logins, image limits or schedule formats.

Try asking

“Log in to my Douyin account 'shop' and check that it works”
“Upload videos/demo.mp4 to Douyin with the title 'Morning routine' and tags vlog, life”
“Post these six images to Douyin as an image post with this caption”
“Schedule this video on Douyin for 2026-11-10 20:00”

How to install

Install with the skills CLI (recommended)

Works with Claude Code, Codex, Cursor, OpenCode and other agents, and asks which ones to install to. Needs Node.js 22.20+. Add -g to make it available in every project.

npm
npx skills add https://github.com/dreammis/social-auto-upload/tree/main/skills/douyin-upload
pnpm
pnpm dlx skills add https://github.com/dreammis/social-auto-upload/tree/main/skills/douyin-upload

Install manually

Copies the skill folder into Claude Code's personal skills directory. For claude.ai, zip the douyin-upload folder and upload it in the Skills section of Settings.

Terminal
git clone --depth 1 https://github.com/dreammis/social-auto-upload.git
mkdir -p ~/.claude/skills
cp -r social-auto-upload/skills/douyin-upload ~/.claude/skills/douyin-upload

Then just ask in plain language, for example: “Log in to my Douyin account 'shop' and check that it works”