#search #chat-bot #summary #torrent #search-engine #websearch

app simpleSearch

A lightweight search app that combines web search results with AI-generated summaries

1 unstable release

0.1.5 Nov 19, 2024
0.1.4 Nov 19, 2024

#424 in Web programming

Download history 462/week @ 2024-11-16 52/week @ 2024-11-23 4/week @ 2024-11-30 4/week @ 2024-12-07

128 downloads per month

MIT license

23KB
309 lines

simpleSearch

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.

Features

  • Web Search: Quickly search the web using a chosen search engine.
  • AI Summarization: Generate concise AI summaries of the top search results.
  • Customization: Choose search engine preferences(future) and set the number of results to summarize.

Installation

Prerequisites

  • Rust and Cargo installed. You can follow the official installation instructions here.
  • API keys for any web search services and AI summarization services used (e.g., Bing Search API, OpenAI API).
  • API keys and Other env required:
    • GOOGLE_CONSOLE_API_KEY
    • GOOGLE_CUSTOM_SEARCH_ENGINE_ID
    • GEMINI_API_KEY

Usage

### 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
```

Dependencies

~16–31MB
~484K SLoC

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy