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

https://github.com/luckylittle/lightweight-web-based-full-text-search-engine

Lightweight web-based full-text search engine
https://github.com/luckylittle/lightweight-web-based-full-text-search-engine

as-you-type dynamic-results flat-file full-text-search lightweight nodejs search txt-file web-based

Last synced: over 1 year ago
JSON representation

Lightweight web-based full-text search engine

Awesome Lists containing this project

README

          

# Lightweight full-text search for flat file

This is a lightweight web-based full-text search engine that works directly on a flat text file. The search results are displayed dynamically as you enter your query. It is based on `nodejs-18` + `express-4`. It is suprisingly fast even on large text files!

For an easier setup & containerized deployments, it's also available in Podman/Docker packaging.

## Instructions

```bash
# Edit/replace the `data.txt` file with your own, before packaging it into a container!

# Build
podman build -t fulltext .

# Run
podman run -d --name fulltext -p 3000:3000 fulltext
firefox http://127.0.0.1:3000/

# Cleanup
podman stop fulltext
podman rm fulltext
podman rmi fulltext
```

## Author

lmaly@redhat.com