Hanna 8b6c0ca6f1 Revert "Subdir support and gitignore config.php" | há 2 anos atrás | |
---|---|---|
engines | há 2 anos atrás | |
misc | há 2 anos atrás | |
static | há 2 anos atrás | |
LICENSE | há 2 anos atrás | |
README.md | há 2 anos atrás | |
api.php | há 2 anos atrás | |
config.php | há 2 anos atrás | |
donate.php | há 2 anos atrás | |
index.php | há 2 anos atrás | |
opensearch.xml | há 2 anos atrás | |
search.php | há 2 anos atrás | |
settings.php | há 2 anos atrás |
A privacy respecting free as in freedom meta search engine
If you wish to get your instance added create an issue with the new instance
label and this information:
Your request will be rejected if your instance:
Hosting LibreX should be easy since no 3rd party PHP libs are used.
All you need is PHP with the curl extension enabled.
If you want to host it just for yourself a PHP development server should be enough:
git clone https://github.com/hnhx/librex.git
cd librex
sudo php -S 127.0.0.1:80
If you want to host an online instance you should consider using a production web server (e.g.: nginx).
Example API request: .../api.php?q=gentoo&p=2&type=0
q
is the keywordp
is the result page (the first page is 0
)type
is the search type (0
=text, 1
=image, 2
=video, 3
=torrent)
The API also supports both POST and GET requests.
Address: 41dGQr9EwZBfYBY3fibTtJZYfssfRuzJZDSVDeneoVcgckehK3BiLxAV4FvEVJiVqdiW996zvMxhFB8G8ot9nBFqQ84VkuC
QR code: