TI

titkok

Open Source General

TikTok plugin for OpenCode - Search and analyze trending videos around specific topics using Playwright web scraping

tiktok trending videos social-media web-scraping playwright

Quick Install

npm install @openpets/titkok
pnpm add @openpets/titkok

Available Tools (8)

These tools are available when you install the titkok plugin in your AI assistant.

search-trending-videos

Search for trending TikTok videos around a specific topic or hashtag using web scraping

get-video-details

Get detailed information about a specific TikTok video by URL

analyze-trending-hashtags

Search for videos on a topic and analyze which hashtags are most commonly used

get-trending-music

Get a list of trending music and sounds on TikTok

get-video-comments

Scrape comments from a TikTok video including author, text, likes, and timestamps

get-user-profile

Analyze a TikTok user

download-video

Download a TikTok video to disk and return the file path (note: rate limiting protection active)

track-trend-over-time

Track how a topic trends over time by taking multiple samples and analyzing engagement patterns

Example Queries

search tiktok for cooking videos
find trending tiktok videos about fitness
get tiktok video details for https://www.tiktok.com/@user/video/123456
analyze trending hashtags for travel on tiktok
get trending music on tiktok
get comments from a tiktok video
analyze tiktok user profile for @username
download tiktok video from url
track fitness trend over time on tiktok

Usage Scenarios

trending search

  1. 1 search tiktok for cooking videos
  2. 2 find trending tiktok videos about fitness

hashtag analysis

  1. 1 analyze trending hashtags for travel on tiktok

user analysis

  1. 1 analyze tiktok user profile for @username
  2. 2 get comments from their recent videos

trend tracking

  1. 1 track fitness trend over time on tiktok

Use titkok with Your AI Assistant

This open source plugin works with OpenCode-compatible AI assistants including ChatGPT, Claude, Perplexity, and other LLM-powered coding tools. Install the plugin and start using natural language to interact with titkok.

Works with ChatGPT Works with Claude Works with Perplexity MCP Compatible