Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
edgefetch
command
Command edgefetch is a minimal-supply-chain HTTP/2 crawler (one Go dependency, with no transitive dependencies) that runs in three modes from one static binary:
|
Command edgefetch is a minimal-supply-chain HTTP/2 crawler (one Go dependency, with no transitive dependencies) that runs in three modes from one static binary: |
|
edgefetch-wasm
command
Command edgefetch-wasm compiles EdgeFetch's pure-stdlib HTML -> GFM Markdown, branding, PII redaction, and BM25 passage reranker into a standalone WASI WebAssembly module (`GOOS=wasip1 GOARCH=wasm`) for sandboxed offline execution inside `wasmtime`, `wazero`, iPad `a-Shell`, and edge Wasm runtimes.
|
Command edgefetch-wasm compiles EdgeFetch's pure-stdlib HTML -> GFM Markdown, branding, PII redaction, and BM25 passage reranker into a standalone WASI WebAssembly module (`GOOS=wasip1 GOARCH=wasm`) for sandboxed offline execution inside `wasmtime`, `wazero`, iPad `a-Shell`, and edge Wasm runtimes. |
|
internal
|
|
|
agent
Package agent implements the outbound-only WebSocket worker loop connecting EdgeFetch standby nodes (Docker containers, Home Assistant OS add-ons, Raspberry Pis, or bare-metal binaries) to Cloudflare's Hibernating WebSocket Durable Object (AgentHubDO).
|
Package agent implements the outbound-only WebSocket worker loop connecting EdgeFetch standby nodes (Docker containers, Home Assistant OS add-ons, Raspberry Pis, or bare-metal binaries) to Cloudflare's Hibernating WebSocket Durable Object (AgentHubDO). |
|
botauth
Package botauth implements IETF RFC 9421 HTTP Message Signatures (`web-bot-auth`), `draft-meunier-http-message-signatures-directory` self-signed JWKS responses, and RFC 7638 Ed25519 JWK Thumbprints using only the Go standard library (`crypto/ed25519`, `crypto/sha256`, `encoding/base64`).
|
Package botauth implements IETF RFC 9421 HTTP Message Signatures (`web-bot-auth`), `draft-meunier-http-message-signatures-directory` self-signed JWKS responses, and RFC 7638 Ed25519 JWK Thumbprints using only the Go standard library (`crypto/ed25519`, `crypto/sha256`, `encoding/base64`). |
|
browser
Package browser drives a headless Chromium process over the Chrome DevTools Protocol (CDP) while forcing every subresource TCP socket through an in-process SSRF-guarded loopback CONNECT proxy.
|
Package browser drives a headless Chromium process over the Chrome DevTools Protocol (CDP) while forcing every subresource TCP socket through an in-process SSRF-guarded loopback CONNECT proxy. |
|
classify
Package classify categorizes HTTP status codes, headers, and payload bytes into deterministic crawl outcomes before upstream HTML/JSON/PDF extractors inspect response bodies.
|
Package classify categorizes HTTP status codes, headers, and payload bytes into deterministic crawl outcomes before upstream HTML/JSON/PDF extractors inspect response bodies. |
|
crawl
Package crawl implements a bounded-concurrency, polite HTTP/2 batch fetcher with `net/http/httptrace` phase telemetry, hop-by-hop redirect validation, conditional GETs, `/llms.txt` companion Markdown discovery, and strict memory/SSRF guardrails.
|
Package crawl implements a bounded-concurrency, polite HTTP/2 batch fetcher with `net/http/httptrace` phase telemetry, hop-by-hop redirect validation, conditional GETs, `/llms.txt` companion Markdown discovery, and strict memory/SSRF guardrails. |
|
extract
Package extract converts raw HTML and PDF payloads into clean GitHub-Flavored Markdown, plain text, resolved links, images, CSS branding signals, BM25 query-reranked passages, and `llms.txt` structured discovery metadata using only the Go standard library.
|
Package extract converts raw HTML and PDF payloads into clean GitHub-Flavored Markdown, plain text, resolved links, images, CSS branding signals, BM25 query-reranked passages, and `llms.txt` structured discovery metadata using only the Go standard library. |
|
hub
Package hub implements EdgeFetch's self-hosted Go multi-node WebSocket controller (`--mode=hub` and hybrid mesh `--mode=hub,agent`), allowing one static Go binary to serve as both central fleet coordinator and fallback HTTP/2 + Chromium worker with zero external runtime dependencies beyond `coder/websocket`.
|
Package hub implements EdgeFetch's self-hosted Go multi-node WebSocket controller (`--mode=hub` and hybrid mesh `--mode=hub,agent`), allowing one static Go binary to serve as both central fleet coordinator and fallback HTTP/2 + Chromium worker with zero external runtime dependencies beyond `coder/websocket`. |
|
otel
Package otel implements W3C Trace Context (`traceparent`) propagation and a non-blocking, zero-dependency OpenTelemetry OTLP/HTTP JSON span exporter (`POST <OTEL_EXPORTER_OTLP_ENDPOINT>/v1/traces`).
|
Package otel implements W3C Trace Context (`traceparent`) propagation and a non-blocking, zero-dependency OpenTelemetry OTLP/HTTP JSON span exporter (`POST <OTEL_EXPORTER_OTLP_ENDPOINT>/v1/traces`). |
|
politeness
Package politeness enforces per-origin serialization, RFC 9110 `Retry-After` cooldowns, three-state dead-origin circuit breaking, zero-allocation RFC 9309 `/robots.txt` matching, and dial-time DNS-rebinding SSRF protection (`net.Dialer.Control`).
|
Package politeness enforces per-origin serialization, RFC 9110 `Retry-After` cooldowns, three-state dead-origin circuit breaking, zero-allocation RFC 9309 `/robots.txt` matching, and dial-time DNS-rebinding SSRF protection (`net.Dialer.Control`). |
|
priv
Package priv implements irreversible root privilege dropping and pre-drop secret file lockdown on Linux containers.
|
Package priv implements irreversible root privilege dropping and pre-drop secret file lockdown on Linux containers. |
|
ws
Package ws wraps `github.com/coder/websocket` (EdgeFetch's sole external Go dependency) behind a minimal, hardened outbound WebSocket control-plane client.
|
Package ws wraps `github.com/coder/websocket` (EdgeFetch's sole external Go dependency) behind a minimal, hardened outbound WebSocket control-plane client. |
Click to show internal directories.
Click to hide internal directories.