# sindresorhus/refined-github

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/sindresorhus-refined-github).**

31,587 stars · 1,798 forks · TypeScript · MIT

## Links

- GitHub: https://github.com/sindresorhus/refined-github
- awesome-repositories: https://awesome-repositories.com/repository/sindresorhus-refined-github.md

## Description

Refined GitHub is a browser extension that modifies the GitHub web interface to add features and remove annoyances. It functions as a user interface enhancement tool that uses custom CSS and JavaScript to rearrange layouts and inject new interactive elements into GitHub pages.

The project serves as a workflow automation tool and repository utility, providing capabilities to automate pull request tasks such as branch cleanup and commit defaults. It acts as a code review assistant by identifying conflicting pull requests and improving navigation for code references.

The extension covers several functional areas, including repository management with folder downloads and version tracking, discussion enhancement via improved comment sorting and readability, and general interface optimization to remove redundancies and increase screen efficiency.

## Tags

### Development Tools & Productivity

- [GitHub Browser Extensions](https://awesome-repositories.com/f/development-tools-productivity/github-browser-extensions.md) — Acts as a browser extension specifically designed to augment and modify the GitHub web interface.
- [Code Review Assistants](https://awesome-repositories.com/f/development-tools-productivity/code-review-assistants.md) — Provides tools for identifying conflicting pull requests and navigating code references during reviews.
- [Discussion Navigation Enhancements](https://awesome-repositories.com/f/development-tools-productivity/github-repository-navigation-enhancements/discussion-navigation-enhancements.md) — Improves the readability of issues and pull requests with better comment sorting and content previews.
- [Interface Injection Tools](https://awesome-repositories.com/f/development-tools-productivity/github-repository-navigation-enhancements/interface-injection-tools.md) — Uses custom CSS and JavaScript to rearrange layouts and inject new interactive elements into GitHub pages.
- [Repository View Utilities](https://awesome-repositories.com/f/development-tools-productivity/github-repository-navigation-enhancements/repository-view-utilities.md) — Adds utility features to repository views, including folder downloads and enhanced headers.
- [GitHub Repository Utilities](https://awesome-repositories.com/f/development-tools-productivity/github-repository-utilities.md) — Provides added functionality such as folder downloads and expanded repository header information.
- [Pull Request Workflow Utilities](https://awesome-repositories.com/f/development-tools-productivity/pull-request-processes/pull-request-workflow-utilities.md) — Speeds up pull request management through automated branch cleanup and commit defaults.
- [Web-Based Pull Request Review Interfaces](https://awesome-repositories.com/f/development-tools-productivity/web-based-pull-request-review-interfaces.md) — Identifies conflicting pull requests via color-coded counts and allows marking multiple files as viewed with a single click. ([source](https://github.com/sindresorhus/refined-github#readme))
- [Code Reading Aids](https://awesome-repositories.com/f/development-tools-productivity/code-reading-aids.md) — Aids code analysis by linkifying references, copying permalinks via hotkeys, and alerting users to open pull requests. ([source](https://github.com/sindresorhus/refined-github#readme))
- [Comment Composition Aids](https://awesome-repositories.com/f/development-tools-productivity/comment-formatting-utilities/structured-comment-management/rich-comment-content/comment-composition-aids.md) — Enhances text entry using tab indentation, auto-resizing fields, and shortcuts for collapsible content and formatted tables. ([source](https://github.com/sindresorhus/refined-github#readme))
- [Comment Scanability Improvements](https://awesome-repositories.com/f/development-tools-productivity/comment-formatting-utilities/structured-comment-management/rich-comment-content/comment-scanability-improvements.md) — Makes discussions easier to scan by embedding short gists, showing reaction avatars, and highlighting useful comments. ([source](https://github.com/sindresorhus/refined-github#readme))
- [Commit Detail Inspectors](https://awesome-repositories.com/f/development-tools-productivity/commit-history-analysis/commit-detail-inspectors.md) — Improves timeline visibility by linking to patch files, showing corresponding tags, and marking merge commits. ([source](https://github.com/sindresorhus/refined-github#readme))
- [PR Netiquette Enforcement](https://awesome-repositories.com/f/development-tools-productivity/pull-request-review-tools/policy-enforcement-rules/pr-netiquette-enforcement.md) — Warns users against common anti-patterns and displays reminders for old closed issues during pull request creation. ([source](https://github.com/sindresorhus/refined-github#readme))
- [Web-Based File Browser Utilities](https://awesome-repositories.com/f/development-tools-productivity/web-based-file-browser-utilities.md) — Accelerates file access by downloading entire folders, editing from the list, and previewing HTML content. ([source](https://github.com/sindresorhus/refined-github#readme))

### Part of an Awesome List

- [Code Review Tools](https://awesome-repositories.com/f/awesome-lists/devtools/code-review-tools.md) — Implements linkified references and conflict identification to improve code review efficiency.
- [Interface Enhancements](https://awesome-repositories.com/f/awesome-lists/devtools/interface-enhancements.md) — Modifies the visual layout and interaction patterns of the GitHub web interface to improve content interaction. ([source](https://github.com/sindresorhus/refined-github#readme))
- [Pull Request Automation](https://awesome-repositories.com/f/awesome-lists/devtools/pull-request-automation.md) — Simplifies workspace cleanup using squash commit defaults, rebase buttons, and automatic branch deletion after merging. ([source](https://github.com/sindresorhus/refined-github#readme))
- [URL Path Logic Triggers](https://awesome-repositories.com/f/awesome-lists/devtools/regex-and-pattern-matching/regex-pattern-matching/url-pattern-matchers/url-path-logic-triggers.md) — Triggers specific feature sets by matching the current browser address against predefined page paths during navigation.
- [GitHub Automation Tools](https://awesome-repositories.com/f/awesome-lists/devtools/github-automation-tools.md) — Provides automated utilities for managing pull requests, branch cleanup, and commit defaults.
- [Browser Extensions and Plugins](https://awesome-repositories.com/f/awesome-lists/devtools/browser-extensions-and-plugins.md) — Simplifies and enhances the GitHub interface.

### User Interface & Experience

- [Dynamic Element Injection](https://awesome-repositories.com/f/user-interface-experience/dynamic-element-injection.md) — Adds new buttons and interactive elements by attaching event listeners to existing native page components.
- [Interface Density Optimizations](https://awesome-repositories.com/f/user-interface-experience/interface-density-optimizations.md) — Increases screen efficiency by applying sticky headers, improving data file previews, and removing redundant sidebar information. ([source](https://github.com/sindresorhus/refined-github#readme))
- [Interface Efficiency Optimizations](https://awesome-repositories.com/f/user-interface-experience/interface-efficiency-optimizations.md) — Customizes the interface to remove redundancies and improve screen efficiency for a streamlined experience.
- [CSS Layout Overlays](https://awesome-repositories.com/f/user-interface-experience/overlay-interfaces/css-layout-overlays.md) — Applies custom stylesheets to hide redundant elements and rearrange page layouts without altering original site logic.
- [Discussion Navigation Enhancements](https://awesome-repositories.com/f/user-interface-experience/discussion-navigation-enhancements.md) — Accelerates navigation by sorting conversations by recent updates, hiding empty sidebars, and removing labels with single clicks. ([source](https://github.com/sindresorhus/refined-github#readme))

### Web Development

- [DOM Mutation Observation](https://awesome-repositories.com/f/web-development/dom-mutation-observation.md) — Monitors page structure changes to inject custom elements and styles into dynamically loaded content via a MutationObserver.

### Data & Databases

- [Client-Side Storage Persistence](https://awesome-repositories.com/f/data-databases/data-engineering-infrastructure/data-persistence-storage/data-storage/client-side-persistence/client-side-storage-persistence.md) — Stores user preferences and configuration settings locally in the browser to maintain custom settings across sessions.

### DevOps & Infrastructure

- [Latest Version Identification](https://awesome-repositories.com/f/devops-infrastructure/version-control-automation/commit-based-versioning-engines/latest-version-identification.md) — Indicates if the current view is the latest version and tracks how many commits a branch trails the head. ([source](https://github.com/sindresorhus/refined-github#readme))

### Software Engineering & Architecture

- [Repository Header Indicators](https://awesome-repositories.com/f/software-engineering-architecture/project-management-governance/repository-maintenance/repository-metadata/repository-status-indicators/repository-header-indicators.md) — Provides immediate project context by displaying stars, CI status, fork counts, and privacy settings in the header. ([source](https://github.com/sindresorhus/refined-github#readme))
