# libredirect/libredirect

**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/libredirect-libredirect).**

3,910 stars · 140 forks · JavaScript · GPL-3.0

## Links

- GitHub: https://github.com/libredirect/libredirect
- Homepage: https://libredirect.manerakai.com
- awesome-repositories: https://awesome-repositories.com/repository/libredirect-libredirect.md

## Description

libredirect is a browser extension redirector and privacy frontend router. It functions as a web request redirector that automatically sends requests to privacy-friendly alternative frontends to prevent tracking.

The tool routes web traffic from popular websites to anonymous mirror sites and privacy-preserving versions of the same content. This mechanism is used for online tracking prevention by bypassing official site domains in favor of anonymity-preserving gateways to minimize data collection.

The project utilizes client-side request interception and declarative network request filtering to match URL patterns against a JSON-based redirect map. It employs pattern-based URL rewriting to transform request URLs into alternative addresses while preserving paths and queries.

## Tags

### Networking & Communication

- [Privacy-Focused Redirectors](https://awesome-repositories.com/f/networking-communication/privacy-focused-redirectors.md) — Automatically routes web traffic from tracking-heavy websites to privacy-respecting alternative frontends. ([source](https://github.com/libredirect/libredirect#readme))
- [Client-Side Request Manipulations](https://awesome-repositories.com/f/networking-communication/client-side-request-manipulations.md) — Implements client-side modification of outgoing network requests to bypass tracking by altering destinations.
- [Declarative Network](https://awesome-repositories.com/f/networking-communication/http-proxies/proxy-request-routers/request-filters/declarative-network.md) — Uses a declarative rule-set to match and redirect network requests at the browser level.
- [Automatic Traffic Redirection Handlers](https://awesome-repositories.com/f/networking-communication/traffic-redirection-tools/automatic-traffic-redirection-handlers.md) — Intercepts mainstream platform requests and reroutes them to privacy-focused alternative mirrors.

### Data & Databases

- [URL Redirect Mappings](https://awesome-repositories.com/f/data-databases/url-redirect-mappings.md) — Maintains a structured mapping of original domains to privacy-preserving alternative URLs.

### Security & Cryptography

- [Tracking Prevention](https://awesome-repositories.com/f/security-cryptography/online-status-privacy-controls/tracking-prevention.md) — Prevents online tracking by bypassing official domains in favor of anonymity-preserving gateways.
- [Privacy Browsing Tools](https://awesome-repositories.com/f/security-cryptography/privacy-browsing-tools.md) — Provides a tool to mask network traffic by routing requests through privacy-preserving frontends.

### Web Development

- [Pattern-Based URL Rewriting](https://awesome-repositories.com/f/web-development/url-construction/url-component-deconstructors/url-component-replacements/pattern-based-url-rewriting.md) — Transforms request URLs into alternative frontend addresses by replacing domain patterns while preserving paths.

### Part of an Awesome List

- [Browser Extensions](https://awesome-repositories.com/f/awesome-lists/devtools/browser-extensions.md) — Redirects web requests to privacy-friendly alternative frontends.
- [Redirection And Utilities](https://awesome-repositories.com/f/awesome-lists/devtools/redirection-and-utilities.md) — Browser extension for redirecting requests to privacy-focused frontends.
- [Social Platforms](https://awesome-repositories.com/f/awesome-lists/media/social-platforms.md) — Browser extension to automatically redirect requests to privacy-friendly alternatives.
