{"id":20765798,"url":"https://github.com/hakerdefo/cmus-lyrics","last_synced_at":"2025-09-05T10:34:51.217Z","repository":{"id":31548455,"uuid":"35113078","full_name":"hakerdefo/cmus-lyrics","owner":"hakerdefo","description":"Fetches lyrics of current song playing in cmus music player.","archived":false,"fork":false,"pushed_at":"2023-01-12T16:31:30.000Z","size":32,"stargazers_count":50,"open_issues_count":2,"forks_count":10,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-30T10:02:28.763Z","etag":null,"topics":["bash","cmus","cmus-music-player","linux","lyrics","lyrics-fetcher","lyrics-finder","script","shell"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hakerdefo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-05-05T17:09:14.000Z","updated_at":"2025-02-15T10:00:09.000Z","dependencies_parsed_at":"2023-01-14T19:17:43.689Z","dependency_job_id":null,"html_url":"https://github.com/hakerdefo/cmus-lyrics","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hakerdefo%2Fcmus-lyrics","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hakerdefo%2Fcmus-lyrics/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hakerdefo%2Fcmus-lyrics/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hakerdefo%2Fcmus-lyrics/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hakerdefo","download_url":"https://codeload.github.com/hakerdefo/cmus-lyrics/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253540461,"owners_count":21924522,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bash","cmus","cmus-music-player","linux","lyrics","lyrics-fetcher","lyrics-finder","script","shell"],"created_at":"2024-11-17T11:19:00.494Z","updated_at":"2025-05-11T08:33:59.398Z","avatar_url":"https://github.com/hakerdefo.png","language":"Shell","funding_links":["https://paypal.me/hakerdefo","https://www.buymeacoffee.com/hakerdefo","https://liberapay.com/hakerdefo/donate"],"categories":[],"sub_categories":[],"readme":"# cmus-lyrics\n**cmus-lyrics** is a simple bash script that fetches the lyrics of current song playing in [CMus] (C* Music Player).\n\n\n### Dependencies :\n- Perl - [Perl] (Practical Extraction and Reporting Language) originally developed by Larry Wall is a family of high-level, general-purpose, interpreted, dynamic programming languages. `Perl` is available in repositories of almost every Linux distribution under the sun. Use your distribution's package manager to install it. Perl Module [URI::Escape] is also needed.\n\n- Wget - [Wget] is a free software package for retrieving files using HTTP, HTTPS and FTP, the most widely-used Internet protocols. Most Linux distributions have Wget in their package repositories so you can easily install `Wget` via the package manager of your distribution in case it is not installed on your system.\n\n\n### Installation :\nVery easy.\n\nObtain sudo privileges and download [cmus-lyrics-master.zip],\n\n```sh\nsudo -s\nwget --content-disposition https://github.com/hakerdefo/cmus-lyrics/archive/master.zip\n```\n\nExtract it,\n\n```sh\nunzip cmus-lyrics-master.zip\n```\n\nMake **cmus-lyrics** executable and copy it to **/usr/local/bin/** directory,\n\n ```sh\nchmod 755 cmus-lyrics-master/cmus-lyrics\ncp cmus-lyrics-master/cmus-lyrics /usr/local/bin/\n```\n\nAnd finally clean up the leftovers and drop sudo privileges,\n\n```sh\nrm cmus-lyrics-master.zip\nrm -rf cmus-lyrics-master/\nexit\n```\n\n\n### Usage :\nRun **cmus-lyrics** and it will fetch and print lyrics of the song currently playing in CMus.\n\n\n### Bonus :\nYou can enable a few more lyrics providers by installing following optional dependencies,\n- curl - [curl] is a tool to transfer data from or to a server, using one of the supported protocols (DICT, FILE, FTP, FTPS, GOPHER, HTTP, HTTPS, IMAP, IMAPS, LDAP, LDAPS, POP3, POP3S, RTMP, RTSP, SCP, SFTP, SMB, SMBS, SMTP, SMTPS, TELNET and TFTP). `curl` is available in repositories of almost every linux distribution. You can easily install it from your package manager.\n\n- jq - [jq] is like sed for JSON data. You can use jq to slice and filter and map and transform structured data with the same ease that sed, awk, grep and friends let you play with text. `jq` is available in the repositories of Debian, Ubuntu, Fedora, openSUSE, Arch (AUR), FreeBSD (FreshPorts), Solaris (OpenCSW), OS X (Homebrew). Linux and OS X binaries are also available from the Download section of jq website. If you decide to use the jq binary directly from the jq website you will have to rename it after downloading from `jq-linux64` or `jq-linux32` to simply `jq`. In case of OS X rename it to `jq` from `jq-osx-amd64`.\n\n- Glyr - [Glyr] is a search engine for music related metadata. It comes as a command-line interface tool \u0026 a C library. **cmus-lyrics** requires glyrc, which is the command-line interface to libglyr. You can install `glyrc` via your package manager. If your distribution doesn't have it in its repository, you can compile it your self following this [instructions].\n\n\n### Support :\n\nIf you like **cmus-lyrics**, please consider supporting it, even the smallest contribution goes a long way. It is quick \u0026 easy via PayPal, Buy Me a Coffee or Liberapay:  \n\n[![Support via PayPal](https://cdn.jsdelivr.net/gh/twolfson/paypal-github-button@1.0.0/dist/button.svg)](https://paypal.me/hakerdefo)  \n[![\"Buy Me A Coffee\"](https://user-images.githubusercontent.com/1376749/120938564-50c59780-c6e1-11eb-814f-22a0399623c5.png)](https://www.buymeacoffee.com/hakerdefo)  \n[![Support via Liberapay](https://liberapay.com/assets/widgets/donate.svg)](https://liberapay.com/hakerdefo/donate)  \n  \n\n\n### Credits :\n_[Federico Builes] - cmus-lyrics wouldn't have been possible without wonderful [makeitpersonal] created by him._\n\n\n### License :\n[![Public Domain Mark](http://i.creativecommons.org/p/mark/1.0/88x31.png)](http://creativecommons.org/publicdomain/mark/1.0/)  \nThis work (\u003cspan property=\"dct:title\"\u003ecmus-lyrics\u003c/span\u003e, by [\u003cspan property=\"dct:title\"\u003ehakerdefo\u003c/span\u003e](https://github.com/hakerdefo/cmus-lyrics)), identified by [\u003cspan property=\"dct:title\"\u003ehakerdefo\u003c/span\u003e](https://hakerdefo.blogspot.com), is free of known copyright restrictions.\n\n\n[perl]:https://www.perl.org\n[URI::Escape]:http://search.cpan.org/dist/URI/lib/URI/Escape.pm\n[Wget]:https://www.gnu.org/software/wget/\n[cmus-lyrics-master.zip]:https://github.com/hakerdefo/cmus-lyrics/archive/master.zip\n[CMus]:https://cmus.github.io\n[curl]:http://curl.haxx.se\n[jq]:https://stedolan.github.io/jq/\n[Glyr]:https://github.com/sahib/glyr\n[instructions]:https://github.com/sahib/glyr/wiki/Compiling\n[Federico Builes]:https://github.com/febuiles\n[makeitpersonal]:https://github.com/febuiles/makeitpersonal\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhakerdefo%2Fcmus-lyrics","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhakerdefo%2Fcmus-lyrics","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhakerdefo%2Fcmus-lyrics/lists"}