Installation
Requirements
- Python 3.10 or newer
- uv
- Substack credentials if you plan to use authenticated endpoints
Install Dependencies
From the repository root:
uv sync --dev
Run the Gateway
Start the application locally:
uv run python -m gateway_oss.main
By default the app listens on http://0.0.0.0:5001.
Smoke Test
Check the root metadata endpoint:
curl http://127.0.0.1:5001/
Check the public liveness probe:
curl http://127.0.0.1:5001/api/v1/health/live
Read the Docs
This repository includes:
mkdocs.ymlfor MkDocs site configuration.readthedocs.yamlfor Read the Docs build configurationdocs/requirements.txtfor documentation-only dependencies
If you connect the repository to Read the Docs, it can build the site directly from those files.