Commit Graph
25 Commits
Author SHA1 Message Date
DennisandGitHub 61bbb4b219 chore: add nix flake for Linux
* nix: init 1.0.0-unstable rev 6902733

* nix: add install instructions

* nix: update 1.0.0 -> 1.1.1
2026-06-30 16:23:25 -04:00
Anand HegdeandGitHub 3c5b5597d9 feat: extract upload date for 1337x results
Parse the "Date uploaded" field from 1337x detail pages into TorrentResult.added, matching the other sources. Reuses the detail-page fetch already done for the magnet, so no extra requests are made.
2026-06-30 11:07:35 -04:00
Anand HegdeandGitHub 81f449ffda fix: show sort param during search phase
Keep the active sort note on the status line while results stream in, so it no longer disappears mid-search and snaps back only once sources finish.
2026-06-30 11:07:18 -04:00
bairon.dev 7fa049ae9d fix: seeders-first default, compact footer, and folder-editor input isolation
Restore the seeders-desc default ordering that the new sort feature dropped,
so the healthiest torrents stay on top until `s` is pressed. Trim the
contextual footer (terse labels, folder key in the `?` overlay only) so the
added sort and folder keys never wrap it past one line. Gate the
download-folder editor on its own `editingFolder` flag instead of the shared
capture state, fixing the leak where `?`, `q`, and `m` fired through while
typing a path.
2026-06-30 00:14:05 -04:00
bairon.dev cc881aefc4 Merge branch 'sort-results' into merge/sort-and-folder 2026-06-29 23:45:40 -04:00
yaninni c114c32d05 feat: change the download folder from the UI
Add an `o` key that opens an inline prompt to set the download folder,
shown in the `?` cheatsheet and the sidebar footer. Reuses Panel +
TextField and the captureMode/effective-region mechanism the help
overlay already uses, so section keymaps stay quiet while typing a path.
No new Store field (editingFolder is local App state, like showHelp).

expandHome resolves a leading ~/ and ~\ so a path pasted from another
OS still works; the folder is created with fs.mkdir(recursive) and the
change fails soft, keeping the old folder if it cannot be created. The
setting only feeds new downloads (queue.add reads it at add-time), so
in-progress downloads and existing seeds keep their own dir and are
never interrupted or relocated.
2026-06-30 02:04:59 +02:00
samoht9277 05236fe8e5 feat: add 's' key to sort results by size, seeders, or source 2026-06-29 19:40:15 -03:00
bairon.dev 9cd996178a chore: switch funding to github sponsors 2026-06-29 15:49:13 -04:00
bairon.dev 01715b7172 docs: open the readme with the torrent pain point 2026-06-29 14:20:20 -04:00
bairon.dev 5c0d1dee37 chore: bump version to 1.1.0 2026-06-29 14:12:42 -04:00
bairon.dev 96162598c6 docs: add contributor guide and PR template 2026-06-29 14:09:28 -04:00
bairon.dev 400b86a292 chore: add Buy Me a Coffee funding link 2026-06-29 13:58:23 -04:00
bairon.dev 9069ba5e9c Merge pull request #4: navigate panes with the arrow keys
# Conflicts:
#	package-lock.json
2026-06-29 13:40:04 -04:00
bairon.dev ca3ceda1b7 Merge pull request #6: add 'Copy magnet' via the y key 2026-06-29 13:40:03 -04:00
bairon.dev 9eaa63afc7 Merge pull request #5: show a clear error when Node.js is too old 2026-06-29 13:40:03 -04:00
Francesco Pira e255e202d1 feat: added 'Copy magnet' option via 'y' key 2026-06-29 18:55:14 +02:00
LeBaronDeCharlus cda377a420 fix: show clear error when Node.js is too old instead of a parse crash 2026-06-29 14:36:41 +02:00
Oskar Krawczyk 6acbac462e Added navigating panes by arrows 2026-06-29 11:22:02 +02:00
bairon.dev 69027331b2 chore: publish as torlnk on npm, keep torlink as the brand
The npm name and command become torlnk (npx torlnk) to clear npm's
"too similar to comlink" guard, mirroring the sndcli/soundcli split. torlink
stays the brand everywhere it matters: the logo wordmark, app and terminal
title, version string, the data and downloads folder (APP_NAME), and the repo.
Updates the cli usage lines, readme install commands, and the user-agent
package url to match.
2026-06-27 18:04:28 -04:00
bairon.dev 21fd77002b fix: clarify c removes from the list, never your files
Reword the c help labels (Downloads "Cancel or remove from list", Seeding
"Remove from list", dropping the Downloads cross-reference) and add a help
note that downloaded files always stay on disk, so cancel and remove never
read as deleting your media. Also trims the over-specific c sentence from the
readme and refreshes the npm description and keywords.
2026-06-27 17:47:35 -04:00
bairon.dev 3616c9305c docs: lead the readme with the in-app flow, drop cli commands from the intro
torlink is a TUI, so Get started now keeps just the single npx torlink launch
and frames searching, pasting a magnet, browsing, and the ? cheatsheet as
in-app keypresses, instead of opening with magnet/torrent args and a global
install.
2026-06-27 17:28:06 -04:00
bairon.dev 14b4a5ede6 feat: seed downloads by default (opt-out) with robust resume and clean quit
Finished downloads now keep seeding automatically and you opt out per item with
p, reusing the live torrent instead of tearing it down. Resume and restore seed
from the .torrent metadata captured at download time, so they verify the local
file immediately rather than depending on re-fetching metadata from the swarm.

Quitting now flushes queue, history, and seeds synchronously and exits
immediately, fixing the hang when quitting while seeding or with a paused seed.
Paused seeds persist their state and stay paused across restarts. Hide the
hardware cursor on the splash, and clarify that c removes a finished item the
same way in Downloads and Seeding.

Tests are isolated from the real data dir via a TORLINK_STATE_DIR override plus
vitest config, so runs never touch user data. Adds scripts/verify-seeding.ts
(npm run verify:seeding), an offline-deterministic harness proving seed, pause,
and resume transfer real bytes.
2026-06-27 17:02:22 -04:00
bairon.dev 8a9886be9c feat: wordmark + progress-bar sheen, dark-violet svg base, readme refinements 2026-06-27 12:42:38 -04:00
bairon.dev ea12f2f134 docs: refine readme examples and phrasing 2026-06-27 02:39:41 -04:00
bairon.dev 60d7a9a755 feat: terminal-native torrent discovery TUI
Curated, multi-source torrent search and download from the terminal:
concurrent search across built-in sources with streamed, source-tagged
results; a download-only webtorrent engine with true pause/resume and
restart recovery; magnet paste; and a calm Ink + React TUI. No indexer
server, no setup.
2026-06-27 02:03:19 -04:00