MCPcopy Create free account
hub / github.com/pablostanley/yoinks

github.com/pablostanley/yoinks @v0.3.1

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.3.1 ↗ · + Follow
72 symbols 190 edges 21 files 0 documented · 0% ● updated 4mo ago★ 4,46213 open issues

Browse by type

⨍ Functions 72◇ Types & classes 0
What it actually does AI analysis from the code graph
loading…
README

yoinks

yoinks

yoink any video. paste. yoink. done.

Download videos from YouTube, X/Twitter, Instagram, Threads, TikTok and 1,800+ other sites — right from your terminal. Paste a url, pick a resolution (or audio-only mp3), done. No popups, no fake download buttons, no sketchy redirects.

yoinks home screen — paste a link and hit yoink

Install

npm install -g yoinks

Or try it without installing anything:

npx yoinks

Requires Node 18+. Everything else (yt-dlp, ffmpeg) is fetched or bundled automatically.

Usage

$ yoinks https://youtu.be/dQw4w9WgXcQ    # straight to the format picker
$ yoinks                                 # prompts for a url
$ yoinks --theme light                   # force the light palette

yoinks takes over the terminal (full-screen, centered — and restores your scrollback on exit). Pick a format with ↑/↓ (or j/k, or number keys) and hit enter. esc goes back, ^c quits. Or just use the mouse — the yoink button, the format list and the footer hints are all clickable, and clicking the logo takes you back home. Files are saved to ~/Downloads, and the file path is printed to your terminal when you're done.

The default auto theme uses your terminal's own foreground and background, so it follows light and dark terminal themes without guessing. Press ^t or click the theme control in the footer to cycle through auto, light, and dark for the current session. Use --theme auto, --theme light, or --theme dark to choose the starting theme for one launch.

yoinks format picker — resolutions with estimated file sizes, plus audio-only mp3

How it works

  • Powered by yt-dlp. On first run, yoinks downloads the standalone yt-dlp binary to ~/.yoinks/bin — no Python required. If you already have yt-dlp installed, it uses yours.
  • ffmpeg (needed for merging high-res streams and mp3 extraction) is found on your PATH, with ffmpeg-static as a bundled fallback.
  • The UI is Ink — React for the terminal.

Development

npm install
npm run build        # bundle to dist/ with tsup
npm run dev          # rebuild on change
node dist/cli.js <url>
npm run typecheck

To try it as a global command without publishing: npm link, then run yoinks anywhere.

Roadmap

  • [ ] --best / --mp3 flags to skip the picker (scriptable mode)
  • [ ] -o <dir> to choose the output folder
  • [ ] Playlist / thread-with-multiple-videos support
  • [ ] Clipboard detection: launch bare and auto-suggest the url you copied
  • [ ] Self-update for the bundled yt-dlp binary (yt-dlp -U)
  • [x] Publish to npm (npm i -g yoinks / npx yoinks)
  • [ ] curl yoinks.sh | sh installer

A note on fair use

yoinks is a personal-archiving tool. Downloading content may violate a platform's terms of service — only download what you have the right to keep, and be excellent to creators.

License

MIT

Core symbols most depended-on inside this repo

browse all functions →

Shape

Function 72

Languages

TypeScript100%

Modules by API surface

src/app.tsx12 symbols
src/lib/ytdlp.ts11 symbols
src/lib/format.ts7 symbols
src/components/text-input.tsx7 symbols
src/lib/click-map.ts6 symbols
src/theme.ts5 symbols
src/components/logo.tsx4 symbols
src/lib/use-mouse-click.ts3 symbols
src/components/fullscreen.tsx3 symbols
src/lib/platforms.ts2 symbols
src/lib/history.ts2 symbols
src/components/framed-input.tsx2 symbols

Dependencies from manifests, versioned

@types/node26.1.1 · 1×
@types/react19.2.17 · 1×
ffmpeg-static5.3.0 · 1×
ink7.1.0 · 1×
ink-select-input6.2.0 · 1×
ink-spinner5.0.0 · 1×
react19.2.7 · 1×
tsup8.5.1 · 1×
tsx4.23.1 · 1×
typescript7.0.2 · 1×

For agents

$ claude mcp add yoinks \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page