{"id":24755131,"url":"https://github.com/asvvvad1/cply","last_synced_at":"2026-01-19T06:33:09.518Z","repository":{"id":57528957,"uuid":"256401830","full_name":"asvvvad1/cply","owner":"asvvvad1","description":"Search and copy lyrics from your terminal","archived":false,"fork":false,"pushed_at":"2020-05-15T06:58:44.000Z","size":31,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-07T11:11:37.035Z","etag":null,"topics":["command-line","cross-platform","genius","go","go-cli","golang","lyrics","lyrics-fetcher","lyrics-search","terminal"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/asvvvad1.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":"2020-04-17T04:33:23.000Z","updated_at":"2023-10-30T13:52:28.000Z","dependencies_parsed_at":"2022-09-10T23:02:03.660Z","dependency_job_id":null,"html_url":"https://github.com/asvvvad1/cply","commit_stats":null,"previous_names":["asvvvad/cply"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/asvvvad1/cply","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asvvvad1%2Fcply","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asvvvad1%2Fcply/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asvvvad1%2Fcply/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asvvvad1%2Fcply/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/asvvvad1","download_url":"https://codeload.github.com/asvvvad1/cply/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asvvvad1%2Fcply/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28562405,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-19T03:31:16.861Z","status":"ssl_error","status_checked_at":"2026-01-19T03:31:15.069Z","response_time":67,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["command-line","cross-platform","genius","go","go-cli","golang","lyrics","lyrics-fetcher","lyrics-search","terminal"],"created_at":"2025-01-28T12:35:51.294Z","updated_at":"2026-01-19T06:33:09.504Z","avatar_url":"https://github.com/asvvvad1.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cply\nSearch and copy lyrics from your terminal\nThis version is a rewrite of my [PHP script](https://github.com/asvvvad/cply-php) in Go\n\n## Requirements/Platforms\n\nI only tested it on a ubuntu based distro but it work on all others including BSD and MacOS and Windows\n\n\u003e Linux users need `xclip` or `xsel` to be installed for the copying to work\n\n\u003e Wayland users need [wl-clipboard](https://github.com/bugaevc/wl-clipboard)\n\n\u003e It _should_ work on Termux but not tested.\n\n## Install\n\n\u003e If you use a Linux based OS with amd64 architecture you can download a pre-build and min-sized binary from [releases](https://github.com/asvvvad/cply/releases/)\n\nFirst, generate an api token for the search functionality (required): https://genius.com/api-clients\n\nThen, set it in the environment variable `$CPLY_TOKEN` which you should keep in your `~/.profile`\n\nTo do that add:  `export CPLY_TOKEN=access_token_here` to end of that file\n\n\u003e changes to that file will only happen when you log out and log in againbut you can run `source ~/.profile` in the shell to test it\n\nFinally just run this command\n```bash\ngo install github.com/asvvvad/cply\n```\n\n## Usage:\n  - `cply song name and/or artist` search for \"song name and/or artist\" and gives you results to select from (max. 10)\n  - - To select a song simply type its number in the input and press enter, to choose the first one press enter directly or:\n\n  - `cply -first|-1 song name and/or artist` search for \"song name and/or artist\" then fetch and copy the first result directly\n  - - This can be made default by setting the `$CPLY_FIRST` variable\n\n  - `cply -print|-p song name and/or artist` search for \"song name and/or artist\" print the lyrics instead of just copying\n  - - This can be made default by setting the `$CPLY_PRINT` variable\n  - - `cply -print|-p -no-color|-n song name and/or artist` print without highlighting (Making the [Chorus] ect yellow)\n  - - - This can be made default by setting the `$CPLY_NOCOLOR` variable\n\n  - `cply -1 -p song name and/or artist` search, select first result (if there is), copy it and print.\n \n### ASCIICAST\n[![asciicast](https://asciinema.org/a/321229.svg)](https://asciinema.org/a/321229)\n\n### Modules used:\n- [tsirysndr/go-genius](https://github.com/tsirysndr/go-genius)\n- [bigheadgeorge/lyrics/genius](https://github.com/bigheadgeorge/lyrics)\n- [wzshiming/ctc](https://github.com/wzshiming/ctc)\n- [atotto/clipboard](https://github.com/atotto/clipboard)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasvvvad1%2Fcply","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fasvvvad1%2Fcply","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasvvvad1%2Fcply/lists"}