dumb web interface to search/browse indexed text files
Project description
dumb web search
- index a directory of text files in sqlite database
- web browse this directory
- web search this directory with indexed text
how to run
locally
./index.py --docroot /path/to/markdown/dir --database /path/to/database.sqlite index
HTTP_SERVER_BASEURL=/reverse/proxy/subpath HTTP_SERVER_PORT=1234 INDEX_DIR=/path/to/markdown/dir INDEX_DATABASE=/path/to/database.sqlite ./browse.wsgi
in a docker/podman container:
docker run -d -v /path/to/your/markdown/files:/text -v dumbwebsearch-db:/database -e HTTP_SERVER_BASEURL=/reverse/proxy/subpath -p 8000:8000 registry.gitlab.com/hydrargyrum/dumbwebsearch:latest
requirements
- python3
- sqlite to index/search text
- wsgi to expose said app
- jinja2 + bottle as web framework
- pandoc
security
- no authentication: put a reverse proxy in front of it with some login
- no optimization for performance: put a reverse proxy to prevent hammering
- pandoc is run to render markdown files, which may have its own problems
what could be better done
- don't make markdown so much ingrained in this app
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
dumbwebsearch-0.3.0.tar.gz
(11.1 MB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dumbwebsearch-0.3.0.tar.gz.
File metadata
- Download URL: dumbwebsearch-0.3.0.tar.gz
- Upload date:
- Size: 11.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.2.0 CPython/3.14.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fef39e629b3f62b820fde35c45dc679626480d83c1c61bcee6292ef7288c4b51
|
|
| MD5 |
d24d175ea28a3326008f05189037b588
|
|
| BLAKE2b-256 |
d254ea5e9bc54e4ee42c47bed24182c5704ab64c19aaf03b13872de0f8b9dc68
|
File details
Details for the file dumbwebsearch-0.3.0-py3-none-any.whl.
File metadata
- Download URL: dumbwebsearch-0.3.0-py3-none-any.whl
- Upload date:
- Size: 5.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.2.0 CPython/3.14.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
36dd7611752e340073e90c31c40c7273b4406faa5ee93a73b220206bc8cb6bd8
|
|
| MD5 |
7a0ca65f1fc263b66650e3cea32be718
|
|
| BLAKE2b-256 |
7b989ddd278799882fd63870c57538eaa84e7e7ee90ef62de0662b4baa7a6452
|