|
3 years ago | |
---|---|---|
static | 3 years ago | |
README.md | 3 years ago | |
api.php | 3 years ago | |
config.php | 3 years ago | |
donate.xhtml | 3 years ago | |
fetch.php | 3 years ago | |
index.xhtml | 3 years ago | |
opensearch.xml | 3 years ago | |
search.php | 3 years ago | |
search_frame.php | 3 years ago | |
session_destroy.php | 3 years ago |
A privacy respecting free as in freedom meta search engine for Google
todo
Hosting LibreX should be easy since no 3rd party libs are used.
All you need is a webserver (e.g.: nginx) and PHP, and you are good to go.
Example API request: .../api.php?q=gentoo&p=2&img_search=false
Where q
is the keyword and p
is the result page (the first page is p=0
)
JSON result:
title
: Title of the result siteurl
: Full URL of the resultbase_url
: The base URL of the result (e.g.: http://example.com/test.php -> http://example.com/)base64
: The result image converted to base64 formatalt
: The description of the image
The API also supports both GET and POST requests