Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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
```