search-in-terminal

Crates.iosearch-in-terminal
lib.rssearch-in-terminal
version0.1.3
sourcesrc
created_at2024-11-25 17:02:11.796346
updated_at2024-11-26 18:29:38.10442
descriptionA terminal-based search tool
homepage
repositoryhttps://github.com/zykowal/search-in-terminal
max_upload_size
id1460496
size147,761
Toucans (zykowal)

documentation

https://docs.rs/search-in-terminal

README

Search in Terminal 🔍

English | įŽ€äŊ“中文 | æ—ĨæœŦčĒž

Crates.io Downloads License

Table of Contents

A powerful terminal-based search tool that allows you to search and browse web content directly in your terminal. Supports multiple search engines (Google, Bing, DuckDuckGo) with an elegant TUI interface and convenient keyboard controls.

đŸŽ¯ Why Search in Terminal?

  • Efficiency: Search without leaving your terminal
  • Privacy: Control your user agent and search behavior
  • Customization: Configure search engines and behavior to your needs
  • Speed: Fast and lightweight, with caching support
  • Cross-platform: Works on Linux, macOS, and Windows

Features ✨

  • Multiple Search Engines Support 🌐
    • Google
    • Bing
    • DuckDuckGo
  • Quick Engine Switching 🔄
  • Search Results Caching 💾
  • Beautiful TUI Interface 🎨
  • Convenient Keyboard Controls ⌨ī¸
  • One-click Browser Opening 🚀

Screenshots 📸

Coming soon

Installation đŸ“Ļ

Via Cargo

cargo install search-in-terminal

From Source

git clone https://github.com/zykowal/search-in-terminal.git
cd search-in-terminal
cargo install --path .

Usage 🛠ī¸

After installation, simply run:

st

Keyboard Shortcuts ⌨ī¸

  • i: Input mode
  • <C-u>: Clear input
  • Esc: Exit input mode
  • Enter: Execute search when in input mode
  • e: Switch search engine
  • ↑/↓: Browse search results
  • k/j: Browse search results
  • Enter: Open selected result in browser
  • q: Quit program

Configuration ⚙ī¸

Configuration file location:

  • Linux/macOS: ~/.config/st/config.toml
  • Windows: %APPDATA%\st\config.toml

For detailed configuration options, please see:

Development 👨‍đŸ’ģ

Requirements

  • Rust 2021 edition

Build

git clone https://github.com/zykowal/search-in-terminal.git
cd search-in-terminal
cargo build --release

FAQ 💭

How do I add a custom search engine?

Edit your config file and add a new entry under the [search.engines] section. See the Configuration Guide for details.

How do I change the default search engine?

Set the default_engine option in your config file. See the Configuration Guide for details.

Does it work with proxies?

Sorry! Temporarily unsupported. Use system-level proxy settings.

Contributing 🤝

We welcome contributions! Please see our Contributing Guide for details.

License 📝

MIT License

Author 👤

zykowal

Changelog 📋

See CHANGELOG.md for release details.

Commit count: 7

cargo fmt