diff options
| author | JP Dillingham <jp@dillingham.me> | 2025-05-03 17:53:30 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-03 17:53:30 -0500 |
| commit | a87b58ae5d09a127f7d5eb5d1908a3f083dfe1f7 (patch) | |
| tree | 6739f38224a4e5f649092fdd3cc6f3772b7d0270 /docs | |
| parent | 207a645006f75a0fb96f2a1b6a72017f94d42c80 (diff) | |
| parent | 7b99d3339154972eed0f04beef5a91678e5a0efb (diff) | |
| download | slskd-a87b58ae5d09a127f7d5eb5d1908a3f083dfe1f7.tar.gz | |
Merge branch 'master' into migrations
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/config.md | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/docs/config.md b/docs/config.md index a626cb4b..cf7fb9a3 100644 --- a/docs/config.md +++ b/docs/config.md @@ -680,14 +680,19 @@ 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 | +| `--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 @@ -848,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). |
