# librex

> LibreX is a self-hosted, open-source metasearch engine that pulls from Google, Qwant, Ahmia, and torrent sites without tracking users or needing JavaScript.

- **Category:** Search Engines
- **Licence:** AGPL-3.0
- **Open source:** oss
- **Languages:** PHP, CSS
- **Platforms:** Docker, Docker Compose, Build from Source
- **Tags:** API, Privacy, Search, Torrents, Tor, Google, Search Engine, Meta Search Engine, Docker, Php, I2p, Self Hosted, Google Api, Torrent search, Javascript free, Privacy frontend, Metasearch Engine, Thepiratebay Api, 1337x Api, Nyaa Api, Rutor Api, Onion Service, Ahmia Api, Bang Search, Open Search

## Description

LibreX is a PHP-based metasearch tool that prioritizes privacy by aggregating results from multiple sources including Google, Qwant, Ahmia, and torrent indexes. It removes tracking parameters from links and swaps mainstream platforms for privacy-respecting alternatives such as Invidious for YouTube and Nitter for Twitter. The interface works without any JavaScript, and the engine can be reached over Tor and I2P. A JSON API is available for programmatic access. Deployment options include Docker, Docker Compose, or a classic nginx and PHP-FPM setup on Linux and BSD. There are no user accounts, no logging, and no caching. Extra capabilities include bang commands, instant answers for things like currency conversion, several color schemes, and OpenSearch integration. The codebase is deliberately free of external libraries and frameworks.

## Links

- [Homepage](https://github.com/hnhx/librex/wiki/How-to-host-LibreX)
- [Docker](librex/librex)
- [GitHub Repository](https://github.com/hnhx/librex)
- [Wiki (Documentation)](https://github.com/hnhx/librex/wiki)
- [Docker Hub](https://hub.docker.com/r/librex/librex)
- [How to host LibreX](https://github.com/hnhx/librex/wiki/How-to-host-LibreX)
- [How to host LibreX with Docker](https://github.com/hnhx/librex/wiki/How-to-host-LibreX-with-Docker)
- [Features](https://github.com/hnhx/librex/wiki/Features)
- [LibreX API](https://github.com/hnhx/librex/wiki/LibreX-API)

---
Source: https://selfhost.directory/project/librex