New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

tui-trends

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tui-trends

Cyberpunk Google Trends visualizer in your terminal

latest
npmnpm
Version
1.0.4
Version published
Maintainers
1
Created
Source

Cyberpunk Google Trends visualizer in your terminal.

screenshot

Install globally

From npm:

npm install -g tui-trends
tui-trends "buy bitcoin"

From this repo:

npm install
npm run build
npm install -g .
tui-trends "buy bitcoin"

One-off without installing:

npx tui-trends "buy bitcoin"

Usage

# Google Trends (default)
tui-trends "buy bitcoin"

# npm package download trends — no rate limits, great for testing
tui-trends --npm react
tui-trends --npm typescript
tui-trends --npm next

Development

npm install
npm start -- "buy bitcoin"        # runs via tsx, no build step
npm run dev -- "buy bitcoin"      # tsx watch mode, reloads on save
npm start -- --npm react          # npm mode in dev

Keybindings

KeyAction
qQuit
← →Cycle through themes

Themes

Cycle through 6 built-in colour themes with / :

#NameVibe
1SynthwaveNeon cyan & hot pink (default)
2MatrixAll green on black
3C64Commodore 64 blue/white
4AmberPhosphor amber monitor
5NordMuted arctic pastels
6Blood MoonDeep red & orange

What you'll see

  • Loading screen — animated spinner with ASCII art banner while data is fetched
  • Line chart — braille-rendered trend line (0–100 index, last 12 months)
  • Bar chart — top regions (Google mode) or peak download weeks (npm mode)
  • Table — related queries (Google mode) or monthly download breakdown (npm mode)

Stack

  • Rezi — TypeScript TUI framework with native C rendering engine
  • google-trends-api — unofficial Google Trends client
  • tsx — run TypeScript directly

Notes

  • Requires Node 18+ (uses native fetch for npm API)
  • Google Trends mode hits trends.google.com directly and may rate-limit if called repeatedly
  • Use --npm mode for unlimited local testing
  • Best displayed in a terminal at least 120 columns wide

FAQs

Package last updated on 26 Feb 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts