MCPcopy Create free account
hub / github.com/OpenOSINT/OpenOSINT / run_server

Function run_server

openosint/web_server.py:959–966  ·  view source on GitHub ↗

Standalone blocking entry point.

(host: str = "0.0.0.0", port: int = 8080)

Source from the content-addressed store, hash-verified

957
958
959def run_server(host: str = "0.0.0.0", port: int = 8080) -> None:
960 """Standalone blocking entry point."""
961 from dotenv import load_dotenv
962
963 load_dotenv()
964 app = create_app()
965 _print_banner(host, port)
966 uvicorn.run(app, host=host, port=port, log_level="warning")
967
968
969def _print_banner(host: str, port: int) -> None:

Callers

nothing calls this directly

Calls 3

create_appFunction · 0.85
_print_bannerFunction · 0.70
runMethod · 0.45

Tested by

no test coverage detected