GitHub Advanced Search Builder

Advanced filter modal for GitHub search with OR/AND/NOT logic and native look.

目前為 2025-12-26 提交的版本,檢視 最新版本

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

You will need to install an extension such as Tampermonkey to install this script.

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

作者
quantavil
評價
0 0 0
版本
1.6
建立日期
2025-12-26
更新日期
2025-12-26
尺寸
9.9 KB
授權條款
MIT
腳本執行於

# GitHub Advanced Search Builder

A lightweight userscript that adds an advanced search modal to GitHub's header, allowing you to build complex search queries with ease using AND, OR, and NOT logic, along with various metadata filters.

## Features
- **Visual Builder**: No need to remember GitHub's search syntax.
- **AND/OR/NOT Logic**: Easily combine or exclude terms.
- **Metadata Support**: Filter by user/owner, repository, language, file extension, stars, forks, and file path.
- **Native Look**: Styled using GitHub's design system variables for a seamless experience.
- **Hotkeys**: Toggle the modal with `Ctrl+Shift+F`.
- **Responsive**: Works with both the legacy and the new GitHub header designs.

## Installation
1. Install a userscript manager like [Tampermonkey](https://www.tampermonkey.net/) or [Greasemonkey](https://www.greasemonkey.org/).
2. Click [here](https://raw.githubusercontent.com/quantavil/userscript/master/github-filter/main.js) (replace with actual raw link if different) to install the script.
3. Refresh GitHub to see the "Filter" button next to the search bar.

## Usage
- Click the **Filter** button or press **Ctrl+Shift+F**.
- Fill in your criteria.
- Hit **Search** to be redirected to the results page.

## License
MIT