# isaackogan/TikTokLive

TikTok LIVE API for Python: The definitive 3rd-party library to receive livestream events (comments, gifts, etc.) in realtime from TikTok LIVE.

Repository: https://github.com/isaackogan/TikTokLive
Canonical: https://ross.abutalabs.com/products/tiktoklive
Homepage: https://isaackogan.github.io/TikTokLive/
Language: Python
License: AGPL-3.0
License Family: copyleft
Topics: tiktok, tiktok-live, tiktok-api, python, tiktok-live-api, live-chat, live-streaming, nodejs, speech-to-text, tiktok-bot, tiktok-chat, tiktok-events, tiktok-live-connector, tiktok-live-streams, tiktok-stream, tiktok-websocket, typescript, webcast, websocket, tiktok-gift
Last push: 2026-08-18T04:26:25+00:00

## Health v2 (maintenance only)
Score: 78/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 98, release rhythm 40, longevity 100
- inputs: {"age_days": 1652, "days_push": 15, "days_rel": 613, "gap_med": 5, "n_releases_24m": 6}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1535, forks 289 (observed 2026-08-28T04:04:59.819784+00:00)

## What it is
TikTokLive is an unofficial Python library that connects to any TikTok LIVE stream via a creator's @unique_id and receives real-time events such as comments, gifts, likes, follows, shares, viewer counts, and battles over the Webcast websocket. It is a reverse-engineering project (not a supported vendor API) intended for building chat bots, gift trackers, overlays, and analytics tools.

## Use cases
- read tiktok live chat comments in real time with python
- build a tiktok gift tracker or donation alert bot
- create OBS overlays driven by tiktok live events
- track viewer counts, likes, and battle scores for tiktok streams
- make a tiktok live chat bot that responds to comments
- build text-to-speech readers for tiktok livestreams
- moderate tiktok live rooms by reacting to deleted messages

## When to choose
- you need real-time TikTok LIVE events in Python without login or credentials
- you are building bots, overlays, alerts, or analytics on top of TikTok livestreams
- you want a free, self-hosted alternative to managed TikTok LIVE APIs

## When to avoid
- you need guaranteed production uptime, since TikTok can change the Webcast protocol without notice
- you require an officially supported or vendor-backed API
- your project cannot comply with the AGPL-3.0 license

## Facets
- artifact type: library
- maturity: active
- function: websocket, http-client, sdk, chatbot
- domain: social-media, apis, media
- platform: python, cross-platform
- tags: tiktok, livestreaming, reverse-engineering, unofficial-api, live-chat, gift-tracking, streaming-events, obs-overlays, real-time, automation, nodejs

## Member repositories
- isaackogan/TikTokLive (main) score 78

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:59.819784+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:31:09.387634+00:00, confidence not recorded.
  - readme: https://github.com/isaackogan/TikTokLive (fetched 2026-08-28T04:04:59.819784+00:00, sha 1a67baf2f93d)
  - homepage: https://isaackogan.github.io/TikTokLive/ (fetched 2026-08-29T11:33:08.818128+00:00, sha b2eda7a5c102)
  - registry_pypi: https://pypi.org/pypi/tiktoklive/json (fetched 2026-08-29T11:33:08.828128+00:00, sha 4beacbb0ca2a)
- Data as of 2026-08-30T08:39:29.467469+00:00.
