These docs describe the 4.0 beta. Using 3.x? Read the 3.x manual
Skip to content

Daemon and remote CLI ​

text
sockseek daemon --help          Start and configure the daemon
sockseek database --help        Maintain an offline database
sockseek auth --help            Manage credentials and API keys
sockseek chat --help            Read and send private messages
sockseek room --help            Join rooms and manage room messages and members
sockseek notifications --help   List notifications
sockseek notification --help    Mark notifications as read
sockseek share --help           Inspect and scan shared files
sockseek transfers --help       List transfers and manage them in bulk
sockseek transfer --help        Cancel or remove an individual transfer

Remote CLI Options ​

text
--remote <url>                  Connect to the daemon at this URL (required unless configured)
--remote-api-key-file <path>    Read the API key from a file (preferred)
--remote-api-key <key>          Supply the API key inline

--json                          Print chat, room, notification, share and transfer results as JSON
--limit <n>                     Maximum entries for chat, room, notification and transfer lists

--detach                        Submit a download, print its workflow ID and exit
--monitor                       Monitor all active workflows until interrupted
                                Supply an input to submit it and monitor all daemon work

Daemon Options ​

text
sockseek daemon                 Start the HTTP/SignalR daemon
--server-ip <ip>                IP/interface for the daemon HTTP API (default: 127.0.0.1)
--server-port <port>            Port for the daemon HTTP API (default: 5030)
--data-dir <path>               Directory for daemon data, including sockseek.db
--no-config-watch               Disable automatic daemon config-file reload
--no-docs                       Disable the bundled manual at /docs/
--no-update-check               Do not ask GitHub daily whether a newer release exists

WebUI and Access ​

text
--web-username <name>           WebUI login name (default: admin)
--web-password-file <path>      WebUI password file (required unless a hash or --no-auth is set)
--web-password-hash <hash>      WebUI password hash generated by sockseek auth hash-password
--web-session-lifetime <time>   Fixed session duration (default: 7.00:00:00)
--trusted-proxies <ips>         Forwarding proxy IPs, comma-separated (default: 127.0.0.1,::1).
                                Prefix with '+ ' to append one address.
--allow-http-auth               Permit plaintext HTTP credentials/cookies (default: false)
--no-auth                       Grant anonymous full access (default: false)

--web-ui-dir <path>             Serve a custom WebUI from this directory (requires restart)
--web-theme <theme>             WebUI theme: flat (default), soft, 2009
--web-color-scheme <scheme>     WebUI color scheme: dark (default), light, auto (follow the browser)
--web-default-search-mode <mode>
                                generic, track, album (default), song-groups, album-groups
--web-default-sort <sort>       Default sort for search results: relevance (default), upload-speed,
                                queue-depth. Modes without that sort use relevance.

Sharing, Uploads and Chat ​

text
--share <path|[alias]path>      Share a local directory, optionally under an alias.
                                The share root may be a symlink. Prefix with '+ ' to append.
--share-exclude <path>          Exclude a local directory and its contents from shares.
                                Prefix with '+ ' to append.
--share-filter <regex>          Exclude files and directories whose remote relative paths
                                match the pattern (case-insensitive). Prefix with '+ ' to append.
--upload-blocked-user <names>   Block these users' access to your shares. Separate names with commas.
                                Prefix with '+ ' to append one exact name.
--upload-blocked-ip <addresses> Block access to your shares from these comma-separated IP addresses.
                                Prefix with '+ ' to append one address.
--private-message-blocked-user <names>
                                Discard private messages from these users. Separate names with commas.
                                Prefix with '+ ' to append one exact name.
--chat-room <names>             Join these rooms on connect. Separate names with commas.
                                Prefix with '+ ' to append one exact name.

--share-search-result-limit <n> Max files sent per peer search reply (default: 500, 0 disables replies)
--share-scan-on-start <bool>    Scan configured shares when the daemon starts (default: true)
--share-rescan-interval <time>  Periodic rescan interval (for example 30m, 12h, or off;
                                default: off)
