Advanced filter modal for GitHub search with OR/AND/NOT logic and native look.
目前為
# 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