2024-01-31 15:30:27 +01:00
2023-12-30 14:32:59 +00:00
2023-11-11 23:43:27 +00:00
2023-11-11 11:16:53 +00:00
2022-02-23 20:56:00 +01:00
2024-01-31 15:30:27 +01:00
2023-11-11 23:27:14 +00:00

LibreY

Docker Image CI

LibreY is a fork of LibreX, a framework-less and javascript-free privacy respecting meta search engine, made by hnhx. LibreY changed some features like automatic redirection. The original code is written by hnhx and contributors


Matrix

If there's an important announcement, we do have a Matrix chatroom which you can join over at #librey:ahwx.org.

Instances

You can find a list of instances on any LibreY instance by accessing /instances.php.
Alternatively look at instances.json where the list is generated from.

While the official instances may be more updated and have better uptime, please consider using another person's instances as these are heavily overloaded.
Support the community. ❤️

@Ahwxorg's instance:
search.ahwx.org
Tor
search2.ahwx.org
Tor
search3.ahwx.org
Tor

@davidovski's instance:
search.davidovski.xyz

@codedipper's instance:
librex.me
librex.revvy.de
Tor
I2P

How to host LibreY

To host LibreY using Docker, you can follow the instructions in the Docker directory.

To host LibreY using your OS's native package manager and PHP+NGINX, you can follow the following steps:

These instructions are for Debian GNU/Linux but it should be similar on all GNU/Linux distros (alter the apt commands and systemctl commands to suit your distros native package management and init service.) and *BSD systems.

Install the packages

sudo apt install php php-fpm php-dom php-curl php-apcu nginx git

Clone LibreY

git clone https://github.com/Ahwxorg/LibreY.git

Rename the config and opensearch file

cd librey
mv config.php.example config.php
mv opensearch.xml.example opensearch.xml

Change opensearch.xml to point to your domain

sed -i 's/http:\/\/localhost:80/https:\/\/your.domain/g' opensearch.xml

Example nginx config

server {
        listen 80;

        server_name your.domain;

        root /var/www/html/LibreY;
        index index.php;

        location ~ \.php$ {
               include snippets/fastcgi-php.conf;
               fastcgi_pass unix:/run/php/php-fpm.sock;
        }
}

You could also remove the php extension, which is optional. Add this code inside the server {} block.

location / {
       try_files $uri $uri/ @extensionless-php;
}

location @extensionless-php {
       rewrite ^(.*)$ $1.php last;
}

Start php-fpm and nginx

sudo systemctl enable --now php-fpm nginx

Now LibreY should be running!

About LibreY

LibreY gives you text results from Google, DuckDuckGo, Brave Search, Ecosia, Yandex Search and Mojeek. LibreY provides images from Qwant, and torrents from i.e. Ahmia and popular torrent sites. LibreY does this without spying on you.
LibreY doesn't save any type of data about the user, there are no logs (except NGINX logs if the host sets them).

LibreY compared to other metasearch engines

Name Works without JS Privacy frontend redirect Torrent results API No 3rd party libs used
LibreY
SearXNG Not user friendly Only host can set it
Whoogle Only host can set it
S
Description
No description provided
Readme 3.3 MiB
Languages
PHP 81.5%
CSS 13%
Shell 4.1%
Dockerfile 1.4%