Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jokimina/cbox-chrome-extension
Chrome Command Line Panel
https://github.com/jokimina/cbox-chrome-extension
cbox chrome-extension command search
Last synced: 16 days ago
JSON representation
Chrome Command Line Panel
- Host: GitHub
- URL: https://github.com/jokimina/cbox-chrome-extension
- Owner: jokimina
- License: apache-2.0
- Created: 2023-12-13T09:35:08.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-01-05T03:27:18.000Z (10 months ago)
- Last Synced: 2024-08-17T00:00:05.560Z (3 months ago)
- Topics: cbox, chrome-extension, command, search
- Language: TypeScript
- Homepage:
- Size: 16.8 MB
- Stars: 103
- Watchers: 2
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
English | [δΈζ](README_zh.md)
# 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](full-demo.gif)
[Demo Video](https://www.youtube.com/watch?v=cHfkT2OMwtc)
# 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.
- [Chrome Web Store](https://chromewebstore.google.com/detail/cbox/cekckmkolmlobfidedolgcppfgbinhmc?hl=en)
# 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:
| Command | Description | Example |
| ------- | ------------------------------- | ----------- |
| `@` | π 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](https://www.fusejs.io/examples.html#extended-search) for more advanced search capabilities.
| Token | Match type | Description |
| ----------- | -------------------------- | -------------------------------------- |
| `jscript` | fuzzy-match | Items that fuzzy match `jscript` |
| `=scheme` | exact-match | Items that are `scheme` |
| `'python` | include-match | Items that include `python` |
| `!ruby` | inverse-exact-match | Items that do not include `ruby` |
| `^java` | prefix-exact-match | Items that start with `java` |
| `!^earlang` | inverse-prefix-exact-match | Items that do not start with `earlang` |
| `.js$` | suffix-exact-match | Items that end with `.js` |
| `!.go$` | inverse-suffix-exact-match | Items that do not end with `.go` |# Contact
If you have any questions or suggestions, you can open an issue or contact me via:
- [Email](mailto:[email protected])
- [Twitter](https://twitter.com/guageaaa)# Contributing
Contributions are welcome!