Introduction

January 3, 2024 · View on GitHub

English | 中文

Introduction

Welcome to CBox!

CBox is a Chrome extension that allows you to summon a command-line panel on any webpage for quick navigation, commands, and searches.

CBox Demo

Demo Video

Local Development

First, run pnpm i to install the dependencies.

Then, run pnpm dev to start.

Download

Please note that after the initial installation, you will need to refresh the page to activate it because Chrome content scripts can only be injected during page load.

Features

  • 🌐 Fully offline, no internet connection required.
  • ⌨️ You can wake it up on any page.
  • ⏰ Recently active tabs
  • 🔍 Search and quickly jump/open tabs from your open tabs, bookmarks, and browsing history (up to 1 month and a maximum of 1000 entries).
  • 🔎 Quickly search and jump to different search engines.
  • ⚙️ Perform various browser operations with ease.
  • ⌨️ Custom shortcut

Usage

At any page, press Ctrl + Shift + K to open the command box.

If no specific command is given, it will search across all features and pages by default.

For more precise searches or specific actions, you can use the following commands:

CommandDescriptionExample
@🌐 Activate quick search@g openai
>⚡️ Activate quick commands>gb
/b🔖 Search only bookmarks/b xxx
/o📂 Search only open tabs/o xxx
/h⏰ Search only browsing history/h xxx

Advanced Usage

You can also take advantage of Fuse.js Extended Search for more advanced search capabilities.

TokenMatch typeDescription
jscriptfuzzy-matchItems that fuzzy match jscript
=schemeexact-matchItems that are scheme
'pythoninclude-matchItems that include python
!rubyinverse-exact-matchItems that do not include ruby
^javaprefix-exact-matchItems that start with java
!^earlanginverse-prefix-exact-matchItems that do not start with earlang
.js$suffix-exact-matchItems that end with .js
!.go$inverse-suffix-exact-matchItems that do not end with .go

Contact

If you have any questions or suggestions, you can open an issue or contact me via:

Contributing

Contributions are welcome!