Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
crawl4ai-reddit-proxy
command
Command crawl4ai-reddit-proxy is the entry point.
|
Command crawl4ai-reddit-proxy is the entry point. |
|
internal
|
|
|
auth
Package auth defines an Authenticator interface for inbound transports.
|
Package auth defines an Authenticator interface for inbound transports. |
|
config
Package config loads all runtime configuration from CARP_-prefixed environment variables.
|
Package config loads all runtime configuration from CARP_-prefixed environment variables. |
|
domain
Package domain holds the core types exchanged between transports and engines.
|
Package domain holds the core types exchanged between transports and engines. |
|
engine
Package engine defines the dispatch mechanism that picks the right per-URL handler.
|
Package engine defines the dispatch mechanism that picks the right per-URL handler. |
|
engine/crawl4ai
Package crawl4ai implements the fallback engine: dispatches generic URLs to an upstream crawl4ai instance and reshapes the response into the canonical Document.
|
Package crawl4ai implements the fallback engine: dispatches generic URLs to an upstream crawl4ai instance and reshapes the response into the canonical Document. |
|
engine/reddit
Package reddit implements the Reddit-specific engine: fetches threads via the public JSON API, expands collapsed reply branches with /api/morechildren, strips fields, drops deleted comments, and emits TOON or JSON.
|
Package reddit implements the Reddit-specific engine: fetches threads via the public JSON API, expands collapsed reply branches with /api/morechildren, strips fields, drops deleted comments, and emits TOON or JSON. |
|
httpx
Package httpx provides HTTP utilities shared across engines: a retrying HTTP client wrapper, per-domain rate limiter, and SSRF guards.
|
Package httpx provides HTTP utilities shared across engines: a retrying HTTP client wrapper, per-domain rate limiter, and SSRF guards. |
|
observability
Package observability wires structured logging, Prometheus metrics, and Kubernetes-style health endpoints.
|
Package observability wires structured logging, Prometheus metrics, and Kubernetes-style health endpoints. |
|
transport/mcp
Package mcp implements a minimal Model Context Protocol server.
|
Package mcp implements a minimal Model Context Protocol server. |
|
transport/openwebui
Package openwebui implements the HTTP transport that speaks Open WebUI's external-loader contract.
|
Package openwebui implements the HTTP transport that speaks Open WebUI's external-loader contract. |
|
version
Package version exposes build-time version metadata.
|
Package version exposes build-time version metadata. |
Click to show internal directories.
Click to hide internal directories.