npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

clitorrents

v0.1.0

Published

TUI torrent client

Readme

clitorrents

Terminal UI for searching and downloading torrents.

Warning: Only use this for content you have the right to access.

Requirements

  • Node.js 20+

Install

Install globally from npm:

npm install -g clitorrents

Then run clitorrents from any directory.

Install from a local clone:

cd /path/to/clitorrents
npm install
npm install -g .

Development run (without global install):

cd /path/to/clitorrents
npm install
npm run build
npm start
# or: node dist/cli.js

Configuration

On first run, a template config is written to:

~/.config/clitorrents/config.json (or $XDG_CONFIG_HOME/clitorrents/config.json)

Per-torrent overrides (ratio caps from the detail view, etc.) are stored in:

~/.config/clitorrents/torrent-overrides.json

Config fields

| Field | Meaning | |--------|---------| | downloadDir | Where downloaded files are stored | | torrents.limit | Max results returned by provider search | | torrents.providers.active | Provider used first (fallback starts here) | | torrents.providers.available | Provider fallback order list | | torrents.categoryByProvider | Optional provider -> category override (torrent-search-api) | | globalDownloadLimitBps / globalUploadLimitBps | -1 = unlimited, 0 = blocked | | defaultMaxRatio | Stop policy when ratio reached | | defaultMaxUploadBytes | Optional upload cap in bytes | | onReachLimit | pause_seed (deselect + pause) or remove_keep_files |

Provider notes

  • Default provider list is based on cliflix behavior and can break over time as sites change.
  • If search returns no rows, try switching torrents.providers.active or reordering torrents.providers.available.
  • Status text after search includes per-provider results/errors to help diagnose provider failures.

Keybindings

| Key | Action | |-----|--------| | Tab | Switch between Search and Transfers panes | | Enter | Run search (search pane, type mode) / add selected result (pick mode) / open torrent detail (transfers) | | p | Toggle pause / resume download (piece deselect + pause) | | o | Open download folder (or reveal file on macOS) | | x | Remove torrent, keep files on disk | | X | Remove torrent and delete downloaded data | | [ ] | In detail: cycle per-torrent max seed ratio preset | | Esc | Back from detail view (or leave result pick mode with i) | | i | In search pick mode: return to typing query | | q | Quit |

Manual check

  1. Review config.json provider settings.
  2. Search for sintel and add a result.
  3. Confirm progress, ETA, peer list, and sparkline update.
  4. Press o to open the download directory.

WebTorrent behavior

This client uses WebTorrent, not libtorrent. Pause uses deselecting pieces plus torrent.pause(), so behavior may differ from desktop clients like qBittorrent. Global bandwidth limits apply to the whole client; per-torrent speed caps are not implemented in v1 (only ratio / upload-byte policies and global throttles).

Tests

npm test

Development reference

The cliflix/ directory is a vendored copy of the original Cliflix app for comparison only; this project does not depend on it at runtime.