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
Release history Release notifications | RSS feed
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.2.tar.gz
(17.2 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.2.tar.gz.
File metadata
- Download URL: dumbwebsearch-0.3.2.tar.gz
- Upload date:
- Size: 17.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.2.0 CPython/3.14.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9d7dbc5cd9a8e3fd486fc26aa7bfd42b2f0e829a31fa571d9865539008d223a2
|
|
| MD5 |
02a151bdb6e3173c688ab9dba5ebb03a
|
|
| BLAKE2b-256 |
42a56be9525334aba0c5b7154e1f54f5d12ce40e607c4b0b94edd903f4b2b95e
|
File details
Details for the file dumbwebsearch-0.3.2-py3-none-any.whl.
File metadata
- Download URL: dumbwebsearch-0.3.2-py3-none-any.whl
- Upload date:
- Size: 5.8 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 |
bb52996522af01b2678f036a351ef5cb568fc571bb950bfa969a7016ada5ec80
|
|
| MD5 |
a666a1719422910c1338a0dda3d51a8b
|
|
| BLAKE2b-256 |
c088be2e66f25e0b13bbdf6937d33f75dc84309ec93df98cfa4f5a32c3914e16
|