[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-116797":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":13,"contributorsCount":13,"subscribersCount":13,"size":13,"stars1d":15,"stars7d":16,"stars30d":16,"stars90d":13,"forks30d":13,"starsTrendScore":17,"compositeScore":18,"rankGlobal":10,"rankLanguage":10,"license":19,"archived":20,"fork":20,"defaultBranch":21,"hasWiki":22,"hasPages":20,"topics":23,"createdAt":10,"pushedAt":31,"updatedAt":32,"readmeContent":33,"aiSummary":10,"trendingCount":13,"starSnapshotCount":13,"syncStatus":15,"lastSyncTime":34,"discoverSource":35},116797,"clippy","hajdu-patrik\u002Fclippy","hajdu-patrik","Local AI clipper: long videos, podcasts and streams in, vertical 9:16 clips with captions out. Chat app + CLI, English.","https:\u002F\u002Fhajdu-patrik.github.io\u002Fclippy\u002F",null,"Python",66,0,1,2,7,11,48.2,"Other",false,"main",true,[24,25,26,27,28,29,30],"ai","clips","ollama","shorts","tiktok","video","whisper","2026-11-23 20:30:05","2026-11-23 18:21:55","\u003Cimg src=\"clippy\u002Fweb\u002Fstatic\u002Fbrand\u002Flogo.svg\" alt=\"Clippy\" height=\"56\">\n\n# Clippy: free, open-source AI clipper for TikTok, Shorts and Reels\n\n![Python](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FPython-3.12%2B-3776AB?style=flat&logo=python&logoColor=white)\n![FastAPI](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FWeb-FastAPI-009688?style=flat&logo=fastapi&logoColor=white)\n![Whisper](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FSpeech-faster--whisper_large--v3-412991?style=flat)\n![Ollama](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FLLM-Qwen3_14B_via_Ollama-000000?style=flat&logo=ollama&logoColor=white)\n![FFmpeg](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FVideo-FFmpeg_NVENC-007808?style=flat&logo=ffmpeg&logoColor=white)\n![Captions](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FCaptions-the_video's_own_language-9E1D3E?style=flat)\n![Platform](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FPlatform-Windows_%7C_macOS_%7C_Linux-0078D6?style=flat)\n![License](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FLicense-MIT-yellow?style=flat)\n\n[![Clippy in one minute: paste a link, get vertical clips with captions, edit them by asking in the chat](docs\u002Fassets\u002Fdemo.gif)](https:\u002F\u002Fclippyai.vercel.app\u002Fassets\u002Fdemo.mp4)\n\n**[Watch the one-minute demo in 4K with sound](https:\u002F\u002Fclippyai.vercel.app\u002Fassets\u002Fdemo.mp4)**: a link goes in,\nthree captioned clips come out, then one is edited from the chat. The clips are made from a public-domain NASA video;\nthe long wait is sped up and marked.\n\n**Clippy** turns a video, podcast or stream (YouTube, TikTok, Instagram, Twitch, Kick, Facebook…) into vertical **9:16 clips**: on your own computer, for\nfree. Paste a link into a ChatGPT-style chat and it:\n\n* **picks the moments with the strongest hooks** with a local LLM (Qwen3-14B through Ollama), ranked against each other,\n* **cuts them tight**: dead air and filler words out, cuts on real word boundaries,\n* **frames the speaker** with a virtual camera (shot detection, face tracking, active speaker),\n* **adds animated word-by-word captions** from the transcript,\n* **masters the sound** for phones (voice EQ, compressor, two-pass −14 LUFS),\n* and nothing else: a new clip is the moment itself. Everything more (opening text, CTA, music, effects, stickers,\n  sound effects, speed, another format, B-roll, joined clips) you **ask for in the chat** (*\"start clip 2 two\n  seconds earlier and put the opening text on it\"*).\n\nNo subscription and no upload: fast on an NVIDIA RTX GPU, and it also runs on the CPU.\n\n## Quick start\n\n**One-step install.** In the cloned folder run `powershell -ExecutionPolicy Bypass -File install.ps1` on Windows\n(add `-Studio` for the voice isolation extras) or `sh install.sh` on macOS and Linux: it creates the Python\nenvironment, installs the GPU packages when an NVIDIA card is there, sets up the local LLM in Ollama and the `clippy`\ncommand with tab completion. The manual steps are below.\n\nRequirements: Windows 10\u002F11, macOS or Linux, [Python 3.12](https:\u002F\u002Fwww.python.org\u002Fdownloads\u002F), [Node.js](https:\u002F\u002Fnodejs.org\u002F) or\n[Deno](https:\u002F\u002Fdeno.com\u002F) (for YouTube downloads) and [Ollama](https:\u002F\u002Follama.com\u002F) for the local LLM. An NVIDIA\nGPU with 12-16 GB VRAM is recommended; ffmpeg ships with the pip packages.\n\n```bat\ngit clone https:\u002F\u002Fgithub.com\u002Fhajdu-patrik\u002Fclippy.git\ncd clippy\npy -3.12 -m venv .venv\n.venv\\Scripts\\python -m pip install -r requirements.txt\n.venv\\Scripts\\python -m pip install -r requirements-gpu.txt   :: NVIDIA GPU (cuBLAS + cuDNN for Whisper)\ncopy .env.example .env\nollama pull hf.co\u002FQwen\u002FQwen3-14B-GGUF:Q6_K\nollama create clippy-qwen3:14b-q6k -f models\\Modelfile.qwen3-14b-q6k\nbin\\clippy install                                            :: the clippy command + tab completion\n```\n\nOptional studio extras (~3 GB) for voice isolation and word-level alignment:\n\n```bat\n.venv\\Scripts\\python -m pip install torch==2.8.0 torchaudio==2.8.0 --index-url https:\u002F\u002Fdownload.pytorch.org\u002Fwhl\u002Fcu128\n.venv\\Scripts\\python -m pip install -r requirements-ml.txt\n```\n\nOpen a new terminal, then:\n\n| Command | Purpose |\n| --- | --- |\n| `clippy start` | start the web app in the background and open it in the browser |\n| `clippy down` | stop it completely (running renders too) and free the GPU; `--all` stops Ollama as well |\n| `clippy status` | is it running, what is it doing, how much VRAM the model holds |\n| `clippy clip \u003Clink>` | make clips from the command line (`clippy clip -h` lists every option) |\n| `clippy llm [mode]` | show or change the AI (`ollama`, `openrouter`, `claude`, `codex`, `none`); `--model`, `--test` |\n| `clippy restart --lan` · `clippy pair` | use it from a phone or tablet on the same Wi-Fi (see below) |\n| `clippy restart` · `open` · `logs` · `install` | the rest; bare `clippy` shows the banner and the full list |\n\n**Phone or tablet.** `clippy restart --lan` (or `CLIPPY_LAN=1` in `.env`) also listens on the local network and\nprints a one-time pairing link with a QR code (`pip install segno` for the QR code). Open it on the phone on the same\nWi-Fi; it is valid for 10 minutes and once, and the phone keeps a cookie that lets it in afterwards. Unpaired devices,\npublic addresses and other host names are refused; the computer itself needs no pairing. When Windows asks whether\nPython may accept connections, allow private networks only. `clippy pair` gives a new link, `clippy pair --reset`\nforgets every paired device.\n\nTab completion works in PowerShell and in cmd through [Clink](https:\u002F\u002Fchrisant996.github.io\u002Fclink\u002F)\n(`winget install chrisant996.Clink`, then `clippy install` again). The first run downloads the Whisper model\n(≈ 3 GB) and the YuNet face model (~230 KB, checked against a pinned SHA-256).\n\n## How it works\n\n```\nlink ─► yt-dlp (≤4K SDR + Opus) ─► Demucs voice isolation ─► Whisper large-v3 (hotwords, the video's own language) ─► MMS_FA word alignment\n     ─► reactions (loud moments, laughter, action, stream chat) ─► Qwen3 hook scoring + global re-rank ─► tight edit (dead air \u002F fillers out, on the audio envelope and frame grid)\n     ─► shot detection + YuNet faces + active speaker ─► virtual camera (spring follow, punch-ins)\n     ─► sub-pixel Lanczos 9:16 + ASS captions ─► BT.709 NVENC p7 + voice EQ, compressor, two-pass −14 LUFS\n```\n\n| Surface | What you get |\n| --- | --- |\n| **Web app** (`clippy start`, http:\u002F\u002F127.0.0.1:7860) | chats on the left, the conversation in the middle; finished clips appear as playable cards with download, copy text and edit |\n| **Chat agent** | understands requests in plain words and turns them into jobs: generate, more clips, edit clips (with attached images, music, video or LUTs), delete |\n| **Live progress** | queue position, a step bar (download, voice, transcript, timing, picking, render), percentage, detail (*Reading part 3 of 8*, *Clip 2 of 4*) and a self-calibrating time-left estimate |\n| **Command line** | `clippy clip` runs the same pipeline without the browser; `--only-select` + `--from-json` let you edit the plan by hand |\n\nEvery change becomes a new version (v2, v3…) and older versions stay playable. GPU jobs run one at a time while\nyou keep chatting. The layout works from 320 px phones to wide desktops, with a swipe drawer, keyboard shortcuts\n(`Ctrl+Shift+O`, `\u002F`, `Esc`) and motion that honours *reduce motion*.\n\n**Languages.** Every video is transcribed in its own language: an English video gets English captions and texts,\na Hungarian one Hungarian, a Spanish stream Spanish (any language Whisper knows; an unsure guess falls back to\nHungarian or English, which Whisper sometimes mistakes for Finnish). The language you write to the chat in never\nchanges that. Ask for another language only when you want it (*\"magyar felirattal\"*, *\"English captions on clip\n5\"*, `--captions hu`): captions are then translated into Hungarian or English line by line and kept in sync with\nthe speech. The app, the chat replies and the command line are in English.\n\n## Ready-made prompts\n\nThe start screen has four buttons. Each one puts a tested prompt into the message box; add the video link after\n\"Videó:\" \u002F \"Video:\" (and anything else after \"Egyéb kérés:\" \u002F \"Extra wishes:\") and send it. The same button always\ngives the same kind of clips: the count, the lengths and the CTA come from the text, everything else from the preset.\n\n| Button | Clips | Framing and sound | Picks |\n| --- | --- | --- | --- |\n| 🎙️ Podcast | 6 × 30-90 s | follows the speaker, speech tuned, dead air out | standalone opinions, surprising facts, stories with a payoff, banter, confessions |\n| 🎮 Gameplay & stream | 5 × 20-75 s | facecam on top, game below (blurred full frame without a facecam), natural sound, quiet parts kept | clutch plays, wins, fails, twists, loud reactions, jokes with chat; peaks found by sound, picture and the stream chat, even without speech |\n| 📣 Video & promo | 4 × 15-30 s | follows the speaker, speech tuned, opening text and a CTA | the main benefit, a demo, a strong claim or number, a testimonial (hook → proof → CTA) |\n| ⚡ Quick shorts | 3 × 10-25 s | automatic, dead air out | jokes, punchlines, surprising lines and reactions |\n\n**Post text.** Every clip comes with a ready-to-paste post (*Copy text* on the card, and the `.txt` file next to\nthe video): a one-line teaser ending with an emoji, the comment question, the link of the original video, your own\nprofiles (YouTube as a follow line, Instagram, TikTok) and hashtags; the curiosity title for YouTube Shorts is listed\nunder it. Set your profile links once under *Settings, General* (the gear in the sidebar), one per line, e.g.\n`TikTok: https:\u002F\u002Fwww.tiktok.com\u002F@you`; they stay on your computer in `data\u002Fweb\u002Fsettings.json`, and changing them\nrewrites every clip's post text.\n\n## Editing in the chat\n\nAsk for a change in your own words and attach what it needs with the paperclip button,\ndrag and drop or paste: images, music, video and `.cube` LUTs (each file is checked by its content, images are\nre-encoded, sizes are capped):\n\n> *\"Put my logo in the top right corner of clip 2 and this song under it, quietly.\"*\n> *\"A 3. klipről vedd le a nyitó feliratot, a feliratok legyenek nagyobbak, sárga kiemeléssel.\"*\n> *\"Amikor azt mondja, hogy pénz, legyen ráközelítés és egy dörrenés, a végét lassítsd le, és tegyél fel egy 🔥-t.\"*\n> *\"Make it 16:9 for YouTube and put clip 3 after it with a slide.\"*\n\nYou never edit by hand: you say what you want, Clippy does it. Every clip has a **timeline**: the cut, the virtual\ncamera, the format, the speed, captions, opening and call-to-action texts, overlays, stickers, effects, sounds,\ncolour, music, B-roll, joined clips and intro \u002F outro. The local LLM turns a request into a short list of validated\nedit operations, Clippy applies them as a dry run first and asks back when something is unclear. The result is a new\nversion with a **change card** listing what changed and a one-click **undo**.\n\n| What you can ask for | Examples |\n| --- | --- |\n| texts | add, rewrite, move or remove; opening text and CTA; appearing with a fade, pop, slide or typewriter effect |\n| captions | size, colour, highlight, height, language, hide, fix a misheard word |\n| cut | start earlier \u002F end later, cut out a part, hide the jump with a flash, a dip to black or a zoom |\n| speed | slow motion or faster, for the whole clip or a part (the voice keeps its pitch) |\n| format | 9:16 (TikTok, Shorts, Reels), 1:1 and 4:5 (feed posts), 16:9 (YouTube: the whole source frame) |\n| effects | punch-in zoom, shake, flash, dip to black, black and white, blur, vignette, at a word or a second |\n| stickers | any emoji in colour, with a pop, bounce, float or fade |\n| sound | music with ducking, sound effects (pop, ding, boom, click, whoosh, riser, bleep) or your own file at a moment, speech volume |\n| pictures and video | logo or image overlay, B-roll from an attached video (full frame or small), colour, LUTs |\n| sequence | intro \u002F outro with a transition, other clips of the chat joined after this one |\n| other | framing, dead-air cutting, sound processing, post title, undo |\n\nRendering is split in two: the camera-framed **base** is rendered once per cut and cached, every later caption,\ncolour, overlay or music edit only re-runs a fast finishing pass (about 7 s for a 1080p clip instead of a full\nre-render). Older versions stay playable.\n\n## Posting\n\nA finished clip goes straight to your own YouTube, Instagram, Facebook Page, TikTok and X with the **Post** button on\nits card, or from the chat (*\"posztold ki a 2. klipet YouTube-ra\"*). It goes up with its post text and, on YouTube, its\ntitle; the card then links each post. You make a free developer app per platform once and sign in on the platform's own\npage: the tokens stay in `data\u002Fweb\u002Faccounts.json` on this computer. *Settings, Accounts* shows all seven platforms as\ncards. **Twitch and Kick** can be connected, but neither offers apps any way to upload a video, so Clippy does not post\nthere (and uses no unofficial way). TikTok sends the clip to your drafts (or posts it as private until it reviews your\napp); YouTube may keep uploads of a new API project private until its audit; X's API is paid per use. Setup, step by\nstep, with what each platform allows: **[docs\u002Fpublishing.md](docs\u002Fpublishing.md)**.\n\n## Voice input and notifications\n\nThe microphone button next to Send turns your speech into the message (a small Whisper model on the CPU, so it never\nwaits for a running job). *Settings, General* lets the browser tell you when a job is done, also when the\nwindow is in the background. Both need a secure page: they work on the computer that runs Clippy\n(http:\u002F\u002F127.0.0.1); a phone over the local network cannot use the microphone or notifications without HTTPS.\n\n## Style kit, covers and A\u002FB titles\n\n*Settings, Style* saves your look once: caption font, highlight colour and capitals, and if you want a logo (with\nits corner), a short intro and an outro; none of them is required. Every new clip gets the caption look at once, and\nthe logo, intro and outro as its next version (with a change card and undo). Every clip also gets a cover with its\ntitle written on it (*Cover* on the card) and a second cover with a B title (*Cover B*); the Post dialog lets you\npost the A or the B title to YouTube. Hungarian titles,\nteasers and questions get a native editor's proofreading pass and Hungarian quotation marks.\n\nStreams (Twitch and Kick VODs, YouTube streams that were live) use the stream layout by default: the facecam on top,\nthe game below, or the blurred full frame when there is no facecam.\n\n## Watching channels and planned posts\n\nGive Clippy a YouTube channel, a Twitch channel or a playlist under *Settings, Automation*, or say it in the\nchat (*\"figyeld ezt a gaming csatornát: https:\u002F\u002Fwww.twitch.tv\u002F…\"*). It looks for new videos every 15 minutes to once\na day; each new video becomes its own chat that makes clips with the kind you chose (podcast, gameplay & stream, video\n& promo, quick shorts). Videos already on the channel are left alone; tick *Clip the newest video now too* for one\nright away. A YouTube channel is read from its uploads and its past streams; live streams wait until they have ended.\n\n**A streamer by name.** Say *\"klippeld N3on legújabb streamjét\"* or *\"clip the latest stream of Kai Cenat\"* in the\nchat, no link needed. Clippy knows about fifty of the biggest streamers (Kai Cenat, IShowSpeed, xQc, Adin Ross, N3on,\nIbai, Jynxzi and more, in `clippy\u002Fstreamers.py`), looks on their YouTube, Twitch and Kick channels for the newest stream\nthat has ended (one that is on right now gives way to the one before it) and clips it with the gameplay & stream kind;\nthe reply says which stream it picked. A number works too (*\"5 klipet\"*), and a name that is not in the list can be given\nas `twitch.tv\u002Fname`, `kick.com\u002Fname` or `@name`. Kick's stream list is read with yt-dlp, and from Kick's public JSON when\nyt-dlp cannot.\n\n**Daily picks.** Say *\"minden nap 3 GTA VI klipet\"* or *\"every day 3 GTA VI clips\"* (or start it under *Settings,\nAutomation*): every morning at 09:00 Clippy takes the most watched clips of the last day in that game's Twitch and\nKick category, which are the streamers' biggest live reactions, keeps one per streamer in the audience's language,\nand makes a vertical clip of each in its own chat, with the stream layout and a post text that credits the streamer.\nEach pick comes with a time to post it for a US audience (New York 19:00, 15:00 and 12:00 by default, the most\nwatched moment first), shown in your own time too; *Settings, Automation* lists today's picks with their times and\na *Copy text* button. Tick YouTube under *Post each clip at its time* and every pick also goes out by itself:\nYouTube gets it as soon as it is made and publishes it at its time. GTA VI, GTA V, Minecraft, Fortnite, Valorant, Counter-Strike, League of Legends and Warzone are\nknown by name (`clippy\u002Fcategories.py`).\n\nPosts can wait for their time: choose *At a set time* in the Post dialog, and the card shows the planned post with a\n*cancel* link. The **Scheduler** (in the sidebar) lists everything that waits, day by day, with each clip's cover, chat,\nplatforms and time, and schedules a clip from one place: pick the chat and clip, the platforms, a date and time (or your\nsaved posting times, *Settings, General*, and the next free one). YouTube keeps its time itself, so that video goes out\neven while this computer is off; the other platforms wait in Clippy's plan, which has to be running, and can be moved\nor removed in the Scheduler. A YouTube video's time is changed or removed in YouTube Studio (Clippy's YouTube access can\nupload but not edit), and the Scheduler links there. A watched channel can also post its new clips by itself: give it the platforms and the daily times\n(*18:00, 21:00*) and each new clip takes the next free time, one clip per time across all channels. That is off until\nyou set both, and it uses your own connected accounts (YouTube public, TikTok drafts).\n\n**Learning from the results.** The numbers of every post (views, likes, comments, shares, how much people watch)\ncome back onto its card, and *Settings, Results* shows which openings, lengths, kinds of moment and posting times\ndo better than your usual. The clear patterns steer the picker for the next videos.\n\n## Choosing the AI\n\nThe AI picks the moments and writes the titles and texts. You choose it the first time you start (the web app asks\nonce, `clippy install` asks too) and can change it any time in *Settings, AI* or with `clippy llm \u003Cmode>`; the next\nrequest uses it, no restart needed.\n\n| Mode | What it uses |\n| --- | --- |\n| `ollama` (default) | a model on your own computer, free and private ([docs\u002Flocal-llm.md](docs\u002Flocal-llm.md)) |\n| `openrouter` | [OpenRouter](https:\u002F\u002Fopenrouter.ai) with your own API key; model ids ending in `:free` cost nothing |\n| `claude` | your Claude subscription, through the Claude Code app (`claude` signed in once; no API key) |\n| `codex` | your ChatGPT subscription, through the Codex app (`codex login` once; no API key) |\n| `none` | no AI: simple automatic picking, and the chat cannot answer |\n\n*Settings, AI* shows whether the chosen tool is installed and signed in and has a *Test* button that asks the AI one\ntiny question. The choice, the model of each mode and an OpenRouter key are kept in `data\u002Fweb\u002Fllm.json` (never in the\nrepository); a key is never shown again, and the AI can only be changed on the computer that runs Clippy. The two\nsubscription modes run the tools without tools or file access of their own and without an API key; their use counts\nagainst your subscription's limits.\n\n## Configuration\n\n`.env` (copied from [.env.example](.env.example)) and environment variables. The AI chosen in Settings or with\n`clippy llm` wins over the `CLIPPY_LLM_*` variables, which stay as the defaults before anyone chose:\n\n| Variable | Default | Meaning |\n| --- | --- | --- |\n| `CLIPPY_LLM_BACKEND` | `ollama` | `ollama` (local), `openrouter`, `claude`, `codex`, `openai` (any OpenAI-compatible API: Groq, Gemini) or `none` (heuristic) |\n| `CLIPPY_LLM_MODEL` | `clippy-qwen3:14b-q6k` | the model name for that backend |\n| `CLIPPY_LLM_BASE_URL`, `CLIPPY_LLM_API_KEY` | - | for hosted backends |\n| `CLIPPY_LLM_THINK` | `1` | reasoning mode when picking clips (better choices, slower) |\n| `CLIPPY_LLM_CTX`, `CLIPPY_LLM_KEEP_ALIVE` | `16384`, `30m` | context size and how long the model stays in VRAM |\n| `CLIPPY_LIBRARY` | `~\u002FVideos\u002FClippy` | where finished clips are copied |\n| `CLIPPY_PORT` | `7860` | web app port |\n| `CLIPPY_LAN` | - | `1`: phones and tablets on the same Wi-Fi can use it after pairing (`clippy pair`) |\n| `CLIPPY_BROWSER` | Opera GX, else Edge \u002F Chrome \u002F default | browser to open the UI in |\n| `CLIPPY_COOKIES_FROM_BROWSER` | - | `firefox` (or another browser) when a site only shows a video to signed-in users (Instagram, Vimeo, Reddit…); Chrome's cookies cannot be read on Windows |\n| `CLIPPY_COOKIES_FILE` | - | a `cookies.txt` (Netscape format) exported from any signed-in browser with an extension; Clippy only reads it, each download uses a private copy. Keep it in `data\u002F` (ignored), it is as good as your login |\n| `CLIPPY_YOUTUBE_CLIENT_ID`, `CLIPPY_YOUTUBE_CLIENT_SECRET` | - | your Google \"Desktop app\" OAuth client, for posting to YouTube ([docs\u002Fpublishing.md](docs\u002Fpublishing.md)) |\n| `CLIPPY_TIKTOK_CLIENT_KEY`, `CLIPPY_TIKTOK_CLIENT_SECRET` | - | your TikTok developer app, for posting to TikTok |\n| `CLIPPY_FACEBOOK_APP_ID`, `CLIPPY_FACEBOOK_APP_SECRET` | - | your Meta app, for posting Reels to a Facebook Page (optional `CLIPPY_FACEBOOK_PAGE_ID`, `CLIPPY_FACEBOOK_CONFIG_ID`) |\n| `CLIPPY_X_CLIENT_ID` | - | your X developer app's client id, for posting to X (optional `CLIPPY_X_CLIENT_SECRET` for a confidential app) |\n| `CLIPPY_TWITCH_CLIENT_ID`, `CLIPPY_TWITCH_CLIENT_SECRET`, `CLIPPY_KICK_CLIENT_ID`, `CLIPPY_KICK_CLIENT_SECRET` | - | your Twitch \u002F Kick developer apps, only to connect the account (neither platform lets apps upload videos) |\n| `CLIPPY_WORKERS`, `CLIPPY_RENDER_SLOTS` | `3`, `3` | jobs of different chats at once, clips rendered at once (the GPU always runs one heavy model at a time) |\n\n**Where files go.** Finished clips: `\u003CCLIPPY_LIBRARY>\\\u003Cvideo title>\\` (mp4 + cover jpg + post text), never removed\nautomatically. Everything else lives in `data\u002F`: the shared download \u002F audio \u002F transcript cache, one folder per\nchat (removed with the chat, together with any cache no other chat uses), command-line plans and the chat database.\n\n## Guides\n\n* **[docs\u002Fcli.md](docs\u002Fcli.md)**: every command and `clippy clip` option, with examples.\n* **[docs\u002Fpublishing.md](docs\u002Fpublishing.md)**: connecting YouTube, Instagram, Facebook, TikTok, X, Twitch and Kick (posting on the first five).\n* **[docs\u002Fplaybook.md](docs\u002Fplaybook.md)**: what works on TikTok, Shorts and Reels (hooks, length, captions, CTA,\n  posting, rights) and where Clippy applies it.\n* **[docs\u002Fquality.md](docs\u002Fquality.md)**: what each stage does for the picture, the sound and the captions, and how hooks are scored.\n* **[docs\u002Flocal-llm.md](docs\u002Flocal-llm.md)**: Qwen3-14B Q6_K tuned for a 16 GB GPU: quantisation, context, sampling, VRAM scheduling.\n* **[docs\u002FBRAND.md](docs\u002FBRAND.md)**: the logo, colours, type and motion rules (icons and the social image are\n  regenerated with `dev\u002Fmake_icons.py` and `dev\u002Fmake_og.py`).\n\n## Security\n\nThe web app listens on `127.0.0.1` only (with `--lan` also on the local network, for paired devices only: a one-time\ncode becomes an HttpOnly, SameSite=Strict device cookie whose hash alone is stored) and is hardened against the OWASP Top 10 risks that apply to it: a host\nallow-list (DNS rebinding), a same-origin check plus a custom header on every state-changing request (CSRF), a strict\nContent-Security-Policy with no inline script or style, a media endpoint that serves only a chat's own clip files,\nSSRF filtering of video links, parameterised SQL, a pinned hash for the downloaded face model and prompt-injection\nguards (transcript text is fenced as data; deleting, downloading or posting needs the user's own words).\nAccounts for posting are connected from this computer only, with a single-use sign-in state and PKCE; their tokens\nnever reach the browser.\nDependencies are checked with `pip-audit`.\n\n## Development\n\n```\nclippy\u002F            the package: control.py (the clippy command), shell.py, cli.py, pipeline.py, i18n.py, ...\nclippy\u002Fweb\u002F        FastAPI server, chat service, job runner + live progress, chat agent, static\u002F (ES modules)\ntests\u002F             pytest suite (~3 s)            docs\u002F   guides            models\u002F   Ollama Modelfile\n```\n\n```bat\n.venv\\Scripts\\python -m pip install -e .[dev]\ngit config core.hooksPath .githooks          :: pre-commit: pyflakes + pytest\n.venv\\Scripts\\python -m pyflakes clippy tests\n.venv\\Scripts\\python -m pytest -q\n```\n\nConventions: [CLAUDE.md](CLAUDE.md). Release history: [CHANGELOG.md](CHANGELOG.md).\n\n## Limitations\n\n* Windows-first: it is used and tuned on Windows 10\u002F11 with an NVIDIA GPU. macOS and Linux run the same code (tested\n  in CI on both, `install.sh`, bash completion); there the encoder falls back to x264 unless NVENC is available, and\n  captions use the system's fonts (DejaVu or Liberation on Linux).\n* The camera follows the active speaker by mouth motion; the voices are told apart only for picking (who says\n  what), by a light voice print that labels speakers only when their voices clearly differ.\n* The interface is in English. Videos are transcribed and captioned in their own language; caption translation\n  works between English and Hungarian, and words in non-Latin scripts keep Whisper's timing.\n* Post and monetise only your own footage, footage you have permission for, or content from an official clipping\n  campaign. Downloading may be restricted by a platform's terms of service.\n\n## FAQ\n\n**What is Clippy?** A free, open-source AI clipper that runs on your own computer: paste a video link (YouTube, TikTok, Instagram, Twitch and the other sites yt-dlp supports) or a video\nfile) into a chat and get vertical 9:16 clips for TikTok, YouTube Shorts and Instagram Reels, with the strongest hooks,\nanimated captions and a call to action.\n\n**Is it really free and private?** Yes. MIT license, local models only (faster-whisper, Qwen3-14B through Ollama,\nFFmpeg), no subscription and no upload.\n\n**Which languages?** Every video is transcribed and captioned in its own language. The interface is in English, and\ncaptions can be translated between English and Hungarian.\n\n**Can I edit a clip after it is made?** Yes, by asking in the chat: music, logos, texts, colours, LUTs, intro \u002F outro,\ncutting parts out, undo. Edits re-render in seconds from a cached base.\n\n**What hardware?** Windows 10\u002F11, macOS or Linux with Python 3.12; an NVIDIA GPU with 12-16 GB VRAM is recommended, the\nCPU works too.\n\nProject page: [clippyai.vercel.app](https:\u002F\u002Fclippyai.vercel.app\u002F) · machine-readable summary:\n[llms.txt](docs\u002Fllms.txt).\n\n## License\n\n[MIT](LICENSE.md). Clippy is not affiliated with Microsoft; product and model names are trademarks of their\nrespective owners, and the models it downloads come under their own licenses.\n","2026-11-24 04:54:12","CREATED_QUERY"]