slsk-reborn 0.3.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- slsk_reborn-0.3.1/LICENSE +21 -0
- slsk_reborn-0.3.1/PKG-INFO +209 -0
- slsk_reborn-0.3.1/README.md +188 -0
- slsk_reborn-0.3.1/pyproject.toml +34 -0
- slsk_reborn-0.3.1/setup.cfg +4 -0
- slsk_reborn-0.3.1/slsk_reborn/__init__.py +1 -0
- slsk_reborn-0.3.1/slsk_reborn/__main__.py +3 -0
- slsk_reborn-0.3.1/slsk_reborn/app.py +467 -0
- slsk_reborn-0.3.1/slsk_reborn/app.tcss +568 -0
- slsk_reborn-0.3.1/slsk_reborn/cli.py +124 -0
- slsk_reborn-0.3.1/slsk_reborn/config.py +85 -0
- slsk_reborn-0.3.1/slsk_reborn/demo.py +274 -0
- slsk_reborn-0.3.1/slsk_reborn/engine.py +551 -0
- slsk_reborn-0.3.1/slsk_reborn/fallback.py +66 -0
- slsk_reborn-0.3.1/slsk_reborn/panes/__init__.py +7 -0
- slsk_reborn-0.3.1/slsk_reborn/panes/browse.py +177 -0
- slsk_reborn-0.3.1/slsk_reborn/panes/chat.py +258 -0
- slsk_reborn-0.3.1/slsk_reborn/panes/search.py +608 -0
- slsk_reborn-0.3.1/slsk_reborn/panes/shares.py +206 -0
- slsk_reborn-0.3.1/slsk_reborn/panes/tracklist.py +258 -0
- slsk_reborn-0.3.1/slsk_reborn/panes/transfers.py +260 -0
- slsk_reborn-0.3.1/slsk_reborn/player.py +307 -0
- slsk_reborn-0.3.1/slsk_reborn/playerbar.py +77 -0
- slsk_reborn-0.3.1/slsk_reborn/screens.py +578 -0
- slsk_reborn-0.3.1/slsk_reborn/theme.py +89 -0
- slsk_reborn-0.3.1/slsk_reborn/tracklist.py +154 -0
- slsk_reborn-0.3.1/slsk_reborn/util.py +110 -0
- slsk_reborn-0.3.1/slsk_reborn.egg-info/PKG-INFO +209 -0
- slsk_reborn-0.3.1/slsk_reborn.egg-info/SOURCES.txt +34 -0
- slsk_reborn-0.3.1/slsk_reborn.egg-info/dependency_links.txt +1 -0
- slsk_reborn-0.3.1/slsk_reborn.egg-info/entry_points.txt +2 -0
- slsk_reborn-0.3.1/slsk_reborn.egg-info/requires.txt +7 -0
- slsk_reborn-0.3.1/slsk_reborn.egg-info/top_level.txt +1 -0
- slsk_reborn-0.3.1/tests/test_app.py +461 -0
- slsk_reborn-0.3.1/tests/test_fallback.py +37 -0
- slsk_reborn-0.3.1/tests/test_tracklist.py +62 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 avtii
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,209 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: slsk-reborn
|
|
3
|
+
Version: 0.3.1
|
|
4
|
+
Summary: A modern, good-looking terminal Soulseek client: search, download, share, browse and chat.
|
|
5
|
+
License-Expression: MIT
|
|
6
|
+
Keywords: soulseek,p2p,tui,textual,music
|
|
7
|
+
Classifier: Environment :: Console
|
|
8
|
+
Classifier: Programming Language :: Python :: 3
|
|
9
|
+
Classifier: Topic :: Multimedia :: Sound/Audio
|
|
10
|
+
Classifier: Topic :: Communications :: File Sharing
|
|
11
|
+
Requires-Python: >=3.11
|
|
12
|
+
Description-Content-Type: text/markdown
|
|
13
|
+
License-File: LICENSE
|
|
14
|
+
Requires-Dist: aioslsk>=1.7
|
|
15
|
+
Requires-Dist: textual>=1.0
|
|
16
|
+
Requires-Dist: miniaudio>=1.59
|
|
17
|
+
Provides-Extra: dev
|
|
18
|
+
Requires-Dist: pytest; extra == "dev"
|
|
19
|
+
Requires-Dist: pytest-asyncio; extra == "dev"
|
|
20
|
+
Dynamic: license-file
|
|
21
|
+
|
|
22
|
+
# slsk-reborn
|
|
23
|
+
|
|
24
|
+
A Soulseek client for the terminal, built on [Textual](https://textual.textualize.io/) and [aioslsk](https://github.com/JurgenR/aioslsk). You can search, download, share, browse users and chat without leaving the terminal.
|
|
25
|
+
|
|
26
|
+

|
|
27
|
+
|
|
28
|
+
## Features
|
|
29
|
+
|
|
30
|
+
- **Search**: each search gets its own tab and results stream in live. Results show a quality badge (green FLAC, bitrate for lossy files), the peer's speed and whether they have a free slot. You can filter as you type (`flac`, `>256`, `-live`) and sort by quality, speed, size or user. One key downloads a file, another downloads the whole album folder. Stop a search with `x` or the Stop button; each search also stops itself at 10,000 files.
|
|
31
|
+
- **Album view**: `a` groups results into one row per folder, with track count, size, format and a completeness mark (`✔` when the track numbers run 1..n without gaps, `9/12` when some are missing). Enter downloads the album.
|
|
32
|
+
- **Tracklists**: paste a list of `Artist - Title` lines (numbers and timestamps are fine) with `ctrl+o` or the **♫ Tracklist** button. Each track is searched, the best copy is picked (right artist and title, no unasked-for remix, best quality, free slot) and queued, and the ♫ tab follows every download. It reads the `tracklist.txt` that [mixgrab](https://github.com/avtii/mixgrab) writes for a YouTube mix: `slsk-reborn --tracklist tracklist.txt`.
|
|
33
|
+
- **Transfers**: downloads and uploads update live with progress bars, speed, ETA and queue place. Keys pause, resume or retry, abort, remove, clear finished transfers and open the folder. Downloads keep the album folder structure. A notification (and terminal bell) says when downloads finish.
|
|
34
|
+
- **Another source**: when a download fails, the same file is looked up at other users (same size, or the same name and nearly the same size) and the best one is queued instead. This happens once by itself; `n` does it by hand, for example when a download is stuck far back in a queue.
|
|
35
|
+
- **Player**: enter on a finished download plays it, and the rest of its folder follows. MP3, FLAC, WAV and OGG play built in; other formats play through mpv or ffplay if one is installed. `space` pauses, `[` `]` seek, `-` `+` change the volume, `<` `>` skip.
|
|
36
|
+
- **Wishlist, friends, blocked users** (`ctrl+l`): wishlist searches are re-run by the server every few minutes and new results open in a ★ tab (`w` adds the current search). Blocked users can't message you, see your searches, browse you or download from you, and their results are hidden. Friend or block anyone from their user card (`i`).
|
|
37
|
+
- **Browse**: opens another user's shares as a folder tree with a file list. Press `d` on a folder to download it and everything below it.
|
|
38
|
+
- **Chat**: rooms with a user list, private messages, unread badges, highlights when someone mentions your name, and `/join` `/leave` `/msg` `/rooms` `/clear`.
|
|
39
|
+
- **Sharing**: pick folders to share with a built-in folder browser (drives, home, Music), or type a path. Remove or rescan them. You can also share your download folder, and set upload slots and upload/download speed limits, which apply live. UPnP port mapping is optional.
|
|
40
|
+
- **Looks**: three themes (`slsk-neon`, `slsk-amber`, `slsk-matrix`; cycle with `ctrl+t`), a top bar with live speeds, and a command palette (`ctrl+p`).
|
|
41
|
+
- **First start**: a short note explains that Soulseek is about sharing and which ports to open on your router if UPnP can't.
|
|
42
|
+
- **Demo mode**: `--demo` runs the whole UI against a simulated network, which is handy for trying it out without an account.
|
|
43
|
+
|
|
44
|
+
| Transfers | Browse |
|
|
45
|
+
|---|---|
|
|
46
|
+
|  |  |
|
|
47
|
+
| **Chat** | **Shares & settings** |
|
|
48
|
+
|  |  |
|
|
49
|
+
|
|
50
|
+
## Download
|
|
51
|
+
|
|
52
|
+
Ready-to-run executables (no Python needed) are on the [Releases page](https://github.com/avtii/slsk-reborn/releases/latest):
|
|
53
|
+
|
|
54
|
+
| System | File |
|
|
55
|
+
|---|---|
|
|
56
|
+
| Windows 10/11 (64-bit) | `slsk-reborn-windows-x64.exe` |
|
|
57
|
+
| macOS, Apple Silicon (M1 and later) | `slsk-reborn-macos-arm64` |
|
|
58
|
+
| macOS, Intel | `slsk-reborn-macos-x64` |
|
|
59
|
+
| Linux x86-64 (glibc 2.35+) | `slsk-reborn-linux-x64` |
|
|
60
|
+
| Linux ARM64 (glibc 2.35+, e.g. Raspberry Pi 4/5 with a 64-bit OS) | `slsk-reborn-linux-arm64` |
|
|
61
|
+
|
|
62
|
+
Run them from a terminal: Windows Terminal on Windows, Terminal or iTerm2 on macOS.
|
|
63
|
+
|
|
64
|
+
- **Windows:** SmartScreen may warn about an unknown publisher because the exe is not signed. Click *More info* → *Run anyway*.
|
|
65
|
+
- **macOS:** the binary is not notarized. Make it executable and clear the quarantine flag once:
|
|
66
|
+
```sh
|
|
67
|
+
chmod +x slsk-reborn-macos-arm64
|
|
68
|
+
xattr -d com.apple.quarantine slsk-reborn-macos-arm64
|
|
69
|
+
./slsk-reborn-macos-arm64
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
## Linux
|
|
73
|
+
|
|
74
|
+
### Ready-made binary
|
|
75
|
+
|
|
76
|
+
Works on any glibc distro from 2022 on: Ubuntu 22.04+, Debian 12+, Fedora 36+, Linux Mint 21+,
|
|
77
|
+
Pop!_OS 22.04+, Arch, Manjaro, openSUSE Leap 15.5+/Tumbleweed, and others.
|
|
78
|
+
|
|
79
|
+
```sh
|
|
80
|
+
curl -LO https://github.com/avtii/slsk-reborn/releases/latest/download/slsk-reborn-linux-x64
|
|
81
|
+
chmod +x slsk-reborn-linux-x64
|
|
82
|
+
sudo install -m 755 slsk-reborn-linux-x64 /usr/local/bin/slsk-reborn
|
|
83
|
+
slsk-reborn
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
On ARM64 use `slsk-reborn-linux-arm64`. Alpine and other musl distros can't run the binary; use one of
|
|
87
|
+
the Python installs below.
|
|
88
|
+
|
|
89
|
+
### Install with Python (any distro)
|
|
90
|
+
|
|
91
|
+
Distros mark the system Python as externally managed, so install into an isolated tool environment
|
|
92
|
+
with **pipx** or **uv**. You get a `slsk-reborn` command on your PATH, and updating is one command.
|
|
93
|
+
|
|
94
|
+
| Distro | Setup | Install |
|
|
95
|
+
|---|---|---|
|
|
96
|
+
| Ubuntu 24.04+, Debian 12+, Mint 22+ | `sudo apt install pipx && pipx ensurepath` | `pipx install slsk-reborn` |
|
|
97
|
+
| Fedora | `sudo dnf install pipx && pipx ensurepath` | same |
|
|
98
|
+
| Arch, Manjaro, EndeavourOS | `sudo pacman -S python-pipx && pipx ensurepath` | same |
|
|
99
|
+
| Ubuntu 22.04, Mint 21, openSUSE, others | `curl -LsSf https://astral.sh/uv/install.sh \| sh` | `uv tool install slsk-reborn` |
|
|
100
|
+
|
|
101
|
+
Open a new terminal after `ensurepath` or the uv installer so the PATH change applies. Update with
|
|
102
|
+
`pipx upgrade slsk-reborn` or `uv tool upgrade slsk-reborn`. Python 3.11+ is needed. On Ubuntu 22.04
|
|
103
|
+
(Python 3.10) use the uv line, which downloads a current Python on its own.
|
|
104
|
+
|
|
105
|
+
### Build the executable yourself
|
|
106
|
+
|
|
107
|
+
```sh
|
|
108
|
+
# Debian/Ubuntu: sudo apt install git python3-venv binutils
|
|
109
|
+
# Fedora: sudo dnf install git python3 binutils
|
|
110
|
+
# Arch: sudo pacman -S git python binutils
|
|
111
|
+
git clone https://github.com/avtii/slsk-reborn
|
|
112
|
+
cd slsk-reborn
|
|
113
|
+
python3 -m venv .venv && . .venv/bin/activate
|
|
114
|
+
pip install . pyinstaller
|
|
115
|
+
python packaging/build.py # -> dist/slsk-reborn-linux-<arch>
|
|
116
|
+
./dist/slsk-reborn-linux-* --self-test
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
PyInstaller uses `objdump` from binutils. The binary only runs on systems with the same or a newer glibc
|
|
120
|
+
than the one it was built on.
|
|
121
|
+
|
|
122
|
+
## Install with Python (Windows, macOS, Linux)
|
|
123
|
+
|
|
124
|
+
Requires Python 3.11 or newer. slsk-reborn is [on PyPI](https://pypi.org/project/slsk-reborn/):
|
|
125
|
+
|
|
126
|
+
```sh
|
|
127
|
+
pipx install slsk-reborn # or: uv tool install slsk-reborn / pip install slsk-reborn
|
|
128
|
+
```
|
|
129
|
+
|
|
130
|
+
The latest code from GitHub: `pipx install git+https://github.com/avtii/slsk-reborn`. From a clone:
|
|
131
|
+
|
|
132
|
+
```sh
|
|
133
|
+
git clone https://github.com/avtii/slsk-reborn
|
|
134
|
+
cd slsk-reborn
|
|
135
|
+
pip install -e ".[dev]"
|
|
136
|
+
```
|
|
137
|
+
|
|
138
|
+
## Run
|
|
139
|
+
|
|
140
|
+
```sh
|
|
141
|
+
slsk-reborn # connect (asks for login on first start)
|
|
142
|
+
slsk-reborn --demo # offline demo with fake peers
|
|
143
|
+
slsk-reborn --theme slsk-matrix
|
|
144
|
+
slsk-reborn --port 2234 # listening port for this run (also uses 2235)
|
|
145
|
+
slsk-reborn --tracklist tracklist.txt # find and download every track in a list
|
|
146
|
+
python -m slsk_reborn # same thing
|
|
147
|
+
```
|
|
148
|
+
|
|
149
|
+
On the first start a login box opens. A Soulseek account is created automatically the first time you log in with a new name. **Use a different account from any other Soulseek client you run.** The server allows only one session per name, so two clients on the same account keep kicking each other off.
|
|
150
|
+
|
|
151
|
+

|
|
152
|
+
|
|
153
|
+
## Keys
|
|
154
|
+
|
|
155
|
+
| Where | Key | Action |
|
|
156
|
+
|---|---|---|
|
|
157
|
+
| everywhere | `1`–`5` / `F2`–`F6` | switch tab |
|
|
158
|
+
| | `/` or `ctrl+f` | new search |
|
|
159
|
+
| | `esc` | leave a text box (so single-key shortcuts work) |
|
|
160
|
+
| | `?` / `F1` | help |
|
|
161
|
+
| | `ctrl+t` | cycle theme |
|
|
162
|
+
| | `ctrl+l` | wishlist, friends, blocked users |
|
|
163
|
+
| | `ctrl+o` | download a tracklist |
|
|
164
|
+
| | `space` `[` `]` `-` `+` `<` `>` | player: pause, seek, volume, prev/next |
|
|
165
|
+
| | `ctrl+q` | quit (saves transfers) |
|
|
166
|
+
| search results | `enter` / `d` | download file |
|
|
167
|
+
| | `f` | download whole folder |
|
|
168
|
+
| | `a` | album view on/off |
|
|
169
|
+
| | `w` | add the search to the wishlist |
|
|
170
|
+
| | `b` / `i` / `m` | browse user / user info / message |
|
|
171
|
+
| | `s` | cycle sort |
|
|
172
|
+
| | `x` | stop search (keeps the results) |
|
|
173
|
+
| | `ctrl+w` | close search tab |
|
|
174
|
+
| transfers | `enter` | play a finished download |
|
|
175
|
+
| | `p` `r` `x` `del` | pause, resume/retry, abort, remove |
|
|
176
|
+
| | `n` | get the same file from another user |
|
|
177
|
+
| | `c` / `o` | clear finished / open folder |
|
|
178
|
+
| ♫ tracklist | `enter` / `r` / `x` | search a track yourself / retry it / stop the rest |
|
|
179
|
+
| browse | `d` on a folder | download it and its subfolders |
|
|
180
|
+
|
|
181
|
+
The filter box above the results takes words to include, `-word` to exclude, `flac`/`mp3`/`lossless` for format, and `>256` for a minimum bitrate.
|
|
182
|
+
|
|
183
|
+
## Files
|
|
184
|
+
|
|
185
|
+
Everything lives in `~/.slsk-reborn/` (set `SLSK_REBORN_HOME` to move it):
|
|
186
|
+
|
|
187
|
+
- `config.toml`: account, folders, limits, theme, rooms, wishlist, friends and blocked users. It is written with `chmod 600` because it holds your password.
|
|
188
|
+
- `shares/` and `transfers/`: caches, so the shares index and the transfer queue survive restarts.
|
|
189
|
+
- `slsk-reborn.log`: run with `--debug` for full protocol logging.
|
|
190
|
+
|
|
191
|
+
Downloads go to `~/Music/slsk-reborn` by default. You can change this in the Shares tab.
|
|
192
|
+
|
|
193
|
+
**Port:** the default listening port is `61000` (plus `61001` for obfuscated connections). Change it in the Shares tab or for a single run with `--port N` / `-p N`. Forward it on your router, or enable UPnP, so that other peers can connect to you. If they can't, some uploads and downloads will fail to start.
|
|
194
|
+
|
|
195
|
+
## Development
|
|
196
|
+
|
|
197
|
+
```sh
|
|
198
|
+
pytest # UI tests run against the demo engine
|
|
199
|
+
python docs/make_screenshots.py
|
|
200
|
+
pip install pyinstaller && python packaging/build.py # executable for this OS in dist/
|
|
201
|
+
```
|
|
202
|
+
|
|
203
|
+
Pushing a `v*` tag builds the executables, publishes the GitHub release and uploads the package to PyPI. See [RELEASING.md](RELEASING.md).
|
|
204
|
+
|
|
205
|
+
The UI talks only to an `Engine` interface (`slsk_reborn/engine.py`) through plain dataclasses and a small event bus. `SlskEngine` wraps aioslsk, and `DemoEngine` (`slsk_reborn/demo.py`) simulates the network for tests and screenshots.
|
|
206
|
+
|
|
207
|
+
## License
|
|
208
|
+
|
|
209
|
+
MIT
|
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
# slsk-reborn
|
|
2
|
+
|
|
3
|
+
A Soulseek client for the terminal, built on [Textual](https://textual.textualize.io/) and [aioslsk](https://github.com/JurgenR/aioslsk). You can search, download, share, browse users and chat without leaving the terminal.
|
|
4
|
+
|
|
5
|
+

|
|
6
|
+
|
|
7
|
+
## Features
|
|
8
|
+
|
|
9
|
+
- **Search**: each search gets its own tab and results stream in live. Results show a quality badge (green FLAC, bitrate for lossy files), the peer's speed and whether they have a free slot. You can filter as you type (`flac`, `>256`, `-live`) and sort by quality, speed, size or user. One key downloads a file, another downloads the whole album folder. Stop a search with `x` or the Stop button; each search also stops itself at 10,000 files.
|
|
10
|
+
- **Album view**: `a` groups results into one row per folder, with track count, size, format and a completeness mark (`✔` when the track numbers run 1..n without gaps, `9/12` when some are missing). Enter downloads the album.
|
|
11
|
+
- **Tracklists**: paste a list of `Artist - Title` lines (numbers and timestamps are fine) with `ctrl+o` or the **♫ Tracklist** button. Each track is searched, the best copy is picked (right artist and title, no unasked-for remix, best quality, free slot) and queued, and the ♫ tab follows every download. It reads the `tracklist.txt` that [mixgrab](https://github.com/avtii/mixgrab) writes for a YouTube mix: `slsk-reborn --tracklist tracklist.txt`.
|
|
12
|
+
- **Transfers**: downloads and uploads update live with progress bars, speed, ETA and queue place. Keys pause, resume or retry, abort, remove, clear finished transfers and open the folder. Downloads keep the album folder structure. A notification (and terminal bell) says when downloads finish.
|
|
13
|
+
- **Another source**: when a download fails, the same file is looked up at other users (same size, or the same name and nearly the same size) and the best one is queued instead. This happens once by itself; `n` does it by hand, for example when a download is stuck far back in a queue.
|
|
14
|
+
- **Player**: enter on a finished download plays it, and the rest of its folder follows. MP3, FLAC, WAV and OGG play built in; other formats play through mpv or ffplay if one is installed. `space` pauses, `[` `]` seek, `-` `+` change the volume, `<` `>` skip.
|
|
15
|
+
- **Wishlist, friends, blocked users** (`ctrl+l`): wishlist searches are re-run by the server every few minutes and new results open in a ★ tab (`w` adds the current search). Blocked users can't message you, see your searches, browse you or download from you, and their results are hidden. Friend or block anyone from their user card (`i`).
|
|
16
|
+
- **Browse**: opens another user's shares as a folder tree with a file list. Press `d` on a folder to download it and everything below it.
|
|
17
|
+
- **Chat**: rooms with a user list, private messages, unread badges, highlights when someone mentions your name, and `/join` `/leave` `/msg` `/rooms` `/clear`.
|
|
18
|
+
- **Sharing**: pick folders to share with a built-in folder browser (drives, home, Music), or type a path. Remove or rescan them. You can also share your download folder, and set upload slots and upload/download speed limits, which apply live. UPnP port mapping is optional.
|
|
19
|
+
- **Looks**: three themes (`slsk-neon`, `slsk-amber`, `slsk-matrix`; cycle with `ctrl+t`), a top bar with live speeds, and a command palette (`ctrl+p`).
|
|
20
|
+
- **First start**: a short note explains that Soulseek is about sharing and which ports to open on your router if UPnP can't.
|
|
21
|
+
- **Demo mode**: `--demo` runs the whole UI against a simulated network, which is handy for trying it out without an account.
|
|
22
|
+
|
|
23
|
+
| Transfers | Browse |
|
|
24
|
+
|---|---|
|
|
25
|
+
|  |  |
|
|
26
|
+
| **Chat** | **Shares & settings** |
|
|
27
|
+
|  |  |
|
|
28
|
+
|
|
29
|
+
## Download
|
|
30
|
+
|
|
31
|
+
Ready-to-run executables (no Python needed) are on the [Releases page](https://github.com/avtii/slsk-reborn/releases/latest):
|
|
32
|
+
|
|
33
|
+
| System | File |
|
|
34
|
+
|---|---|
|
|
35
|
+
| Windows 10/11 (64-bit) | `slsk-reborn-windows-x64.exe` |
|
|
36
|
+
| macOS, Apple Silicon (M1 and later) | `slsk-reborn-macos-arm64` |
|
|
37
|
+
| macOS, Intel | `slsk-reborn-macos-x64` |
|
|
38
|
+
| Linux x86-64 (glibc 2.35+) | `slsk-reborn-linux-x64` |
|
|
39
|
+
| Linux ARM64 (glibc 2.35+, e.g. Raspberry Pi 4/5 with a 64-bit OS) | `slsk-reborn-linux-arm64` |
|
|
40
|
+
|
|
41
|
+
Run them from a terminal: Windows Terminal on Windows, Terminal or iTerm2 on macOS.
|
|
42
|
+
|
|
43
|
+
- **Windows:** SmartScreen may warn about an unknown publisher because the exe is not signed. Click *More info* → *Run anyway*.
|
|
44
|
+
- **macOS:** the binary is not notarized. Make it executable and clear the quarantine flag once:
|
|
45
|
+
```sh
|
|
46
|
+
chmod +x slsk-reborn-macos-arm64
|
|
47
|
+
xattr -d com.apple.quarantine slsk-reborn-macos-arm64
|
|
48
|
+
./slsk-reborn-macos-arm64
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
## Linux
|
|
52
|
+
|
|
53
|
+
### Ready-made binary
|
|
54
|
+
|
|
55
|
+
Works on any glibc distro from 2022 on: Ubuntu 22.04+, Debian 12+, Fedora 36+, Linux Mint 21+,
|
|
56
|
+
Pop!_OS 22.04+, Arch, Manjaro, openSUSE Leap 15.5+/Tumbleweed, and others.
|
|
57
|
+
|
|
58
|
+
```sh
|
|
59
|
+
curl -LO https://github.com/avtii/slsk-reborn/releases/latest/download/slsk-reborn-linux-x64
|
|
60
|
+
chmod +x slsk-reborn-linux-x64
|
|
61
|
+
sudo install -m 755 slsk-reborn-linux-x64 /usr/local/bin/slsk-reborn
|
|
62
|
+
slsk-reborn
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
On ARM64 use `slsk-reborn-linux-arm64`. Alpine and other musl distros can't run the binary; use one of
|
|
66
|
+
the Python installs below.
|
|
67
|
+
|
|
68
|
+
### Install with Python (any distro)
|
|
69
|
+
|
|
70
|
+
Distros mark the system Python as externally managed, so install into an isolated tool environment
|
|
71
|
+
with **pipx** or **uv**. You get a `slsk-reborn` command on your PATH, and updating is one command.
|
|
72
|
+
|
|
73
|
+
| Distro | Setup | Install |
|
|
74
|
+
|---|---|---|
|
|
75
|
+
| Ubuntu 24.04+, Debian 12+, Mint 22+ | `sudo apt install pipx && pipx ensurepath` | `pipx install slsk-reborn` |
|
|
76
|
+
| Fedora | `sudo dnf install pipx && pipx ensurepath` | same |
|
|
77
|
+
| Arch, Manjaro, EndeavourOS | `sudo pacman -S python-pipx && pipx ensurepath` | same |
|
|
78
|
+
| Ubuntu 22.04, Mint 21, openSUSE, others | `curl -LsSf https://astral.sh/uv/install.sh \| sh` | `uv tool install slsk-reborn` |
|
|
79
|
+
|
|
80
|
+
Open a new terminal after `ensurepath` or the uv installer so the PATH change applies. Update with
|
|
81
|
+
`pipx upgrade slsk-reborn` or `uv tool upgrade slsk-reborn`. Python 3.11+ is needed. On Ubuntu 22.04
|
|
82
|
+
(Python 3.10) use the uv line, which downloads a current Python on its own.
|
|
83
|
+
|
|
84
|
+
### Build the executable yourself
|
|
85
|
+
|
|
86
|
+
```sh
|
|
87
|
+
# Debian/Ubuntu: sudo apt install git python3-venv binutils
|
|
88
|
+
# Fedora: sudo dnf install git python3 binutils
|
|
89
|
+
# Arch: sudo pacman -S git python binutils
|
|
90
|
+
git clone https://github.com/avtii/slsk-reborn
|
|
91
|
+
cd slsk-reborn
|
|
92
|
+
python3 -m venv .venv && . .venv/bin/activate
|
|
93
|
+
pip install . pyinstaller
|
|
94
|
+
python packaging/build.py # -> dist/slsk-reborn-linux-<arch>
|
|
95
|
+
./dist/slsk-reborn-linux-* --self-test
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
PyInstaller uses `objdump` from binutils. The binary only runs on systems with the same or a newer glibc
|
|
99
|
+
than the one it was built on.
|
|
100
|
+
|
|
101
|
+
## Install with Python (Windows, macOS, Linux)
|
|
102
|
+
|
|
103
|
+
Requires Python 3.11 or newer. slsk-reborn is [on PyPI](https://pypi.org/project/slsk-reborn/):
|
|
104
|
+
|
|
105
|
+
```sh
|
|
106
|
+
pipx install slsk-reborn # or: uv tool install slsk-reborn / pip install slsk-reborn
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
The latest code from GitHub: `pipx install git+https://github.com/avtii/slsk-reborn`. From a clone:
|
|
110
|
+
|
|
111
|
+
```sh
|
|
112
|
+
git clone https://github.com/avtii/slsk-reborn
|
|
113
|
+
cd slsk-reborn
|
|
114
|
+
pip install -e ".[dev]"
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
## Run
|
|
118
|
+
|
|
119
|
+
```sh
|
|
120
|
+
slsk-reborn # connect (asks for login on first start)
|
|
121
|
+
slsk-reborn --demo # offline demo with fake peers
|
|
122
|
+
slsk-reborn --theme slsk-matrix
|
|
123
|
+
slsk-reborn --port 2234 # listening port for this run (also uses 2235)
|
|
124
|
+
slsk-reborn --tracklist tracklist.txt # find and download every track in a list
|
|
125
|
+
python -m slsk_reborn # same thing
|
|
126
|
+
```
|
|
127
|
+
|
|
128
|
+
On the first start a login box opens. A Soulseek account is created automatically the first time you log in with a new name. **Use a different account from any other Soulseek client you run.** The server allows only one session per name, so two clients on the same account keep kicking each other off.
|
|
129
|
+
|
|
130
|
+

|
|
131
|
+
|
|
132
|
+
## Keys
|
|
133
|
+
|
|
134
|
+
| Where | Key | Action |
|
|
135
|
+
|---|---|---|
|
|
136
|
+
| everywhere | `1`–`5` / `F2`–`F6` | switch tab |
|
|
137
|
+
| | `/` or `ctrl+f` | new search |
|
|
138
|
+
| | `esc` | leave a text box (so single-key shortcuts work) |
|
|
139
|
+
| | `?` / `F1` | help |
|
|
140
|
+
| | `ctrl+t` | cycle theme |
|
|
141
|
+
| | `ctrl+l` | wishlist, friends, blocked users |
|
|
142
|
+
| | `ctrl+o` | download a tracklist |
|
|
143
|
+
| | `space` `[` `]` `-` `+` `<` `>` | player: pause, seek, volume, prev/next |
|
|
144
|
+
| | `ctrl+q` | quit (saves transfers) |
|
|
145
|
+
| search results | `enter` / `d` | download file |
|
|
146
|
+
| | `f` | download whole folder |
|
|
147
|
+
| | `a` | album view on/off |
|
|
148
|
+
| | `w` | add the search to the wishlist |
|
|
149
|
+
| | `b` / `i` / `m` | browse user / user info / message |
|
|
150
|
+
| | `s` | cycle sort |
|
|
151
|
+
| | `x` | stop search (keeps the results) |
|
|
152
|
+
| | `ctrl+w` | close search tab |
|
|
153
|
+
| transfers | `enter` | play a finished download |
|
|
154
|
+
| | `p` `r` `x` `del` | pause, resume/retry, abort, remove |
|
|
155
|
+
| | `n` | get the same file from another user |
|
|
156
|
+
| | `c` / `o` | clear finished / open folder |
|
|
157
|
+
| ♫ tracklist | `enter` / `r` / `x` | search a track yourself / retry it / stop the rest |
|
|
158
|
+
| browse | `d` on a folder | download it and its subfolders |
|
|
159
|
+
|
|
160
|
+
The filter box above the results takes words to include, `-word` to exclude, `flac`/`mp3`/`lossless` for format, and `>256` for a minimum bitrate.
|
|
161
|
+
|
|
162
|
+
## Files
|
|
163
|
+
|
|
164
|
+
Everything lives in `~/.slsk-reborn/` (set `SLSK_REBORN_HOME` to move it):
|
|
165
|
+
|
|
166
|
+
- `config.toml`: account, folders, limits, theme, rooms, wishlist, friends and blocked users. It is written with `chmod 600` because it holds your password.
|
|
167
|
+
- `shares/` and `transfers/`: caches, so the shares index and the transfer queue survive restarts.
|
|
168
|
+
- `slsk-reborn.log`: run with `--debug` for full protocol logging.
|
|
169
|
+
|
|
170
|
+
Downloads go to `~/Music/slsk-reborn` by default. You can change this in the Shares tab.
|
|
171
|
+
|
|
172
|
+
**Port:** the default listening port is `61000` (plus `61001` for obfuscated connections). Change it in the Shares tab or for a single run with `--port N` / `-p N`. Forward it on your router, or enable UPnP, so that other peers can connect to you. If they can't, some uploads and downloads will fail to start.
|
|
173
|
+
|
|
174
|
+
## Development
|
|
175
|
+
|
|
176
|
+
```sh
|
|
177
|
+
pytest # UI tests run against the demo engine
|
|
178
|
+
python docs/make_screenshots.py
|
|
179
|
+
pip install pyinstaller && python packaging/build.py # executable for this OS in dist/
|
|
180
|
+
```
|
|
181
|
+
|
|
182
|
+
Pushing a `v*` tag builds the executables, publishes the GitHub release and uploads the package to PyPI. See [RELEASING.md](RELEASING.md).
|
|
183
|
+
|
|
184
|
+
The UI talks only to an `Engine` interface (`slsk_reborn/engine.py`) through plain dataclasses and a small event bus. `SlskEngine` wraps aioslsk, and `DemoEngine` (`slsk_reborn/demo.py`) simulates the network for tests and screenshots.
|
|
185
|
+
|
|
186
|
+
## License
|
|
187
|
+
|
|
188
|
+
MIT
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
name = "slsk-reborn"
|
|
3
|
+
version = "0.3.1"
|
|
4
|
+
description = "A modern, good-looking terminal Soulseek client: search, download, share, browse and chat."
|
|
5
|
+
readme = "README.md"
|
|
6
|
+
license = "MIT"
|
|
7
|
+
requires-python = ">=3.11"
|
|
8
|
+
dependencies = ["aioslsk>=1.7", "textual>=1.0", "miniaudio>=1.59"]
|
|
9
|
+
keywords = ["soulseek", "p2p", "tui", "textual", "music"]
|
|
10
|
+
classifiers = [
|
|
11
|
+
"Environment :: Console",
|
|
12
|
+
"Programming Language :: Python :: 3",
|
|
13
|
+
"Topic :: Multimedia :: Sound/Audio",
|
|
14
|
+
"Topic :: Communications :: File Sharing",
|
|
15
|
+
]
|
|
16
|
+
|
|
17
|
+
[project.optional-dependencies]
|
|
18
|
+
dev = ["pytest", "pytest-asyncio"]
|
|
19
|
+
|
|
20
|
+
[project.scripts]
|
|
21
|
+
slsk-reborn = "slsk_reborn.cli:main"
|
|
22
|
+
|
|
23
|
+
[build-system]
|
|
24
|
+
requires = ["setuptools>=68"]
|
|
25
|
+
build-backend = "setuptools.build_meta"
|
|
26
|
+
|
|
27
|
+
[tool.setuptools]
|
|
28
|
+
packages = ["slsk_reborn", "slsk_reborn.panes"]
|
|
29
|
+
|
|
30
|
+
[tool.setuptools.package-data]
|
|
31
|
+
slsk_reborn = ["*.tcss"]
|
|
32
|
+
|
|
33
|
+
[tool.pytest.ini_options]
|
|
34
|
+
asyncio_mode = "auto"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.3.1"
|