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
- Host: GitHub
- URL: https://github.com/luckylittle/lightweight-web-based-full-text-search-engine
- Owner: luckylittle
- License: mit
- Created: 2024-03-28T09:00:15.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-31T11:51:36.000Z (about 2 years ago)
- Last Synced: 2025-01-10T12:01:48.380Z (over 1 year ago)
- Topics: as-you-type, dynamic-results, flat-file, full-text-search, lightweight, nodejs, search, txt-file, web-based
- Language: HTML
- Homepage:
- Size: 4.88 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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