{"id":16589497,"url":"https://github.com/rnons/lord","last_synced_at":"2025-03-16T21:30:31.109Z","repository":{"id":56846333,"uuid":"11531191","full_name":"rnons/lord","owner":"rnons","description":"A unified interface to online radios using mpd/mplayer as backend","archived":false,"fork":false,"pushed_at":"2015-11-26T06:12:32.000Z","size":791,"stargazers_count":41,"open_issues_count":3,"forks_count":5,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-05-02T00:38:25.264Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://rnons.github.io/lord/","language":"Haskell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rnons.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG","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":"2013-07-19T15:42:44.000Z","updated_at":"2023-12-25T11:07:17.000Z","dependencies_parsed_at":"2022-09-09T01:00:28.776Z","dependency_job_id":null,"html_url":"https://github.com/rnons/lord","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rnons%2Flord","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rnons%2Flord/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rnons%2Flord/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rnons%2Flord/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rnons","download_url":"https://codeload.github.com/rnons/lord/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243830915,"owners_count":20354850,"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":[],"created_at":"2024-10-11T23:09:02.135Z","updated_at":"2025-03-16T21:30:30.859Z","avatar_url":"https://github.com/rnons.png","language":"Haskell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# lord\n\nLord is a unified command line interface to several online radios.\n\nBy default, lord uses [mpd] as backend.\nWhen mpd is available, lord can be run as daemon (default) or in foreground (with `--no-daemon` option).\nWhen mpd is unavailable (not running), lord will fallback to use [mplayer]. Mplayer is run in foreground to allow user controlling playback with mplayer keybindings.\n\nSupported radios:\n\n- [8tracks.com]\n- [cmd.fm]\n- [radioreddit.com]\n- [douban.fm]  Only in China?\n- [jing.fm] Only in China?\n\nLord is on [hackage](http://hackage.haskell.org/package/lord), you can install with\n\n    cabal install lord\n\n## Commands\n\n```\nlord -h\nlord status\nlord toggle\nlord kill\n\nlord 8tracks listen [\u003cmix_id\u003e | \u003cmix_url\u003e] [--no-daemon]\nlord 8tracks search \u003ckeywords\u003e\nlord 8tracks [featured | trending | newest]\n\nlord cmd listen \u003cgenre\u003e [--no-daemon]\nlord cmd genres\n\nlord douban listen [\u003cchannel_id\u003e | \u003calbum_url\u003e | \u003cmusician_url\u003e | \u003cmusician_name\u003e | \u003cprogramme_url] [--no-daemon]\nlord douban search \u003ckeywords\u003e\nlord douban [hot | trending]\n\nlord jing listen \u003ckeywords\u003e [--no-daemon]\n\nlord reddit listen \u003cgenre\u003e [--no-daemon]\nlord reddit genres\n```\n\n### bash completion\n\n\u003e `optparse-applicative` has built-in support for bash completion of command line options and arguments.\n\nWith bash, add to your **.bashrc**:\n\n    source \u003c(lord --bash-completion-script `which lord`)\n\nWith zsh, add to your **.zshrc**:\n\n    autoload bashcompinit\n    bashcompinit\n    source \u003c(lord --bash-completion-script `which lord`)\n\nNOTE: \u003ccode\u003elord --bash-completion-script \\`which lord`\u003c/code\u003e can generate the bash_completion file on the fly. However, you can also use the installed version. The bash_completion file is installed to somewhere like **~/.cabal/share/x86_64-linux-ghc-7.6.3/lord-2.20131220/bash_completion.d/lord**.\n\n[8tracks.com]: http://8tracks.com\n[cmd.fm]: http://cmd.fm\n[radioreddit.com]: http://radioreddit.com\n[douban.fm]: http://douban.fm\n[jing.fm]: http://jing.fm\n[MPD]: http://musicpd.org/\n[mplayer]: http://www.mplayerhq.hu/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frnons%2Flord","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frnons%2Flord","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frnons%2Flord/lists"}