truongdiv / query-server

A simple Query Server that stores a query string on a server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Query-Server

Build Status

Query server that stores a query or string on a server. This mini-tool can be used to process a query string. This string calls the search engine result scraper at searss and the output from the scraper is written to a file, named with the query string as file name.

Table of Contents

Dependencies

Installation

Make sure you have Nodejs installed. Running this tool requires installing the nodejs as well as python dependencies.

$ git clone https://github.com/fossasia/query-server.git 
$ cd query-server
$ npm install
$ pip install -r requirements.txt

Usage

To run the query server:

$ npm start

The search is prompted then.

Search for >>

Type query like (search engine choice)(query). For example: gharambe or d~fossasia

Options

  d~(query)         Use DuckDuckGo as search engine
  
  g~(query)         Use Google as search engine
                        
  b~(query)         Use Bing as search engine
                        

Contribute

Found an issue? Post it in the issue tracker

About

A simple Query Server that stores a query string on a server


Languages

Language:Python 75.3%Language:JavaScript 24.7%