Crates.io | simpleSearch |
lib.rs | simpleSearch |
version | 0.1.4 |
source | src |
created_at | 2024-11-18 14:05:53.651563 |
updated_at | 2024-11-19 14:26:59.879957 |
description | A lightweight search app that combines web search results with AI-generated summaries |
homepage | https://crates.io/crates/simpleSearch |
repository | https://github.com/div02-afk/simpleSearch |
max_upload_size | |
id | 1452221 |
size | 77,880 |
simpleSearch is a Rust-based command-line tool that enables users to perform web searches and receive AI-generated summaries of search results. The application is designed to be fast, efficient, and user-friendly, combining the power of web scraping with AI language models to provide concise information right in your terminal.
### Usage
To use **simpleSearch**, run the following command in your terminal:
```sh
simpleSearch [FLAGS] [OPTIONS]
```
#### Flags and Options
- `-q`, `--query` : Specify the search query.
- `-c`, `--chat` : Enable chatbot summary of the search results(default: false).
- `-n`, `--number_of_results` : Set the number of search results to summarize(default: 5).
- `-s`, `--search` : Search Engine(default: Google) Available: Google
- `-p`, `--piratebay` : Query The Pirate Bay for torrents.
#### Examples
Search for a query and get a summary:
```sh
simpleSearch -q "Rust programming language" -c
```
Search for a query with a specified number of results:
```sh
simpleSearch -q "Rust programming language" -n 5
```