Metadata-Version: 2.4
Name: tiktok-lazy-follower
Version: 0.4.5
Summary: Follow AI and LLM creators on TikTok without the feed: local transcription and a weekly Claude-setup digest.
License-Expression: MIT
Project-URL: Homepage, https://github.com/octrow/tiktok-lazy-follower
Project-URL: Issues, https://github.com/octrow/tiktok-lazy-follower/issues
Requires-Python: >=3.12
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: yt-dlp>=2026.10.21
Requires-Dist: curl_cffi<0.18,>=0.10
Requires-Dist: browser-cookie3>=0.19
Requires-Dist: whisper-gpu-kit>=0.1.1
Requires-Dist: claude-subprocess>=0.1.1
Requires-Dist: tinycommons>=0.2.0
Requires-Dist: nicegui-kit>=0.1.0
Requires-Dist: pydantic>=2.6
Requires-Dist: pydantic-settings>=2.2
Requires-Dist: pyyaml>=6.0
Requires-Dist: rich>=13.0
Requires-Dist: ruamel-yaml>=0.19.1
Requires-Dist: lancedb>=0.39.0
Requires-Dist: filelock>=3.12
Provides-Extra: dev
Requires-Dist: hypothesis>=6.100; extra == "dev"
Requires-Dist: pytest>=8.0; extra == "dev"
Requires-Dist: pytest-asyncio>=0.24; extra == "dev"
Requires-Dist: ruff==0.17.3; extra == "dev"
Requires-Dist: ty==0.0.95; extra == "dev"
Provides-Extra: capture
Requires-Dist: playwright>=1.40; extra == "capture"
Provides-Extra: gpu
Requires-Dist: whisper-gpu-kit[gpu]; extra == "gpu"
Dynamic: license-file

<p align="center">
  <img src="docs/assets/hero.svg" width="100%" alt="tiktok-lazy-follower: follow AI TikTok without the feed. Sync, transcribe on your GPU, one Markdown digest a week.">
</p>

[![ci](https://github.com/octrow/tiktok-lazy-follower/actions/workflows/ci.yml/badge.svg)](https://github.com/octrow/tiktok-lazy-follower/actions/workflows/ci.yml)
[![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)
![Python 3.12+](https://img.shields.io/badge/python-3.12%2B-blue.svg)

English | [Русский](README.ru.md)

`tlf` follows AI and LLM creators on TikTok so you don't have to scroll it.

It downloads new videos from your creators and your saved videos, transcribes them on your own GPU, and writes one Markdown digest a week. The digest ends with a "What to change in my Claude setup" list of tweaks to try.

For people who use Claude Code and pick up tips from short videos. Read a page on Monday instead of losing an hour to the feed.

## Install

Needs Python 3.12+ and `ffmpeg`. Linux is the tested platform.

```bash
curl -LsSf https://raw.githubusercontent.com/octrow/tiktok-lazy-follower/main/install.sh | sh
tlf setup     # writes ~/.local/share/tlf/config.yaml, edit it
tlf doctor    # says what is still missing
```

Windows: `powershell -ExecutionPolicy ByPass -c "irm https://raw.githubusercontent.com/octrow/tiktok-lazy-follower/main/install.ps1 | iex"`

With uv: `uv tool install git+https://github.com/octrow/tiktok-lazy-follower`. Extras: `uv tool install 'tiktok-lazy-follower[gpu,capture] @ git+https://github.com/octrow/tiktok-lazy-follower'`.

Config and data live in `~/.local/share/tlf` (`$XDG_DATA_HOME/tlf`). Set `TLF_HOME` to move them.

Install from a clone, GPU setup and the `claude` CLI login: [docs/readme-details.md](docs/readme-details.md).

## First run

```bash
tlf capture     # import your follows and favorites (opens your browser, you stay logged in)
tlf run         # sync, transcribe, digest; writes digests/<topic>/YYYY-Www.md
tlf             # open the GUI on http://127.0.0.1:8091
```

`tlf run` works from cron. One run on Monday morning is the intended rhythm.

<p align="center">
  <img src="docs/assets/gui-digest.png" width="100%" alt="The tlf GUI showing a weekly AI digest: a 'What to change in my Claude setup' list, then each creator's videos with a relevance rating">
</p>
<p align="center"><sub>A weekly digest in the local GUI (demo data). The GUI is in Russian. Digests come in English or Russian (<code>digest.language</code>; with topics, each topic's <code>language</code>).</sub></p>

## How it works

| Stage | What | Engine |
|---|---|---|
| 1 `sync` | download new audio (creators + favorites), dedup | `yt-dlp` |
| 2 `transcribe` | native captions, else local GPU speech-to-text; delete audio | `faster-whisper large-v3` |
| 3 `digest` | weekly digest and Claude-setup actions | local `claude` CLI (subscription) |

Claude writes only stage 3. It has no audio input, so it does not transcribe.

It runs through the local `claude` CLI on your Claude Code subscription: no API key, no per-token cost.

Each creator gets a usefulness score from the digest's per-video ratings. Creators who never say anything useful show up as unfollow candidates.

Everything except the final `claude` call runs locally. There is no server and no account besides your own TikTok login.

How stage 3 batches and archives its calls, and how `tlf` differs from other tools: [docs/readme-details.md](docs/readme-details.md).

## Limits

- Needs a Claude Code subscription for the digest. Without a logged-in `claude` CLI, stage 3 writes `digests/_input-YYYY-Www.md` for manual review.
- GPU transcription needs CUDA cuBLAS and cuDNN 9. Without cuDNN 9 the model load hangs silently. CPU mode is slower: see [the details](docs/readme-details.md).

## Documentation

The [guide](docs/guide.md) covers all commands and flags, digest periods, the GUI, configuration and topics, author scores, importing follows, logs and the data layout. How the code works: [docs/logic-map.md](docs/logic-map.md).

License: [MIT](LICENSE). Tests: `pytest -q`.
