luckylittle / lightweight-web-based-full-text-search-engine

Lightweight web-based full-text search engine

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

# 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

About

Lightweight web-based full-text search engine

License:MIT License


Languages

Language:HTML 45.1%Language:JavaScript 36.6%Language:Dockerfile 18.3%