[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-108483":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":16,"stars7d":16,"stars30d":17,"stars90d":15,"forks30d":15,"starsTrendScore":14,"compositeScore":18,"rankGlobal":9,"rankLanguage":9,"license":19,"archived":20,"fork":20,"defaultBranch":21,"hasWiki":20,"hasPages":20,"topics":22,"createdAt":9,"pushedAt":40,"updatedAt":41,"readmeContent":42,"aiSummary":43,"trendingCount":15,"starSnapshotCount":15,"syncStatus":44,"lastSyncTime":45,"discoverSource":46},108483,"cloofy","parda21\u002Fcloofy","parda21","Spotify in your terminal: plays on its own, with Home and the DJ, synced lyrics, real cover art and full mouse support.",null,"Rust",85,4,53,3,0,1,30,47.6,"MIT License",false,"main",[23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39],"cli","kitty-graphics-protocol","librespot","linux","lyrics","macos","music","music-player","ratatui","rust","spotify","spotify-client","spotify-connect","spotify-tui","terminal","terminal-app","tui","2026-11-19 04:25:07","2026-11-23 19:59:15","\u003Cp align=\"center\">\n  \u003Cimg src=\"https:\u002F\u002Fraw.githubusercontent.com\u002Fparda21\u002Fcloofy\u002Fassets\u002Flogo.svg\" alt=\"cloofy\" height=\"84\">\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n  \u003Cb>Spotify and YouTube Music in your terminal.\u003C\u002Fb>\u003Cbr>\n  Plays on its own, with Home, Spotify's DJ, synced lyrics, real cover art and a mouse that works everywhere.\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fparda21\u002Fcloofy\u002Freleases\u002Flatest\">\u003Cimg alt=\"Latest release\" src=\"https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fv\u002Frelease\u002Fparda21\u002Fcloofy?style=flat-square&color=8b5cf6&label=release\">\u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fparda21\u002Fcloofy\u002Factions\u002Fworkflows\u002Fci.yml\">\u003Cimg alt=\"CI\" src=\"https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Factions\u002Fworkflow\u002Fstatus\u002Fparda21\u002Fcloofy\u002Fci.yml?branch=main&style=flat-square&label=ci\">\u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fratatui.rs\">\u003Cimg alt=\"Built with Ratatui\" src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fbuilt_with-ratatui-ff8fb1?style=flat-square\">\u003C\u002Fa>\n  \u003Ca href=\"LICENSE\">\u003Cimg alt=\"MIT license\" src=\"https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Flicense\u002Fparda21\u002Fcloofy?style=flat-square&color=8b5cf6\">\u003C\u002Fa>\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Fcloofy.app\">cloofy.app\u003C\u002Fa> · \u003Ca href=\"https:\u002F\u002Fcloofy.app\u002Fdocs\u002F\">Docs\u003C\u002Fa> · \u003Ca href=\"#install\">Install\u003C\u002Fa> · \u003Ca href=\"#setup\">Setup\u003C\u002Fa> · \u003Ca href=\"#keys\">Keys\u003C\u002Fa> · \u003Ca href=\"#omarchy\">Omarchy\u003C\u002Fa> · \u003Ca href=\"#faq\">FAQ\u003C\u002Fa> · \u003Ca href=\"CHANGELOG.md\">Changelog\u003C\u002Fa>\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n  \u003Cimg src=\"https:\u002F\u002Fraw.githubusercontent.com\u002Fparda21\u002Fcloofy\u002Fassets\u002Fhero.webp\" alt=\"cloofy in a terminal: the Home page with cover art, a hovered card showing its play button, a playlist with the playing song, and the now-playing view with synced lyrics\">\n  \u003Cbr>\n  \u003Csub>Recorded from \u003Ccode>cloofy demo\u003C\u002Fcode>, which needs no account. The covers are Spotify's; the library is made up.\u003C\u002Fsub>\n\u003C\u002Fp>\n\ncloofy plays Spotify and YouTube Music in the terminal, one of them or both side by side. It plays the music itself, with no official app in the background: Spotify through librespot, as a Spotify Connect device you can pick from your phone, and YouTube Music through mpv, with or without an account. It looks and works like the desktop client you know: your Home feed, your library in a sidebar, cover art, synced lyrics, and on Spotify the DJ talking between tracks.\n\n## Features\n\n- **Plays on its own.** Spotify plays through librespot, and cloofy is a Spotify Connect device. It controls your other devices too, and follows them live. YouTube Music plays through mpv, which cloofy starts and stops itself, with no gap between songs.\n- **Spotify, YouTube Music or both.** Install one, or both side by side: \u003Ckbd>S\u003C\u002Fkbd> or the switch in the top bar shows the other's Home, library and pages, as you left them.\n- **YouTube Music without an account.** Home, search, every page, lyrics and song radios work signed out. Sign in with your browser for your library and likes.\n- **Home and the DJ.** Your shelves and mixes, and on Spotify Made For You and the DJ with its voice between tracks. Ask the DJ for something, as in Spotify's apps, or let it pick something different. Crossfade if you like.\n- **Your library.** Playlists, albums, artists, and on Spotify podcasts, in a sidebar or as a full page with covers.\n- **Every page.** Playlists, albums and artist pages with popular tracks and releases, plus search with artwork.\n- **The queue.** See what plays next, on cloofy or the device it controls: the songs you queued, then the rest of the playlist or album. Skip ahead to any of them, or take a queued song out again. On YouTube Music, the radio of the last song follows once the playlist or album ends.\n- **Synced lyrics.** The current line lights up next to a large cover in the now-playing view.\n- **Cover art.** Real images in terminals that show pictures through the Kitty, Sixel or iTerm2 protocol, and block art everywhere else.\n- **Mouse and keyboard.** Click, hover, scroll, drag the seek and volume bars, right-click for actions. Every action also has a key, and \u003Ckbd>Ctrl\u003C\u002Fkbd> \u003Ckbd>K\u003C\u002Fkbd> finds the rest.\n- **Settings in the app.** Crossfade, cover art, the accent color, icons, power saving and notifications, on a Settings page like Spotify's. Slow computer? Turn cover art off.\n- **Instant.** The last page, list and track are back the moment it starts, and the controls answer before Spotify does.\n- **At home on macOS and Linux.** Media keys and the system's media controls: Control Center on macOS, and on Linux GNOME, KDE, Waybar and playerctl. cloofy pauses before the computer sleeps, reconnects when it wakes, and moves less when the system asks for less motion or saves power. On macOS, AirPods and headphones pause Spotify when they disconnect.\n- **At home on Omarchy.** cloofy follows the theme, shows what plays in the bar, and has its place in the menu and the launcher. See [Omarchy](#omarchy).\n\n## A closer look\n\n### Now playing, with lyrics in time\n\n\u003Ckbd>z\u003C\u002Fkbd> opens the track in full: a large cover, and lyrics that follow the song line by line.\n\n\u003Cimg src=\"https:\u002F\u002Fraw.githubusercontent.com\u002Fparda21\u002Fcloofy\u002Fassets\u002Fnowplaying.webp\" alt=\"The now-playing view: a large album cover on the left, synced lyrics on the right with the current line highlighted\">\n\n### Every page you know\n\nPlaylists and albums with the playing song marked, artist pages with popular tracks and play counts, search with covers, and your whole library as a grid.\n\n\u003Ctable>\n  \u003Ctr>\n    \u003Ctd>\u003Cimg src=\"https:\u002F\u002Fraw.githubusercontent.com\u002Fparda21\u002Fcloofy\u002Fassets\u002Fplaylist.webp\" alt=\"A playlist page with its mosaic cover, Play and Shuffle buttons, and the track list\">\u003C\u002Ftd>\n    \u003Ctd>\u003Cimg src=\"https:\u002F\u002Fraw.githubusercontent.com\u002Fparda21\u002Fcloofy\u002Fassets\u002Fartist.webp\" alt=\"An artist page with a round portrait, monthly listeners, and the popular tracks\">\u003C\u002Ftd>\n  \u003C\u002Ftr>\n  \u003Ctr>\n    \u003Ctd>\u003Cimg src=\"https:\u002F\u002Fraw.githubusercontent.com\u002Fparda21\u002Fcloofy\u002Fassets\u002Fsearch.webp\" alt=\"Search results for daft punk with album covers\">\u003C\u002Ftd>\n    \u003Ctd>\u003Cimg src=\"https:\u002F\u002Fraw.githubusercontent.com\u002Fparda21\u002Fcloofy\u002Fassets\u002Flibrary.webp\" alt=\"The library as a full page: a grid of playlist covers with filter tabs\">\u003C\u002Ftd>\n  \u003C\u002Ftr>\n\u003C\u002Ftable>\n\n### A key for everything, or a click\n\n\u003Ckbd>Ctrl\u003C\u002Fkbd> \u003Ckbd>K\u003C\u002Fkbd> opens a command palette for every action and playlist, \u003Ckbd>?\u003C\u002Fkbd> lists all keys, and the hint bar at the bottom shows what works on the current page. All of it works with the mouse too.\n\n\u003Cimg src=\"https:\u002F\u002Fraw.githubusercontent.com\u002Fparda21\u002Fcloofy\u002Fassets\u002Fpalette.webp\" alt=\"The command palette open over Home, listing actions with their keys\">\n\n## Try it first\n\n```sh\ncloofy demo\n```\n\nThe demo opens the full interface with a sample library: real albums and artists, and a few made-up playlists. It needs no account and plays nothing, so it's a quick way to see how cloofy looks in your terminal. Every picture on this page comes from it.\n\n## Install\n\n```sh\ncurl -fsSL https:\u002F\u002Fcloofy.app\u002Finstall.sh | bash\n```\n\nThe installer first asks what you listen to: Spotify, YouTube Music, or both. Each comes as a build of its own, so a YouTube Music install carries no Spotify code, and the other way around. Then it checks your system, puts the latest release in `~\u002F.local\u002Fbin`, and walks you through the [setup](#setup). For Spotify that's your Spotify app, its client ID and signing in. For YouTube Music it's mpv, yt-dlp and deno, which it offers to install with your package manager, and an optional sign-in. On [Omarchy](https:\u002F\u002Fomarchy.org) it also offers cloofy's [bar widget, theme, menu entries and launcher](#omarchy). Run it again to switch; cloofy offers new releases itself, see [updates](#updates).\n\nPackage managers have the same three builds:\n\n| | Spotify | YouTube Music | Both |\n| --- | --- | --- | --- |\n| [Homebrew](https:\u002F\u002Fbrew.sh), macOS and Linux | `cloofy` | `cloofy-ytmusic` | `cloofy-full` |\n| [mise](https:\u002F\u002Fmise.jdx.dev), anywhere | `matching=spotify` | `matching=ytmusic` | `matching=full` |\n| Arch Linux | `cloofy-bin` | `cloofy-ytmusic-bin` | `cloofy-full-bin` |\n\n```sh\nbrew install parda21\u002Fcloofy\u002Fcloofy-ytmusic\nmise use -g 'github:parda21\u002Fcloofy[matching=ytmusic]'\n```\n\nOn Arch Linux, as a package built from the PKGBUILD that comes with each release:\n\n```sh\ncurl -L -o PKGBUILD https:\u002F\u002Fgithub.com\u002Fparda21\u002Fcloofy\u002Freleases\u002Flatest\u002Fdownload\u002Fcloofy-ytmusic-bin.PKGBUILD && makepkg -si\n```\n\nHomebrew's and Arch's YouTube Music packages bring mpv, yt-dlp and deno along; with mise, install those yourself. Each package replaces the others. Installed with a package manager, go through the [setup](#setup) yourself. The package manager keeps cloofy up to date.\n\n\u003Cdetails>\n\u003Csummary>Installer options, building from source\u003C\u002Fsummary>\n\n- `bash -s -- --service ytmusic` installs YouTube Music without asking about it: `spotify`, `ytmusic` or `both`.\n- `bash -s -- --yes` installs without asking anything: the services you have, or Spotify the first time.\n- `bash -s -- --uninstall` removes cloofy, and its Omarchy setup.\n\nOn platforms without a prebuilt binary, the installer builds cloofy with cargo, with only the services you picked. To do that yourself (Rust 1.90 or newer), name them as features; without any, you get both:\n\n```sh\ncargo install --git https:\u002F\u002Fgithub.com\u002Fparda21\u002Fcloofy --locked cloofy --no-default-features --features ytmusic\n```\n\nOn Linux the Spotify build needs the ALSA and PulseAudio headers:\n\n| Distro | Packages |\n| --- | --- |\n| Debian, Ubuntu | `libasound2-dev libpulse-dev pkg-config` |\n| Fedora | `alsa-lib-devel pulseaudio-libs-devel` |\n| Arch | `alsa-lib libpulse` |\n\nYouTube Music needs no headers to build, and [mpv](https:\u002F\u002Fmpv.io), [yt-dlp](https:\u002F\u002Fgithub.com\u002Fyt-dlp\u002Fyt-dlp) (2025.11.12 or newer) and [deno](https:\u002F\u002Fdeno.com) to play.\n\n\u003C\u002Fdetails>\n\n## Setup\n\nSet up the services you installed; the installer does it with you. With both, `cloofy login` signs in to each in turn, and asks before YouTube Music, which plays without an account.\n\n### Spotify\n\n> [!NOTE]\n> Playing music needs **Spotify Premium**, and reading your library needs a **free Spotify developer app** of your own. The installer guides you through it in about two minutes.\n\n1. Create an app at [developer.spotify.com\u002Fdashboard](https:\u002F\u002Fdeveloper.spotify.com\u002Fdashboard). Give it any name, set the redirect URI to `http:\u002F\u002F127.0.0.1:8974\u002Fcallback`, and pick the Web API.\n2. If you listen with another Spotify account than the dashboard's, add it under **User Management**.\n3. Put the app's client ID into `~\u002F.config\u002Fcloofy\u002Fconfig.toml`:\n\n   ```toml\n   client_id = \"your client id\"\n   ```\n\n4. Run `cloofy login spotify`. The browser opens twice: once for your app, once for playback.\n5. Run `cloofy doctor` to check that everything works, then `cloofy`.\n\n### YouTube Music\n\nYouTube Music needs no account. cloofy plays it with [mpv](https:\u002F\u002Fmpv.io) and finds the streams with [yt-dlp](https:\u002F\u002Fgithub.com\u002Fyt-dlp\u002Fyt-dlp) 2025.11.12 or newer, which needs [deno](https:\u002F\u002Fdeno.com) for YouTube's challenges. The installer offers to install all three with your package manager, and the Homebrew and Arch packages bring them along.\n\nSigned out, Home, search, artist, album and playlist pages, lyrics and song radios work. Signing in adds your library: your playlists, albums, subscribed artists and liked songs, and liking, saving and adding to playlists.\n\n1. Run `cloofy login ytmusic`. cloofy borrows the sign-in of your default browser: yt-dlp reads its cookies, which may ask for your keyring, and cloofy keeps only YouTube's. If the browser isn't signed in to YouTube yet, cloofy opens YouTube's sign-in there and goes on once you're signed in. The browser's cookies sign in every Google account signed in to it, so cloofy lists them by their address, brand accounts too, and you pick the one for YouTube Music: a work account signed in first is never taken by itself. **Another account** opens Google's sign-in for one more in the browser and goes on with it. With a browser cloofy doesn't know, or one it can't read, pick another from the list, or **Another way** to paste the Cookie header of a request to music.youtube.com from the browser's developer tools.\n2. Run `cloofy doctor` to check mpv, yt-dlp, deno, music.youtube.com, the sign-in and its account, and a stream, then `cloofy`.\n\nOn Linux, yt-dlp reads the keyring of Chrome, Brave and other Chromium-based browsers with Python's secretstorage: the installer offers it, and the Arch packages bring it along.\n\n`cloofy login ytmusic --force` signs in again, with another account if you like. `cloofy logout ytmusic` forgets the sign-in, and YouTube Music plays without an account again. A sign-in or sign-out shows the next time cloofy starts.\n\n## Keys\n\n\u003Cdetails>\n\u003Csummary>All shortcuts\u003C\u002Fsummary>\n\n| Key | Action |\n| --- | --- |\n| \u003Ckbd>space\u003C\u002Fkbd> | Play or pause |\n| \u003Ckbd>[\u003C\u002Fkbd> \u003Ckbd>]\u003C\u002Fkbd> | Previous, next track |\n| \u003Ckbd>⇧\u003C\u002Fkbd> \u003Ckbd>←\u003C\u002Fkbd> \u003Ckbd>→\u003C\u002Fkbd> | Seek 5 seconds |\n| \u003Ckbd>+\u003C\u002Fkbd> \u003Ckbd>-\u003C\u002Fkbd> | Volume |\n| \u003Ckbd>s\u003C\u002Fkbd> \u003Ckbd>r\u003C\u002Fkbd> | Shuffle, repeat |\n| \u003Ckbd>1\u003C\u002Fkbd> \u003Ckbd>\u002F\u003C\u002Fkbd> \u003Ckbd>3\u003C\u002Fkbd> | Home, search, your library |\n| \u003Ckbd>S\u003C\u002Fkbd> | Switch between Spotify and YouTube Music |\n| \u003Ckbd>enter\u003C\u002Fkbd> | Open or play the selection |\n| \u003Ckbd>esc\u003C\u002Fkbd> | Back |\n| \u003Ckbd>f\u003C\u002Fkbd> | Like the song, or save the album or playlist |\n| \u003Ckbd>F\u003C\u002Fkbd> | Follow the artist |\n| \u003Ckbd>q\u003C\u002Fkbd> \u003Ckbd>a\u003C\u002Fkbd> | Add to queue, add to a playlist |\n| \u003Ckbd>.\u003C\u002Fkbd> | Actions for the selection |\n| \u003Ckbd>z\u003C\u002Fkbd> | Now playing and lyrics |\n| \u003Ckbd>Q\u003C\u002Fkbd> | Queue |\n| \u003Ckbd>d\u003C\u002Fkbd> | Devices, on Spotify |\n| \u003Ckbd>D\u003C\u002Fkbd> | Start the DJ on Spotify; while it plays, ask it for something |\n| \u003Ckbd>,\u003C\u002Fkbd> | Settings |\n| \u003Ckbd>U\u003C\u002Fkbd> | Update cloofy |\n| \u003Ckbd>Ctrl\u003C\u002Fkbd> \u003Ckbd>K\u003C\u002Fkbd> | Command palette |\n| \u003Ckbd>?\u003C\u002Fkbd> | All shortcuts |\n| \u003Ckbd>Ctrl\u003C\u002Fkbd> \u003Ckbd>C\u003C\u002Fkbd> | Quit |\n\n\u003C\u002Fdetails>\n\nOther commands:\n\n```sh\ncloofy play \u003Curi or link>   # play a Spotify or YouTube link without the interface; --shuffle to shuffle\ncloofy connect              # Spotify: wait as a Spotify Connect device until an app picks it\ncloofy login ytmusic        # sign in to one service: spotify or ytmusic\ncloofy login --force        # sign in again\ncloofy logout ytmusic       # sign out of YouTube Music\ncloofy doctor               # check what each service can reach\ncloofy omarchy install      # set cloofy up in Omarchy\ncloofy update               # update to the latest release\n```\n\n## Updates\n\nWhen a new release is out, an update button shows in the top bar. Click it or press \u003Ckbd>U\u003C\u002Fkbd>: cloofy downloads the release, checks it against its published checksum and puts it in place of itself, then the same button restarts it. `cloofy update` does the same without the interface. An update keeps the build you have: Spotify, YouTube Music or both. Where cloofy can't write to its own folder, such as `\u002Fusr\u002Flocal\u002Fbin`, update with the installer.\n\nInstalled with Homebrew, mise, a system package or Nix, cloofy leaves its updates to that tool: the button shows the new version, and clicking it or `cloofy update` tells you how to update, such as `brew upgrade cloofy`.\n\n## Settings\n\n\u003Ckbd>,\u003C\u002Fkbd>, the command palette, or a click on your name in the top bar opens the Settings page: crossfade, cover art and how covers are drawn, the colors, the accent color, icons, power saving, song notifications and update checks. Changes apply at once and cloofy saves them in `~\u002F.config\u002Fcloofy\u002Fconfig.toml`, so there's no need to edit the file. You still can; it's read at start:\n\n```toml\nclient_id = \"your client id\"\nservices = [\"ytmusic\"]     # \"spotify\", \"ytmusic\" or both, in the switch's order; every one built in when missing\ncrossfade = 6              # seconds tracks overlap, 0 to 12; off when missing\ncovers = false             # no cover art, for slower computers; on when missing\ncolors = \"terminal\"        # \"cloofy\" or \"terminal\"; Omarchy's theme there, cloofy's own elsewhere, when missing\naccent = \"violet\"          # \"theme\", \"green\", \"violet\", \"pink\", \"blue\" or \"orange\"; follows the cover when missing\nimages = \"blocks\"          # \"kitty\", \"sixel\", \"iterm2\" or \"blocks\"; detected from the terminal when missing\nicons = \"nerd\"             # \"nerd\" or \"text\"; detected from the terminal when missing\npower_saving = \"on\"        # \"on\" or \"off\"; follows the system when missing\nnotifications = false      # no desktop notifications for new tracks; on when missing\nupdate_check = false       # don't look for new releases at start; on when missing\ncredentials = \"keychain\"   # macOS: sign-ins in the Keychain instead of files (only here)\n```\n\nThe installer writes `services` with what you listen to. One config file serves every build, so a build leaves out the services it doesn't have. The `\"theme\"` accent is the one of the colors in use: `theme.toml`'s when it sets one, else the Omarchy theme's with Colors on Auto, and cloofy's green otherwise, also with Terminal.\n\ncloofy draws with its own dark colors, or with Omarchy's theme. With Colors set to Terminal, it takes your terminal's background and text instead, with the shades in between. To pick colors yourself, put any of `bg`, `surface`, `player`, `raised`, `text`, `muted`, `faint`, `accent` and the [others](integrations\u002Fomarchy\u002Fcloofy.toml.tpl) in `~\u002F.config\u002Fcloofy\u002Ftheme.toml`, as `bg = \"#2b0a3d\"`; they go over whichever colors are set, and cloofy follows the file as you edit it.\n\nPower saving stops animations and redraws less often. Unless set otherwise, it turns on by itself with Low Power Mode on macOS and the Power Saver profile on Linux.\n\nInside tmux, notifications need `set -g focus-events on`, and the terminal's own also `set -g allow-passthrough all`, in `~\u002F.tmux.conf`. With `credentials = \"keychain\"`, cloofy moves its sign-ins into the macOS Keychain on the next start; macOS asks once after each update, because release builds aren't signed yet.\n\ncloofy keeps its sign-ins (unless they are in the Keychain) and its session in `~\u002F.local\u002Fshare\u002Fcloofy`, and its caches and log in `~\u002F.cache\u002Fcloofy`.\n\n## Omarchy\n\nOn [Omarchy](https:\u002F\u002Fomarchy.org), cloofy takes its colors from the theme and follows it when you switch, without a restart. Song notifications come from the desktop with the cover, in any terminal, and a click on one brings cloofy to the front. `cloofy omarchy install` adds the rest, and the installer offers to run it:\n\n- **Bar widget.** Next to the clock: the service, a small equalizer while a song plays, and the title and artist, which scroll by when they don't fit. A click opens a card with the cover, the position, the controls and the volume. Middle click plays or pauses, right click brings cloofy to the front, and scrolling skips. Its settings in Omarchy choose the width, whether long titles scroll or fade out, and whether it shows while cloofy isn't open.\n- **Theme.** A template Omarchy renders for every theme. Edit it in `~\u002F.config\u002Fomarchy\u002Fthemed\u002Fcloofy.toml.tpl` to change how every theme looks in cloofy, or give a theme its own `cloofy.toml`.\n- **Menu.** Music in the Omarchy menu: open cloofy, play or pause, next and previous.\n- **Launcher.** cloofy with its icon in the app launcher. It opens cloofy, or brings it to the front.\n- **Super+Shift+M.** Opens cloofy instead of Spotify, if you say yes or add `--bind-music-key`.\n\n`cloofy omarchy status` shows what is set up, and `cloofy omarchy remove` takes out exactly what `install` added. Running `install` again changes nothing, and running the installer again brings it up to date.\n\n## Terminals\n\n| Terminal | Cover art | Icons | Notifications |\n| --- | --- | --- | --- |\n| Ghostty, kitty, WezTerm | Real images | Built in | Yes |\n| iTerm2 | Real images | With a Nerd Font | Yes |\n| foot, Konsole, VS Code, xterm, mlterm | Real images | With a Nerd Font | On Linux |\n| Windows Terminal | Real images | With a Nerd Font | No |\n| Others | Real images with Sixel, else blocks | With a Nerd Font | On Linux |\n\nEvery terminal needs true color. Without a Nerd Font, pick text icons in Settings. VS Code shows images once `terminal.integrated.enableImages` is on, xterm when started with `-ti 340`, and Windows Terminal from version 1.22. Inside tmux, covers are real images in Ghostty and kitty and blocks elsewhere, because tmux keeps only a few Sixel images at a time. On Linux, terminals without notifications of their own get them from the desktop, with the cover, and on Hyprland and Omarchy every terminal does.\n\n## FAQ\n\n\u003Cdetails>\n\u003Csummary>\u003Cb>Why do I need my own Spotify app?\u003C\u002Fb>\u003C\u002Fsummary>\n\nSpotify gives its Web API, which cloofy reads your library and searches through, only to registered apps. Apps in development mode are limited to a handful of users, so one shared app couldn't serve everyone. Yours is free and only yours, and the installer sets it up with you.\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>\u003Cb>Does Spotify work with a free account?\u003C\u002Fb>\u003C\u002Fsummary>\n\nNo. Outside its own apps, Spotify streams only to Premium accounts.\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>\u003Cb>Do I need YouTube Premium?\u003C\u002Fb>\u003C\u002Fsummary>\n\nNo. YouTube Music plays without any account, and signing in only adds your library and likes: cloofy gets every song's stream the same way either way, without your sign-in.\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>\u003Cb>Why mpv and yt-dlp?\u003C\u002Fb>\u003C\u002Fsummary>\n\nYouTube protects its audio streams with challenges that only a JavaScript runtime can solve. yt-dlp solves them, with deno, and an older yt-dlp gets no streams at all, so keep it up to date. mpv plays what yt-dlp finds, and cloofy hands it the next song ahead of time, so there's no gap. cloofy starts mpv in the background without your `mpv.conf` or scripts, and mpv quits with cloofy, even when cloofy crashes.\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>\u003Cb>Is signing in to YouTube Music with my browser's cookies safe?\u003C\u002Fb>\u003C\u002Fsummary>\n\n`cloofy login ytmusic` has yt-dlp export the browser's cookies into a private folder, keeps only youtube.com's, and deletes the export right away. They stay in `~\u002F.local\u002Fshare\u002Fcloofy\u002Fytmusic\u002Fcookies.txt`, which only you can read, or in the macOS Keychain with `credentials = \"keychain\"`. cloofy sends them only to music.youtube.com, with its own requests there; streams, covers and lyrics from LRCLIB load without them. They are a signed-in session like the browser's, so treat the file like a password. `cloofy logout ytmusic` deletes it.\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>\u003Cb>Do the media keys work on Linux, or do I need playerctl?\u003C\u002Fb>\u003C\u002Fsummary>\n\nOn GNOME, KDE and other desktops with media controls they work right away, through MPRIS. On bare window managers like Sway, i3 or Hyprland, the keys need a binding, usually to playerctl. Omarchy binds them already.\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>\u003Cb>What does cloofy send where?\u003C\u002Fb>\u003C\u002Fsummary>\n\nRequests to Spotify and YouTube Music, for the services you use, and to [LRCLIB](https:\u002F\u002Flrclib.net) for lyrics they don't have. For YouTube Music, yt-dlp and mpv fetch the streams from YouTube. cloofy also asks GitHub for new releases, unless `update_check = false`. Nothing else: no telemetry, no server of its own.\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>\u003Cb>How does it work?\u003C\u002Fb>\u003C\u002Fsummary>\n\nSpotify playback runs through a [fork of librespot](https:\u002F\u002Fgithub.com\u002Fparda21\u002Flibrespot\u002Ftree\u002Fcloofy) that adds the DJ and crossfade from two open upstream pull requests. Your library and search come from the Web API through your own app. Home, artist pages and the DJ use Spotify's internal APIs, the same ones its own apps use.\n\nYouTube Music's pages, search, lyrics and your library come from InnerTube, the API music.youtube.com itself uses. yt-dlp finds each song's stream, and mpv plays it.\n\nSpotify's internal APIs and InnerTube are not public and may change without notice.\n\u003C\u002Fdetails>\n\n## Thanks\n\nTo [librespot](https:\u002F\u002Fgithub.com\u002Flibrespot-org\u002Flibrespot) for playing Spotify outside Spotify, including the open pull requests for the [DJ](https:\u002F\u002Fgithub.com\u002Flibrespot-org\u002Flibrespot\u002Fpull\u002F1797) and [crossfade](https:\u002F\u002Fgithub.com\u002Flibrespot-org\u002Flibrespot\u002Fpull\u002F1756); to [yt-dlp](https:\u002F\u002Fgithub.com\u002Fyt-dlp\u002Fyt-dlp) and [mpv](https:\u002F\u002Fmpv.io) for playing YouTube Music; to [ratatui](https:\u002F\u002Fratatui.rs), [ratatui-image](https:\u002F\u002Fgithub.com\u002Fratatui\u002Fratatui-image) and [tachyonfx](https:\u002F\u002Fgithub.com\u002Fjunkdog\u002Ftachyonfx) for the interface; and to [@yk-sgr](https:\u002F\u002Fgithub.com\u002Fyk-sgr) for everything that makes cloofy feel at home on macOS.\n\ncloofy is not affiliated with Spotify or YouTube. It is [MIT](LICENSE) licensed.\n\n---\n\n\u003Cp align=\"center\">\u003Csub>\n  \u003Cb>Was this repo created with the help of AI?\u003C\u002Fb> Yes.\u003Cbr>\n  \u003Cb>Do I care, as long as it works?\u003C\u002Fb> No.\n\u003C\u002Fsub>\u003C\u002Fp>\n","cloofy 是一款在终端中运行的开源音乐播放器，原生支持 Spotify 和 YouTube Music 双平台。它基于 librespot 实现 Spotify Connect 设备功能，可作为独立播放源并同步控制其他设备；YouTube Music 通过集成 mpv 播放器支持（含免登录模式）。核心特性包括：终端内实时渲染高清封面图、精准同步歌词、完整鼠标交互、Home 页面与 DJ 模式（Spotify）、双平台切换及侧边栏库管理。适用于 Linux\u002FmacOS 环境下追求高效、低资源占用且无需图形界面的开发者或 CLI 爱好者日常听音场景。",2,"2026-11-24 04:34:21","CREATED_QUERY"]