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/dumbsearch: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.4.1.tar.gz
(22.6 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.4.1.tar.gz.
File metadata
- Download URL: dumbwebsearch-0.4.1.tar.gz
- Upload date:
- Size: 22.6 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.2.0 CPython/3.14.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f8adf7a69cf7a3ea2ebc952ae60c89e0f1bbe9966de8ca697b56c17f6f0ffe5e
|
|
| MD5 |
e94c73e632d231fa87ba7b7a8b8b0e4b
|
|
| BLAKE2b-256 |
8c877a90bd1d1281c52955a6dcbe37fa00c078b013311020d48430fe85147bc3
|
File details
Details for the file dumbwebsearch-0.4.1-py3-none-any.whl.
File metadata
- Download URL: dumbwebsearch-0.4.1-py3-none-any.whl
- Upload date:
- Size: 9.0 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 |
c917b0f1969427586c81438aac928a7df79051352338d75615af09f1b4eca31e
|
|
| MD5 |
7991e4854aa107fe4b9506176c79a263
|
|
| BLAKE2b-256 |
bc93526a619add6b8b97a6e31122368b0d444865d051a3d64764f0d2e9072f7c
|