SearchServer is a NodeJS/AngularJS web application which can substitute Google by fetching results from it, cleaning it and showing them to the user in a proper way.
It offer the possibility to register interesting permitting to retrieve them fast if you research them another time.
SearchServer supports OpenSearch then you can add it as a browser search engine.
- PostgreSQL 9.5 or greater
- Elasticsearch 1.0 or higher
- Install NodeJS & npm
Debian/Ubuntu:
apt-get install node npm
FreeBSD:
pkg install nodejs npm
- Clone the repository in /usr/local/www or /var/www, depending of your OS
- Launch server.js from node.js
git clone https://github.com/nerzhul/searchserver.git /usr/local/www
cd /usr/local/www
npm install
- Configure your postgresql database
Debian/Ubuntu:
apt-get install postgresql9.5-server
su - postgres
FreeBSD
pkg install postgresql95-server
su - pgsql
Create your user & database
createdb searchserver
createuser searchuser -P
psql searchserver
create table interesting_link (
ip inet NOT NULL,
url TEXT NOT NULL,
terms VARCHAR(1024) NOT NULL,
content TEXT NOT NULL,
title VARCHAR(256) NOT NULL,
PRIMARY KEY (ip,url,terms,content,title)
);
grant insert, select on interesting_link to searchuser;
Configure your database by copying config.js.example and changing the PostgreSQL chain
Launch NodeJS:
node server.js
Connect to the server on http://localhost:8080/
- AngularJS 1.4 (https://angularjs.org/)
- Spinkit spinner (http://tobiasahlin.com/spinkit/)
- Roboto (Google's Android)