{"id":18256624,"url":"https://github.com/honmaple/meting-api","last_synced_at":"2025-08-20T18:44:55.454Z","repository":{"id":213737458,"uuid":"625588410","full_name":"honmaple/meting-api","owner":"honmaple","description":"MetingJS服务端的Golang实现","archived":false,"fork":false,"pushed_at":"2024-01-13T05:12:52.000Z","size":36,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-20T16:51:59.512Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/honmaple.png","metadata":{"files":{"readme":"README.org","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":"2023-04-09T15:21:42.000Z","updated_at":"2024-11-15T06:59:53.000Z","dependencies_parsed_at":"2024-01-13T09:05:29.740Z","dependency_job_id":"e0114681-5527-4937-9e55-ec8e9c192f2c","html_url":"https://github.com/honmaple/meting-api","commit_stats":null,"previous_names":["honmaple/meting-api"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/honmaple%2Fmeting-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/honmaple%2Fmeting-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/honmaple%2Fmeting-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/honmaple%2Fmeting-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/honmaple","download_url":"https://codeload.github.com/honmaple/meting-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247229087,"owners_count":20904978,"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-11-05T10:22:54.851Z","updated_at":"2025-04-04T18:30:29.864Z","avatar_url":"https://github.com/honmaple.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"** Meting-API\n   使用 *Go* 实现的 *meting-js* 接口，主要用于替换 [[https://github.com/metowolf/MetingJS][MetingJS]] 的默认API, 当前 *支持网易云音乐、网易云音乐API、QQ音乐*\n\n** 使用\n   #+begin_example\n   └──╼ ./meting-api --help\n   NAME:\n      meting-api - meting api\n\n   USAGE:\n      meting-api [global options] command [command options] [arguments...]\n\n   VERSION:\n      0.1.0\n\n   COMMANDS:\n      cache-delete  delete cache from key\n      config        show all config\n      help, h       Shows a list of commands or help for one command\n\n   GLOBAL OPTIONS:\n      --debug, -D                                debug mode (default: false)\n      --addr ADDR, -a ADDR                       listen ADDR\n      --list, -l                                 list music servers (default: false)\n      --config FILE, -c FILE                     load config from FILE (default: \"config.yaml\")\n      --set-config value [ --set-config value ]  set config from string\n      --help, -h                                 show help\n      --version, -v                              print the version\n   #+end_example\n*** 服务端\n    #+begin_example\n    └──╼ ./meting-api -D\n    [DEBUG] GET    /meting                              --\u003e meting-api/internal/app.(*App).aplayer-fm (4 handlers)\n    Listening and serving HTTP on :8000\n    #+end_example\n\n    默认将会使用缓存:\n    - 禁用缓存\n      #+begin_example\n      └──╼ ./meting-api -D --set-config cache.enabled=false\n      └──╼ METING_CACHE_ENABLED=false ./meting-api -D\n      #+end_example\n    - 修改缓存目录(默认为 =./cache=)\n      #+begin_example\n      └──╼ ./meting-api -D --set-config cache.path=\"/tmp/meting-cache\"\n      └──╼ METING_CACHE_PATH=\"/tmp/meting-cache\" ./meting-api -D\n      #+end_example\n    - 修改缓存过期时间(默认为 =3600= 秒)\n      #+begin_example\n      └──╼ ./meting-api -D --set-config cache.ttl=60\n      └──╼ METING_CACHE_TTL=60 ./meting-api -D\n      #+end_example\n\n    如果使用网易云音乐API，需要自行部署 [[https://github.com/Binaryify/NeteaseCloudMusicApi][NeteaseCloudMusicApi]]，并设置\n    #+begin_example\n    └──╼ ./meting-api -D --set-config netease_api.host=https://netease_api.xxx.com\n    └──╼ METING_NETEASE_API_HOST=https://netease_api.xxx.com ./meting-api -D\n    #+end_example\n\n*** 网页端\n    #+begin_src html\n    \u003cmeting-js\n      server=\"netease\"\n      type=\"artist\"\n      id=\"6452\"\u003e\n    \u003c/meting-js\u003e\n    \u003cscript type=\"text/javascript\"\u003e\n      var meting_api='http://localhost:8000/?server=:server\u0026type=:type\u0026id=:id\u0026auth=:auth\u0026r=:r';\n    \u003c/script\u003e\n    \u003cscript src=\"https://cdn.jsdelivr.net/npm/aplayer/dist/APlayer.min.js\"\u003e\u003c/script\u003e\n    \u003cscript src=\"https://cdn.jsdelivr.net/npm/meting@2/dist/Meting.min.js\"\u003e\u003c/script\u003e\n    #+end_src\n\n** 部署\n   #+begin_example\n   docker run --name meting-api --restart=always -d -p 8000:8000 -v /tmp/meting-cache:/opt/meting-api/cache honmaple/meting-api\n   #+end_example","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhonmaple%2Fmeting-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhonmaple%2Fmeting-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhonmaple%2Fmeting-api/lists"}