strend

Crates.iostrend
lib.rsstrend
version0.2.2
sourcesrc
created_at2023-08-04 03:35:05.469158
updated_at2023-11-21 09:40:49.266918
descriptionOfficial TUI to search and visualize Shodan historical data.
homepage
repositoryhttps://github.com/thoongnv/trends-rs
max_upload_size
id934804
size563,759
Thong Nguyen (thoongnv)

documentation

README

Shodan Trends TUI

Crates.io License Twitter

Search and visualize Shodan historical data in the terminal.

strend fetches data via the Shodan Trends API, please check docs for more information.

Sample

Installation

Grab the latest binary for your operating system

Rust Package Registry

cargo install strend

Homebrew (macOS)

brew tap thoongnv/homebrew-strend https://github.com/thoongnv/homebrew-strend
brew install strend

Waiting for reconsider: https://github.com/Homebrew/homebrew-core/pull/140247

Usage

The strend command can be launched with or without query.

strend
strend --query "product:nginx port:443" --facets country:10
strend --help
Search and visualize Shodan historical data in the terminal.

Usage: strend [OPTIONS] [COMMAND]

Commands:
  init  Initialize Shodan API key, grab it from https://account.shodan.io
  help  Print this message or the help of the given subcommand(s)

Options:
      --query <QUERY>    Search query used to search the historical database, e.g. "product:nginx port:443"
      --facets <FACETS>  A comma-separated list of properties to get summary information on, e.g. country:10
  -h, --help             Print help
  -V, --version          Print version

Debugging

Our application rendered to stderr, so we could use println!("dump variable: {:?}", variable); in code and then pine the output to a log file.

cargo run > debug.log
tail -f debug.log
Commit count: 104

cargo fmt