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). |
|
agentloop
Package agentloop implements EdgeFetch's vendor-neutral BYO-LLM configuration, origin/path-prefix API key isolation, SSRF validation, log redaction, provider wire codecs (OpenAI/OpenRouter/Compatible, Anthropic, Gemini, Ollama, Workers AI), JSON Schema validation, <1ms dynamic BM25 adapter intent routing, remote MCP tool schema sanitization, and the callback-driven /v1/agent research loop engine.
|
Package agentloop implements EdgeFetch's vendor-neutral BYO-LLM configuration, origin/path-prefix API key isolation, SSRF validation, log redaction, provider wire codecs (OpenAI/OpenRouter/Compatible, Anthropic, Gemini, Ollama, Workers AI), JSON Schema validation, <1ms dynamic BM25 adapter intent routing, remote MCP tool schema sanitization, and the callback-driven /v1/agent research loop engine. |
|
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. |
|
catalog
Package catalog implements EdgeFetch's pure-CPU e-commerce sanitization, Shopify and WooCommerce product/feed normalization, polite storefront catalog pagination, deterministic FNV-1a/SHA-256 snapshot hashing and diffing, shrink-guard detection, UCP discovery, record filtering, and bounded multi-tenant catalog state.
|
Package catalog implements EdgeFetch's pure-CPU e-commerce sanitization, Shopify and WooCommerce product/feed normalization, polite storefront catalog pagination, deterministic FNV-1a/SHA-256 snapshot hashing and diffing, shrink-guard detection, UCP discovery, record filtering, and bounded multi-tenant catalog state. |
|
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. |
|
company
Package company builds a public company profile from raw bodies the caller has already fetched (homepage HTML, Wikidata, SEC EDGAR, GitHub, ATS summary, Google Maps places).
|
Package company builds a public company profile from raw bodies the caller has already fetched (homepage HTML, Wikidata, SEC EDGAR, GitHub, ATS summary, Google Maps places). |
|
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`. |
|
hub/hubauth
Package hubauth implements authentication, authorization, OAuth 2.1 + PKCE (S256), multi-user GitHub OAuth, the /admin Control Center & AES-256-GCM MCP credential vault, and connection/origin/header hardening for the Go Hub.
|
Package hubauth implements authentication, authorization, OAuth 2.1 + PKCE (S256), multi-user GitHub OAuth, the /admin Control Center & AES-256-GCM MCP credential vault, and connection/origin/header hardening for the Go Hub. |
|
hub/hubstore
Package hubstore implements the pure-Go storage, search, and tracker-list subsystem for the self-contained EdgeFetch Hub (`edgefetch --hub`).
|
Package hubstore implements the pure-Go storage, search, and tracker-list subsystem for the self-contained EdgeFetch Hub (`edgefetch --hub`). |
|
jobs
Package jobs implements EdgeFetch's pure-CPU job & ATS intelligence engine: compensation & workplace normalization, Schema.org JobPosting JSON-LD extraction, EEO/AI boilerplate classification, JSON record chunking, 18+ ATS board/posting adapters & auto-discovery, company/domain anti-spoofing filters, redirect loss diagnostics, HTTP 402 / x402 payment-term sanitization, and ethical blocked hints.
|
Package jobs implements EdgeFetch's pure-CPU job & ATS intelligence engine: compensation & workplace normalization, Schema.org JobPosting JSON-LD extraction, EEO/AI boilerplate classification, JSON record chunking, 18+ ATS board/posting adapters & auto-discovery, company/domain anti-spoofing filters, redirect loss diagnostics, HTTP 402 / x402 payment-term sanitization, and ethical blocked hints. |
|
mcpfed
Package mcpfed implements the pure-CPU Outbound MCP Credential Vault (HKDF-SHA256 + AES-256-GCM), OAuth 2.1 PKCE metadata/state hygiene, Federated MCP untrusted output sanitizer, JSON Schema allowlist rebuilder, Streamable HTTP SSE JSON-RPC parser, and Dual-Source MCP Registry fusion engine.
|
Package mcpfed implements the pure-CPU Outbound MCP Credential Vault (HKDF-SHA256 + AES-256-GCM), OAuth 2.1 PKCE metadata/state hygiene, Federated MCP untrusted output sanitizer, JSON Schema allowlist rebuilder, Streamable HTTP SSE JSON-RPC parser, and Dual-Source MCP Registry fusion engine. |
|
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.