Crates.io | metasearch |
lib.rs | metasearch |
version | 0.2.0 |
source | src |
created_at | 2024-07-01 04:09:31.394047 |
updated_at | 2024-08-06 07:44:25.594071 |
description | a cute metasearch engine |
homepage | |
repository | https://github.com/mat-1/metasearch2 |
max_upload_size | |
id | 1288362 |
size | 283,572 |
==========
metasearch
==========
https://github.com/mat-1/metasearch2
metasearch (aka metasearch2) is a cute metasearch engine. It sources its results from Google, Bing, Brave, and several others. It's designed to be as lightweight as possible, both on the server and client. There is no required client-side JavaScript.
There's a public demo instance at https://s.matdoes.dev, but please do not use it as your default or rely on it. This is so I don't get ratelimited by Google or other engines. Run your own instance instead!
The easiest way to install metasearch is with cargo install metasearch
. To get
the unstable version with the latest features, you can install it with
cargo install --git https://github.com/mat-1/metasearch2
.
Usage: metasearch [config_file]
The config_file argument is optional; if it's not specified then it'll be checked at the following locations:
If no config file exists, it'll be created at the first valid path in the list.
By default, metasearch runs on port 28019. You are encouraged to use a reverse proxy.
You can see all the default config options at src/config.rs
. Some interesting
options you may want to change are:
0.0.0.0:28019
./themes/catppuccin-mocha.css
.metasearch has a JSON API that can be enabled by setting api = true
in your
config. To use it, set the Accept: application/json
header in your requests.
For example: curl 'http://localhost:28019/search?q=sandcats' -H 'Accept: application/json'
The structure of the API is not guaranteed to be stable, as it relies on serializing internal structs. It may change without warning in the future.