{"id":24755119,"url":"https://github.com/asvvvad1/cply-php","last_synced_at":"2026-04-21T16:38:07.147Z","repository":{"id":144296154,"uuid":"256112063","full_name":"asvvvad1/cply-php","owner":"asvvvad1","description":"Search lyrics and copy them automatically from the terminal","archived":false,"fork":false,"pushed_at":"2020-04-16T16:42:50.000Z","size":36,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-23T06:13:34.197Z","etag":null,"topics":["clipboard-copy","command-line-tool","genius","genius-api","genius-lyrics","lyrics","lyrics-fetcher","lyrics-scraping","lyrics-search","php","php-cli","terminal"],"latest_commit_sha":null,"homepage":null,"language":"PHP","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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-04-16T04:49:01.000Z","updated_at":"2023-10-30T13:52:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"f529cbd2-2eea-4edd-a1fa-bbfb9066e5ad","html_url":"https://github.com/asvvvad1/cply-php","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/asvvvad1/cply-php","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asvvvad1%2Fcply-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asvvvad1%2Fcply-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asvvvad1%2Fcply-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asvvvad1%2Fcply-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/asvvvad1","download_url":"https://codeload.github.com/asvvvad1/cply-php/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asvvvad1%2Fcply-php/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260318705,"owners_count":22991120,"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":["clipboard-copy","command-line-tool","genius","genius-api","genius-lyrics","lyrics","lyrics-fetcher","lyrics-scraping","lyrics-search","php","php-cli","terminal"],"created_at":"2025-01-28T12:35:23.856Z","updated_at":"2026-04-21T16:38:07.065Z","avatar_url":"https://github.com/asvvvad1.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cply-php\n\nSearch lyrics and copy them automatically from the terminal\n\n## Requirements\n\nUNIX-only: Linux, BSD, MacOS\n\nThis version is written in PHP and it requires PHP and Composer and a unix system, the song selector of [Climax](https://github.com/tucnak/climax) only works on Unix systems. Tested on Ubuntu (elementaryOS) but should work on others aswell.\n\nIt uses my [php clipboard helper](https://github.com/asvvvad/dollaapp-clipboard-php/) which requires `xclip` or `xsel` on Linux and `pbcopy` and `pbpaste` on Darwin\n\n## Install\n\nFirst, create client id, client secret and token from: https://genius.com/api-clients \n\nThen clone this repository and install dependencies using:\n```bash\ngit clone https://github.com/asvvvad/cply-php\ncd cply-php\ncomposer install\n```\nAfter that, edit [cply](cply#L12-L14) with the keys at the begining of the file\n\nNow you can run it using `./cply`\n\nTo install it to the system it requires root you can use:\n```bash\ncd ..\nsudo mv cply-php /usr/local/\nsudo ln -sf /usr/local/cply-php/cply /usr/local/bin\nsudo chmod +x /usr/local/bin/cply\n```\n\n## Usage:\n[![asciicast](https://asciinema.org/a/MAxxbsticff0vDwLbioaV1wI4.svg)](https://asciinema.org/a/MAxxbsticff0vDwLbioaV1wI4)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasvvvad1%2Fcply-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fasvvvad1%2Fcply-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasvvvad1%2Fcply-php/lists"}