Skip to content

loveMEnnui/sea-fish-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sea 🌊

Search the web from your terminal
Fish Shell Version Version

A Fish shell function that lets you search the web using multiple search engines, ChatGPT, and direct URLs with browser integration. Features intelligent history and interactive fuzzy finding with fzf.

Demo 📸

Interactive Mode

Sea's interactive fzf interface

ChatGPT Search

sea !ch "explain quantum computing"

ChatGPT search results

Features

  • 🔍 Multiple search engines via "!bangs" (Google, Wikipedia, YouTube, GitHub, etc.)
  • 🤖 ChatGPT integration (!ch bang)
  • 📜 Search history persistence
  • 🔎 Interactive fuzzy search with fzf
  • 🗺️ Direct URL opening
  • 🚀 Brave browser integration (default)
  • 🗑️ History management (Ctrl-D to delete entries)

USAGE

Use sea !ch docker to search ChatGPT

Default search (Brave) sea my awesome query

Search with a bang sea !gfish shell scripting sea !yt epic cat videos sea !ghfisher

Open a URL directly

sea example.com sea https://fishshell.com

Interactive menu (no arguments) : sea

Press Ctrl-D on a history item in the fzf menu to delete it. Available Bangs:

!g - Google !w - Wikipedia !yt - YouTube !gh - GitHub !ddg - DuckDuckGo !def - Define (DDG) !map - Google Maps !lucky - Brave (I'm Feeling Lucky)

Configuration The search history is stored in ~/.config/fish/sea_history.txt. Bangs and the default search engine are configured within the sea.fish function itself.

Installation

  1. Ensure you have:

    • Fish Shell v3.3.1+
    • fzf
    • Brave browser (or modify code for your preferred browser)
  2. for easy install use fisher[fish shell package manager]:

    fisher install samunderSingh12/sea-fish-plugin
    
  3. first of all install fisher[duh]:

    curl -sL https://git.io/fisher | source && fisher install jorgebucaran/fisher

About

`sea` is a Fish shell function to quickly search Brave, Google, YouTube, GitHub, Wikipedia, and more directly from your terminal. It features history, bang commands, and an interactive `fzf` menu.

Resources

License

Stars

8 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages