Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xypnox/browserquery
Query your current browser tabs
https://github.com/xypnox/browserquery
firefox-addon firefox-extension
Last synced: 16 days ago
JSON representation
Query your current browser tabs
- Host: GitHub
- URL: https://github.com/xypnox/browserquery
- Owner: xypnox
- Created: 2024-08-01T11:31:43.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-08-17T11:50:36.000Z (6 months ago)
- Last Synced: 2024-11-23T12:31:20.510Z (3 months ago)
- Topics: firefox-addon, firefox-extension
- Language: TypeScript
- Homepage: https://addons.mozilla.org/en-US/firefox/addon/browserquery/
- Size: 919 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Browserquery
![Screenshot of browserquery with tabs grouped by domain](./screens/screen-group.png)
![Screenshot of browserquery with tabs filtered by text solidjs](./screens/screen-filter.png)Query your current browser tabs.
[Get this Extension for 🦊 Firefox](https://addons.mozilla.org/en-US/firefox/addon/browserquery/)
---
It filters tabs from direct string match with url or title of the tab.
It groups by:
- "domain", // Domain of the url
- "window", // Window ID
- "active", // Whether the window has not been discarded
- "time", // Currently in months
- "audio", // If there is any audio playing
- "article", // Whether it can be rendered in the firefox reader mode (isn't reliable tbh)
- "pinned", // Whether the tab is pinned
- "duplicate", // Ability to close all duplicate and also all duplicate but one.It asks for confirmation when closing tabs in bulk.
Doesn't ask when closing all but one for duplicate tabs.## Shortcuts
| Shortcut | Description |
| --- | --- |
| `Alt + Shift + Space` | Open the popup |
| `Command + Alt + Shift + Space` | ... (Mac) |
| | |
| **When input is not focused** | |
| `G` | Focus on the Group input |
| `X` or `Delete` | Close currently focused tab |By design, it only queries for tabs that start with http, so tabs from extensions will not show up.
> Iosevka Term font recommended but not required
---
## Build Steps
1. Requirements
1. [Node.js](https://nodejs.org/en)
2. [pnpm](https://pnpm.io/)```bash
pnpm i # Install dependencies
pnpm build # Build for Chrome
# OR
pnpm build:firefox # Build for Firefox
```## Dev
```bash
pnpm dev
# OR
pnpm dev:firefox
```