--upload-slots <num>            Maximum concurrent uploads (default: 10)
--upload-speed-limit-kib <n>    Aggregate upload limit in KiB/s (default: unlimited)

History Retention ​

text
--no-retention                  Disable scheduled history retention
--successful-job-retention-days <days|forever>
                                Successful job retention (default: forever)
--unsuccessful-job-retention-days <days|forever>
                                Failed, cancelled, and interrupted job retention (default: forever)
--transfer-retention-days <days|forever>
                                Transfer history, attempts and byte accounting retention (default: forever)
--search-result-retention-days <days|forever>
                                Raw search-result retention (default: 30)
--private-message-retention-days <days|forever>
                                Private-message retention (default: forever)
--room-message-retention-days <days|forever>
                                Room-message retention (default: 30)

Offline database maintenance ​

text
sockseek database migrate      Update the offline database to the current schema
sockseek database integrity    Check an offline database for corruption
sockseek database backup       Create and verify an offline backup
sockseek database restore      Verify and restore an offline backup
--data-dir <path>               Override the configured/default data directory
--backup <path>                 Backup destination for `backup`, source for `restore`

Authentication ​

text
sockseek auth hash-password       Generate a WebUI password hash locally
  --web-password-file <path>      Read the password from a file (default: prompt or stdin)

sockseek auth keys list           List API keys locally or on a running daemon
sockseek auth keys create <name>  Create a named key and print its secret once
sockseek auth keys revoke <id>    Revoke an API key
  --data-dir <path>               Key database directory for offline use (stop the daemon first)

User Profiles ​

text
sockseek user profile <username>  Show a peer's profile and sharing statistics
  --refresh                       Fetch new profile data
  --picture <mode>                Picture mode: auto|sixel|pixels|none; auto probes
                                  terminal support (default: auto)

Private messages ​

text
sockseek chat status                Show chat status
sockseek chat conversations [--unread]
                                    List private conversations
sockseek chat messages <username>   Read a conversation
sockseek chat send <username> <message>
                                    Send a private message
sockseek chat read <username> [--through <message-id>]
                                    Mark a conversation as read
sockseek chat delete <username>     Permanently delete a conversation and its messages

Chat rooms ​

text
sockseek room available|joined      List available or joined rooms
sockseek room join <name> [--no-remember]
                                    Join a room
sockseek room leave <name>          Leave a room
sockseek room messages|members <name>
                                    List messages or members
sockseek room send <name> <message> Send a room message
sockseek room member add <name> <username>
                                    Add a private room member

Notifications ​

text
sockseek notifications [--unread]   List notifications
text
sockseek notification read <id|all> Mark one or all notifications as read

Shares ​

text
sockseek share status               Show the state of the share catalog
sockseek share scan [--cancel]      Start or cancel a scan

Transfers ​

text
sockseek transfers                  List transfers
  --direction upload|download       Filter by transfer direction
  --phase <phase>                   Filter by transfer phase
  --outcome <outcome>               Filter by terminal outcome
  --username <name>                 Filter by peer
  --include-removed                 Include transfers removed from history
  --cursor <cursor>                 Continue from an earlier page

sockseek transfers cancel --direction upload|download
  --scope all|queued|in-progress    Select transfers to cancel (default: all)
sockseek transfers remove           Remove matching transfers from history
  --direction upload|download       Filter by transfer direction
  --outcome <outcome>               Filter by terminal outcome
  --username <name>                 Filter either bulk action by peer
  --group-ref <ref>                 Limit either bulk action to a group (requires --username and --direction)
text
sockseek transfer cancel|retry|remove <id>
                                    Cancel one transfer or remove it from history
sockseek job rerun <id>             Run a job again, reading its source (link, file path) as it is now
  --exact                           Run the items saved with the job instead of reading the source
sockseek job retry-directory <id>   Download the files a folder job is still missing