Crates.io | goran |
lib.rs | goran |
version | 0.1.8 |
created_at | 2025-05-01 14:04:26.316828+00 |
updated_at | 2025-06-28 06:13:43.771079+00 |
description | Goran is a CLI tool for analyzing domains and IP addresses. |
homepage | |
repository | https://github.com/beowolx/goran |
max_upload_size | |
id | 1656321 |
size | 197,189 |
Goran is a Rust-based command-line tool designed to gather detailed information about domain names and IP addresses. It integrates several data sources such as WHOIS, Geolocation, DNS, SSL certificates, and VirusTotal reputation checks. Goran uniquely utilizes a Gemini to generate concise, readable reports and analyses.
Unlike traditional WHOIS queries, Goran:
brew tap beowolx/goran
brew install goran
Make sure you have Rust installed, then run:
cargo install goran
goran example.com
Flag | Description |
---|---|
--vt |
Enable VirusTotal reputation checks (requires API key). |
--vt-api-key |
Provide VirusTotal API key directly via CLI. |
--json |
Output results in JSON format. |
--no-whois |
Skip WHOIS lookup step. |
--no-dns |
Skip DNS lookup step. |
--no-ssl |
Skip SSL certificate checks. |
--llm-report |
Generate an AI-based narrative report (requires Gemini API). |
--llm-api-key |
Provide Gemini API key directly via CLI. |
--save-keys |
Persist provided API keys in local config. |
--config-show |
Display current merged configuration settings. |
Gemini API Key:
VirusTotal API Key:
Goran uses VirusTotal to check the reputation of the domain and IP address. VirusTotal is a cloud-based antivirus engine for detecting malicious software but it can also be used to check the reputation of a domain or IP address.
To use VirusTotal, run:
goran example.com --vt --vt-api-key <VT_API_KEY>
Goran uses gemini-2.0-flash
to generate an AI-powered report. The goal is to provide a concise and readable report that is easy to understand.
To generate an AI-powered report, run:
goran example.com --llm-report --llm-api-key <GEMINI_API_KEY>
To avoid having to provide your API keys every time you run Goran, you can save them in the config file.
goran example.com --vt --vt-api-key <VT_API_KEY> --llm-report --llm-api-key <GEMINI_API_KEY> --save-keys
Subsequent executions will use these saved keys automatically.
To list the current saved keys, run:
goran --config-show
Configuration settings and saved keys are stored here:
~/.config/rs.goran/default-config.toml
~/Library/Application Support/rs.goran/default-config.toml
%APPDATA%\rs.goran\default-config.toml
Feel free to open issues and submit pull requests on GitHub.
Distributed under the MIT License. See LICENSE
for details.