Skip to content

zykowal/search-in-terminal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

7 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

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.

About

Search In Terminal.๐Ÿš€

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages