Issues and PRs welcome. Keep changes scoped - this is a single-file tool.
python -m venv .venv && source .venv/bin/activate
pip install -e ".[dev]"
pre-commit installruff check .
black --check .
pytest -qThe same three commands run in CI on Python 3.11 and 3.12.
- PEP 8, line length 120. Ruff and Black are the source of truth.
- Type hints on public symbols.
websearch.pymust stay self-contained. Open WebUI loads it as a single uploaded blob, so sibling modules are not importable at runtime.- Bump
version:in thewebsearch.pyfrontmatter (andpyproject.toml) when behavior changes.