Skip to content

abetomo/spreadsearch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

spreadsearch

npm version

Search Google Spreadsheet data using Groonga.

install

Please install as Nroonga needs Groonga.

After groonga installed, just do

% npm install @abetomo/spreadsearch

Usage

init

% spreadsearch init
Please set the '${HOME}/.spreadsearch/config.json'.

Please set it to config.json.

Update data

% spreadsearch update

Get data from the spreadsheet and make it searchable.

Search

batch

% spreadsearch search QUERY
<Show JSON of search results>

console

% spreadsearch console
Query> test
...Display results

Query>

config.json

authJsonPath

Use GCP service account credentials. You first need to create a service account, download its json key.