/torrent-lookup

Command-line tool for looking torrent files and downloaded content. Match them together and add it to your favorite torrent client.

Primary LanguageTypeScriptMIT LicenseMIT

tlookup3

npm

Command-line tool for looking torrent files and downloaded content. Match them together and add it to your favorite torrent client.

Supported platforms:

  • windows
  • linux
  • macos

Supported clients:

Install

npm install -g tlookup (not pushed yet)

Usage example

npm install -g https://github.com/MaxXx1313/torrent-lookup
npm run build
npm start -- scan
npm start -- push t

Usage

Usage

$ tlookup operation target

Description

Scan files and match torrent files

Operation

scan - scan files, find torrent files and it's downloads push - push torrents to client
info - print scan info

Options

--operation string Operation. one of 'scan', 'push', 'info'
-v, --verbose verbose output
-h, --help print help
-t, --target string[] scan folder(s)
--tmp string folder to save data
-c, --client string client app to push torrents (operation=push)
-o, --option string[] client app options (for ex.: "-o
endpoint=localhost:8080"). Look into documentation
for the client app for details

Clients

Most clients require remote access to be enabled!

transmission t Transmission app

Examples

Scan home folders $ tlookup find "/home"
Push result to transmission $ tlookup push transmission

Development

Build

The following command build the project

npm run build

The following command run the project

npm start -- scan

The following command build and run the project

npm run dev

See instruction for a custom adapter here: ITorrentClient