{"id":24076701,"url":"https://github.com/apirogov/hampc","last_synced_at":"2025-10-28T01:45:07.470Z","repository":{"id":21467955,"uuid":"24786462","full_name":"apirogov/hampc","owner":"apirogov","description":"Yet another MPD web client, written in Haskell.","archived":false,"fork":false,"pushed_at":"2014-10-13T16:33:42.000Z","size":552,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-09T20:00:56.417Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/apirogov.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":"2014-10-04T09:58:47.000Z","updated_at":"2014-10-13T16:33:43.000Z","dependencies_parsed_at":"2022-08-21T15:00:57.344Z","dependency_job_id":null,"html_url":"https://github.com/apirogov/hampc","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/apirogov%2Fhampc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apirogov%2Fhampc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apirogov%2Fhampc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apirogov%2Fhampc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/apirogov","download_url":"https://codeload.github.com/apirogov/hampc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240947660,"owners_count":19883031,"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":"2025-01-09T20:00:19.670Z","updated_at":"2025-10-28T01:45:02.422Z","avatar_url":"https://github.com/apirogov.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"hampc - MPD web client\n======================\nWhy?\n---\nThe design is mostly a rip-off of [ympd](https://www.github.com/notandy/ympd), for two reasons:\n\n* I like ympd a lot!\n* I have no good web design skills. Seriously, I suck at it.\n\nThe reason for hampc is:\n\n* ympd lacks some features I would like to have\n* I am learning Haskell and wanted to try it in a web setting with scotty\n\nUnfortunately there is still no feasible solution to \n\"[The JavaScript Problem](http://www.haskell.org/haskellwiki/The_JavaScript_Problem)\", which would\nbe easy and fun to use, while being efficient and working well as a hybrid (desktop/mobile) app,\nso it is raw JS with Bootstrap and JQuery on the client side.\n\n**What differs from ympd:**\n\n* Move items in the Queue with drag\u0026drop\n* You can toggle the available outputs\n* Also works over HTTPS, protecting your MPD password\n* Built-in MPD stream player\n* Works better on mobile devices (tested with Nexus 5)\n* Long-polling instead of websockets\n\nInstallation\n------------\n1. Clone this repository\n1. `cabal install` it (you need the Haskell Platform)\n1. For HTTPS: Create a self-signed certificate as described above (or use another one)\n1. Run `hampc` (`~/.cabal/bin` must be in your `$PATH`!)\n\nCreate self-signed certificate (optional)\n-----------------------------------------\n```\nopenssl genrsa -des3 -out server.key 1024\nopenssl req -new -key server.key -out server.csr\ncp server.key server.key.org\nopenssl rsa -in server.key.org -out server.key\nopenssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt\n```\n\nMissing / TODO\n--------------\n* Support to create and manage playlists\n* Support for queries\n* fix stream glitching when toggling stream pause in firefox, if possible\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapirogov%2Fhampc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapirogov%2Fhampc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapirogov%2Fhampc/lists"}