douyin-to-photos

Build and maintain an Apple Shortcuts workflow that takes a Douyin share link, resolves a no-watermark MP4 URL via configurable backend APIs, saves the video into the Photos app, and cleans temporary cache. Use when users ask for one-tap Douyin link-to-Photos automation on iPhone/macOS, Share Sheet/Back Tap integration, publish-ready skill packaging, parameterization, error handling, and privacy-safe behavior.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "douyin-to-photos" with this command: npx skills add vahnxu/douyin-to-photos

Douyin-to-Photos

Use this skill to implement a one-tap Apple Shortcuts flow for authorized Douyin video archiving into Photos.

Hard Rules

  • Process only links the user is allowed to download and store.
  • Request only required permissions: network + Photos add-only.
  • Keep all temporary files in Shortcuts temp folder and delete after import.
  • Never persist user links, tokens, or media metadata outside local shortcut runtime.

Workflow

  1. Accept input from Share Sheet (URL or text) or clipboard fallback.
  2. Normalize and validate Douyin URL (douyin.com or iesdouyin.com).
  3. Resolve playable MP4 via API provider chain:
  • Primary: https://www.tikwm.com/api/
  • Fallback: user-defined gateway API (for example self-hosted parser)
  1. Download MP4 to temporary file.
  2. Save to Photos (optionally target user-selected album).
  3. Delete temporary file and report success/failure.

Included Resources

  • scripts/fetch_douyin_no_watermark.sh: provider-chain URL resolver with timeout and structured errors.
  • references/shortcut-build-guide.md: action-by-action Shortcuts build instructions.
  • assets/skill-manifest.json: market-ready manifest template with parameterized options.

Integration Notes

  • Share Sheet: enable URLs input type.
  • Back Tap: configure a tiny launcher shortcut that reads clipboard and calls the main shortcut.
  • Keep API base URL and album name configurable via shortcut dictionary values.

Validation

  • Run URL resolver script with a test share link before wiring into Shortcuts.
  • Test four scenarios: success, invalid link, API timeout, API quota/blocked.
  • Confirm temporary media file is deleted in both success and failure paths.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Automation

Postgres Query Optimizer

Analyze slow PostgreSQL queries, interpret EXPLAIN ANALYZE output, identify performance bottlenecks, and recommend indexes, query rewrites, and configuration...

Registry SourceRecently Updated
Automation

Agent Memory System v8

Agent 记忆系统 — 6维坐标编码 + RRF双路检索 + sqlite-vec统一存储 + 写入时因果检测 + 多Agent共享 + 记忆蒸馏 + 时间旅行 + 情感编码 + 元认知 + 内在动机 + 叙事自我 + 数字孪生 + 角色模板

Registry SourceRecently Updated
1940Profile unavailable
Automation

Capacity Planner

Forecast infrastructure capacity needs using historical metrics, growth projections, and cost modeling. Identify bottlenecks before they cause outages and ri...

Registry SourceRecently Updated
470Profile unavailable
Automation

Mailchimp

Mailchimp Marketing API integration with managed OAuth. Access audiences, campaigns, templates, automations, reports, and manage subscribers. Use this skill...

Registry SourceRecently Updated
15.7K10Profile unavailable