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
Metadata
Release files for dumbwebsearch 0.4.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| dumbwebsearch-0.4.1.tar.gz | 22.6 MB | Without provenance | Details for dumbwebsearch-0.4.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| dumbwebsearch-0.4.1-py3-none-any.whl | Python 3 | none | any | Details for dumbwebsearch-0.4.1-py3-none-any.whl |
Total release size: 22.6 MB
Release files / dumbwebsearch-0.4.1.tar.gz
| Download URL | dumbwebsearch-0.4.1.tar.gz |
|---|---|
| Size | 22.6 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f8adf7a69cf7a3ea2ebc952ae60c89e0f1bbe9966de8ca697b56c17f6f0ffe5e
|
|
BLAKE2b-256 checksum How to use checksums |
8c877a90bd1d1281c52955a6dcbe37fa00c078b013311020d48430fe85147bc3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.2.0 CPython/3.14.4
|
Release files / dumbwebsearch-0.4.1-py3-none-any.whl
| Download URL | dumbwebsearch-0.4.1-py3-none-any.whl |
|---|---|
| Size | 9.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c917b0f1969427586c81438aac928a7df79051352338d75615af09f1b4eca31e
|
|
BLAKE2b-256 checksum How to use checksums |
bc93526a619add6b8b97a6e31122368b0d444865d051a3d64764f0d2e9072f7c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.2.0 CPython/3.14.4
|
Security for dumbwebsearch 0.4.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.