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

https://github.com/swilder-m/docsearch-scraper-simple


https://github.com/swilder-m/docsearch-scraper-simple

Last synced: 2 months ago
JSON representation

Awesome Lists containing this project

README

        

# Docsearch Scraper For EMQ Docs

## Install
```shell
pipenv install --keep-outdated
pipenv shell
```

## Set ENV
```shell
export APPLICATION_ID=
export API_KEY=
```

## Run
```shell
python3 -m src.index

python3 -m src.index global-config broker v4.3
python3 -m src.index config broker v4.3
```

> `CONFIG_FILE_NAME`: `global-config` or `config`
## Links
-
-

## Use for github action
```yaml
- name: update search index
uses: Swilder-M/docsearch-scraper-simple@v4
env:
APPLICATION_ID: ${{ secrets.ALGOLIA_APPLICATION_ID }}
API_KEY: ${{ secrets.ALGOLIA_API_KEY }}
with:
docs_type: ${{ env.DOCS_TYPE }}
docs_version: ${{ env.VERSION }}
```