A cross-platform private music playback service
This project is under active development and currently provides both a Desktop version and a Web service version.
Grab the latest release and install it from: https://github.com/any-listen/any-listen-desktop/releases
You can deploy it directly to your server, or use Docker for deployment.
Image release: https://hub.docker.com/r/lyswhut/any-listen-web-server
Requirement: Node.js 20+
Download the latest version and extract it to your target directory: https://github.com/any-listen/any-listen-web-server/releases
Refer to https://github.com/lyswhut/lx-music-sync-server for deployment methods. See below for configuration file instructions.
Upgrade steps:
public and server folders in the old project directorypublic and server folders to the project directoryUsage Example:
Create the configuration file data/config.cjs
``js
const config = {
// port: '9500', // Bind port
// bindIp: '127.0.0.1', // Bind IP
// httpLog: true, // Enable HTTP request logging
// 'cors.enabled': false, // Enable CORS
// 'cors.whitelist': [ // Allowed CORS domains, empty array allows all
// // 'www.xxx.com',
// ],
// 'upstreamProxy.enabled': false, // Use proxy for requests
// 'upstreamProxy.header': '', // Proxy request header (e.g.x-real-ip)
// 'extension.ghMirrorHosts': [], // Extension store Github mirror addresses
// httpProxy: '', // Proxy server address, e.g.127.0.0.1:2080`
// Allowed local directories // allowPublicDir: ['G:', 'E:\music'], // Windows example // allowPublicDir: ['/music'], // Linux example password: '123456a', // Login password }
module.exports = config ```
Run the Docker container
Note: The following command is for example only and cannot be used directly!
bash
docker run --volume=/home/music:/music --volume=/data:/server/data -p 8080:9500 -d test:latest
| Variable Name | Description |
|---|---|
PORT |
Bind port, default 9500 |
BIND_IP |
Bind IP, default 127.0.0.1, set to 0.0.0.0 to accept all IPv4 requests, :: for all IPs |
UPSTREAM_PROXY_HEADER |
Proxy request header (e.g. x-real-ip), enables proxy when set |
ALLOW_PUBLIC_DIR |
Allowed local directories, separate multiple with commas |
DATA_PATH |
Data storage path, default ./data |
LOGIN_PWD |
Login password |
CONFIG_PATH |
Config file path, default ./data/config.js |
LOG_PATH |
Log storage path, default ./data/logs |
EXTENSION_GH_MIRROR_HOSTS |
Extension store Github mirror addresses, separate multiple with commas |
HTTP_PROXY |
Proxy server, e.g. 127.0.0.1:2080 |
pnpm install
pnpm run build:web
cd build
mkdir data
# Create config file config.cjs
node index.cjs
PRs are welcome! To ensure your PR can be merged smoothly, please note the following:
Steps to contribute:
dev branch for development;dev branch.This project is licensed under the Affero General Public License (AGPL) v3.0 with the following additional terms:
$ claude mcp add any-listen \
-- python -m otcore.mcp_server <graph>