- Vue 47.8%
- TypeScript 29.3%
- Rust 17.4%
- CSS 4.3%
- Shell 1%
- Other 0.2%
Player - Now Playing strip + video stage, play/pause/seek/volume, next/prev file, mini/full view, fullscreen, Keep/Ditch prompt after playback. - src-tauri/src/media.rs: loopback HTTP server (random port + token, only files media_list handed out) with Range support; media_trash moves played downloads to the Trash, only inside the download folder. Playback fixes - Always send Content-Length: tiny_http chunks bodies over 32 KB, which stopped GStreamer seeking and left MKVs "buffering" forever. - Hide Matroska subtitle tracks while serving (TrackType 0x11 -> 0x21, same length): WebKitGTK 2.54 never finishes loading an MKV that has them. GPU - Replace WEBKIT_DISABLE_DMABUF_RENDERER=1 with __NV_DISABLE_EXPLICIT_SYNC=1 when the NVIDIA driver is loaded. Same Wayland "Error 71" fix, but keeps WebKit's GPU renderer; video in a large window used ~2x the CPU before. Accessibility - Pointer cursor on everything clickable (.clickable for custom elements), hover wash on clickable list rows. - List text 12px / 18px rows (chrome stays 11px Tahoma). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|---|---|---|
| scripts | ||
| src | ||
| src-tauri | ||
| .gitignore | ||
| CLAUDE.md | ||
| index.html | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
| vite.config.ts | ||
Grabster
A Usenet downloader for Linux with the look and feel of the early-2000s P2P clients. NZBGet does the heavy lifting (downloading, yEnc, par2 repair, unpacking); Grabster is the front end: search across your Newznab indexers, send NZBs to NZBGet, watch transfers, browse what you've grabbed.
Tabs
| Tab | What it does |
|---|---|
| Networks | NZBGet status, news servers, indexer health checks |
| Library | Finished downloads, sorted into Audio / Video / Software / Other / Failed |
| Chat | Placeholder (IRC planned) |
| Search | Search all indexers at once. Same post on several indexers is grouped under one ⊞ row |
| Hotlist | Saved searches you run often |
| Transfers | NZBGet queue + history, pause/resume/cancel/move to top, load .nzb files |
| Bandwidth | Live speed graph, stats, speed limit |
Quick start on your laptop (with Claude Code)
# 1. Unzip and enter the project (it's already a git repo with one commit)
unzip grabster.zip -d ~/Projects && cd ~/Projects/grabster
# 2. Install Claude Code (native installer) and open a new terminal
curl -fsSL https://claude.ai/install.sh | bash
claude --version
# 3. Start a session in the project — it reads CLAUDE.md automatically
claude
A good first prompt:
Read CLAUDE.md and README.md. The Rust/Tauri side has never been compiled. Install whatever Nobara needs (see README section 2), get
npm run tauri devworking, and fix any build errors.
To just look at the UI without NZBGet or Rust: npm install && npm run dev, then open
http://localhost:1420 (runs on simulated data).
1. NZBGet (bundled — nothing to install)
Grabster ships its own copy of NZBGet (the official static Linux build, with unrar and 7-Zip) and runs it in the background while the app is open:
scripts/fetch-nzbget.shdownloads the pinned release, checks its SHA-256, and unpacks it intosrc-tauri/resources/nzbget/(git-ignored).npm run tauri dev/tauri buildrun it for you; run it by hand withnpm run fetch:nzbget. To upgrade, changeVERSIONandSHA256there.- Its config, queue and logs live in
~/.local/share/com.orca.grabster/nzbget/; finished downloads go to~/Downloads/Grabster(changeable in Settings → News Servers). - It listens on 127.0.0.1 only, on a random port with a random password each launch, and has no web UI. Grabster stops it on quit (and the kernel stops it if Grabster crashes).
To use an NZBGet you already run instead, pick My own NZBGet in Settings → Download Engine.
NZBGet is GPLv2 (source: https://github.com/nzbgetcom/nzbget); its COPYING and the unrar/7-Zip
licences are shipped next to the binary.
2. Build prerequisites
sudo dnf install webkit2gtk4.1-devel openssl-devel curl wget file libappindicator-gtk3-devel librsvg2-devel
sudo dnf group install "c-development" # gcc, make, etc.
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
sudo dnf install ms-core-tahoma-fonts # optional, but it's what makes the UI look right
3. Run
npm install
npm run tauri dev # real app, runs the bundled NZBGet + talks to your indexers
npm run dev # browser only, simulated data (good for tweaking the look)
npm run tauri build # produces an .rpm and AppImage in src-tauri/target/release/bundle
In the app: Settings → News Servers → Add Server... for your Usenet provider (host, port, SSL, login, connections → Test), then Settings → Indexers → Add Indexer... for each indexer (base URL + API key → Test).
Project layout
src/
state.ts app state, polling loop, search sessions
services/nzbget.ts NZBGet JSON-RPC client
services/newznab.ts Newznab search + caps test
services/mock.ts simulated engine/indexers for browser mode
views/*.vue one file per tab
components/ ListView, SettingsDialog, Icon (original 16px pixel icons)
styles.css classic bevelled chrome + black list panes
src-tauri/ thin Rust shell (http/store/opener/dialog plugins + read_file_base64)
src/engine.rs starts/stops the bundled NZBGet
scripts/fetch-nzbget.sh downloads the NZBGet build that gets bundled
Ideas for next steps
- Hotlist auto-grab (poll saved searches / RSS and send new matches to NZBGet)
- IRC chat tab
- Right-click context menus, column resizing, remembering column widths
- Per-indexer API hit counters
- Replace NZBGet with a native Rust NNTP engine (someday, maybe)