Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/abetomo/spreadsearch

Search Google Spreadsheet data using Groonga.
https://github.com/abetomo/spreadsearch

google-spreadsheet groonga json spreadsheet

Last synced: 3 months ago
JSON representation

Search Google Spreadsheet data using Groonga.

Awesome Lists containing this project

README

        

# spreadsearch

[![npm version](https://badge.fury.io/js/%40abetomo%2Fspreadsearch.svg)](https://badge.fury.io/js/%40abetomo%2Fspreadsearch)

Search Google Spreadsheet data using Groonga.

## install
[Groonga]:http://groonga.org/
[Nroonga]:https://nroonga.github.io/

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

```

#### 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.