mirror of
https://github.com/baairon/torlink.git
synced 2026-07-08 18:28:22 +02:00
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.
This commit is contained in:
@@ -11,7 +11,7 @@ torlink is a torrent finder that lives in your terminal, with zero setup and not
|
||||
3. **Start it:**
|
||||
|
||||
```sh
|
||||
npx torlink
|
||||
npx torlnk
|
||||
```
|
||||
|
||||
That's the only thing you'll type. torlink opens straight to a search bar: search for what you want, paste in a magnet link, or just press Enter on an empty box to browse the curated library. From there it's all keypresses, nothing to memorize, and `?` brings up the full list anytime.
|
||||
@@ -63,7 +63,7 @@ To run or work on torlink locally:
|
||||
Or build it and run the bundled version:
|
||||
```sh
|
||||
npm run build
|
||||
npx torlink
|
||||
npx torlnk
|
||||
```
|
||||
|
||||
## Privacy
|
||||
|
||||
+2
-2
@@ -1,10 +1,10 @@
|
||||
{
|
||||
"name": "torlink",
|
||||
"name": "torlnk",
|
||||
"version": "1.0.0",
|
||||
"description": "A sleek, zero-setup torrent finder and downloader that lives right in your terminal.",
|
||||
"type": "module",
|
||||
"bin": {
|
||||
"torlink": "./dist/index.js"
|
||||
"torlnk": "./dist/index.js"
|
||||
},
|
||||
"files": [
|
||||
"dist",
|
||||
|
||||
+4
-4
@@ -18,10 +18,10 @@ export function parseCliArgs(argv: string[]): CliCommand {
|
||||
export const HELP_TEXT = `torlink, terminal-native torrent search
|
||||
|
||||
usage
|
||||
torlink open the search TUI
|
||||
torlink "magnet:?xt=..." start a download on launch
|
||||
torlink path/to/file.torrent open a .torrent file on launch
|
||||
torlink --version print the version
|
||||
torlnk open the search TUI
|
||||
torlnk "magnet:?xt=..." start a download on launch
|
||||
torlnk path/to/file.torrent open a .torrent file on launch
|
||||
torlnk --version print the version
|
||||
|
||||
once open: type to search every source at once, enter to run, arrows to move,
|
||||
d to download, ? for keys
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
export const USER_AGENT = "torlink (+https://www.npmjs.com/package/torlink)";
|
||||
export const USER_AGENT = "torlink (+https://www.npmjs.com/package/torlnk)";
|
||||
|
||||
export type FetchImpl = (url: string, init?: RequestInit) => Promise<Response>;
|
||||
export type SleepImpl = (ms: number) => Promise<void>;
|
||||
|
||||
Reference in New Issue
Block a user