Skip to content

This is the development version of PeARS, the people's search engine. More compact but less robust than PeARS-federated. If you just want to use PeARS in real life, use PeARS-federated instead.

License

Notifications You must be signed in to change notification settings

PeARSearch/PeARS-orchard

Repository files navigation

Orchard PeARS, with a fruit fly

What and why

PeARS (version Orchard) is a search engine that you can install and run locally from your browser. It allows you to 'index' pages (i.e. to produce a computer-readable representation of the pages' content, essential to the search process), and to search pages that you or your friends have indexed. Search happens entirely on your machine, meaning that no one knows what you are searching for and when.

The fruit fly version of Orchard includes a nifty indexing system based on the olfactory system of the actual fruit fly, (Drosophila melanogaster)which has already been used in other computer science applications and is recognised for its simplicity and high efficiency.

We gratefully acknowledge financial support from NLnet under the NGI Zero programme.

How does this fit with peer-to-peer PeARS?

The fully-fledged PeARS system (Peer-to-peer Agent for Reciprocated Search) is supposed to be completely distributed. You can imagine it as an 'automated' version of Phase 1, where you don't have to go and hunt for pods yourself. Your PeARS install will automatically find them on other users' systems and connect to them. We are still working on this phase of the project.

Installation and Setup

1. Clone this repo on your machine:
git clone https://github.com/PeARSearch/PeARS-orchard.git
2. Optional step Setup a virtualenv in your directory.

If you haven't yet set up virtualenv on your machine, please install it via pip:

sudo apt-get update

sudo apt-get install python3-setuptools

sudo apt-get install python3-pip

sudo pip3 install virtualenv

Then change into the PeARS-orchard directory:

cd PeARS-orchard

Then run:

virtualenv -p python3 env && source env/bin/activate
3. Install the build dependencies:

From the PeARS-orchard directory, run:

pip3 install -r requirements.txt
4. Optional step Install further languages

If you want to search and index in several languages at the same time, you can add multilingual support to your English install. To do this:

python3 install_language.py lc

where you should replace lc with a language code of your choice. You can check our organization to see which languages are currently available. The models for each language are saved in a repository of the form PeARS-public-pods-lc where again, 'lc' stands for a given language code. For instance, check out the French repo here: https://github.com/PeARSearch/PeARS-public-pods-fr.

5. Run your pear!

In the root of the repo, run:

python3 run.py

Usage

Now, go to your browser at localhost:8080. You should see the search page for PeARS. You don't have any pages indexed yet, so go to the F.A.Q. page (link at the top of the page) and follow the short instructions to get you going!

About

This is the development version of PeARS, the people's search engine. More compact but less robust than PeARS-federated. If you just want to use PeARS in real life, use PeARS-federated instead.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published