From 8571f94db79d118bf5a2c62a713bb96e5deb9330 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Mon, 7 Apr 2025 13:59:25 -0500 Subject: docs --- docs/config.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'docs/config.md') diff --git a/docs/config.md b/docs/config.md index 92798196..a582c783 100644 --- a/docs/config.md +++ b/docs/config.md @@ -683,11 +683,13 @@ soulseek: | Command-Line | Environment Variable | Description | | -------------------- | -------------------------- | --------------------------------------------- | | `--slsk-description` | `SLSKD_SLSK_DESCRIPTION` | The user description for the Soulseek network | +| `--slsk-picture` | `SLSKD_SLSK_PICTURE` | The user picture for the Soulseek network | #### **YAML** ```yaml soulseek: description: A slskd user. https://github.com/slskd/slskd + picture: path/to/slsk-profile-picture.jpg ``` ## Connection Options -- cgit v1.2.3 From 166373e80e740f8de5867a823551461d75c57bec Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Mon, 7 Apr 2025 14:47:08 -0500 Subject: add note about NS compat --- docs/config.md | 3 +++ 1 file changed, 3 insertions(+) (limited to 'docs/config.md') diff --git a/docs/config.md b/docs/config.md index a582c783..c83e26c7 100644 --- a/docs/config.md +++ b/docs/config.md @@ -680,6 +680,9 @@ soulseek: ## Other +Users can configure "profile" information for other users on the network to view, including a description and a photo. Note that Soulseek NS doesn't support .PNG, +so formats .JPG/.JPEG, .GIF, and .BMP are advised. + | Command-Line | Environment Variable | Description | | -------------------- | -------------------------- | --------------------------------------------- | | `--slsk-description` | `SLSKD_SLSK_DESCRIPTION` | The user description for the Soulseek network | -- cgit v1.2.3 From d162f88fee0566705439b38f58743dffd917fdad Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Mon, 7 Apr 2025 19:45:33 -0500 Subject: remove erroneous mention of --generate-api-key --- docs/config.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/config.md') diff --git a/docs/config.md b/docs/config.md index c83e26c7..78d1db48 100644 --- a/docs/config.md +++ b/docs/config.md @@ -853,7 +853,7 @@ The JWT TTL option determines how long issued JWTs are valid, defaulting to 7 da API keys can be configured to allow for secure communication without requiring the caller to obtain a JWT by signing in with a username and password. Each key must be given a name and a key with a length between 16 and 255 characters (inclusive). Callers may then supply one of the configured keys in the `X-API-Key` header when making web requests. Remember that API keys are secrets, so keep them safe. -You can generate a random, 32 bit API key by starting the application with `-k` or `--generate-api-key` at the command line. +You can generate a random, 32 bit API key by starting the application with `-k` or `--generate-secret` at the command line. An optional comma separated list of [CIDRs](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) can be defined for each key, which will restrict usage of the key to callers with a remote IP address that falls within one of the defined CIDRs. The default CIDR list for each key is `0.0.0.0/0,::0`, which applies to any IP address (IPv4 or IPv6). -- cgit v1.2.3