Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
spartan
command
Package main provides the command-line entry point for Spartan Scraper.
|
Package main provides the command-line entry point for Spartan Scraper. |
|
internal
|
|
|
ai
Package ai manages the bridge process used for pi-backed LLM operations.
|
Package ai manages the bridge process used for pi-backed LLM operations. |
|
aiauthoring
Package aiauthoring implements bounded AI-assisted authoring for automation artifacts.
|
Package aiauthoring implements bounded AI-assisted authoring for automation artifacts. |
|
analytics
Package analytics provides historical metrics collection and aggregation.
|
Package analytics provides historical metrics collection and aggregation. |
|
api
Package api provides HTTP handlers for bounded AI authoring endpoints.
|
Package api provides HTTP handlers for bounded AI authoring endpoints. |
|
apperrors
Package apperrors provides classified error handling infrastructure.
|
Package apperrors provides classified error handling infrastructure. |
|
artifacts
Package artifacts manages canonical job artifact metadata.
|
Package artifacts manages canonical job artifact metadata. |
|
auth
Package auth provides authentication profile management and credential resolution.
|
Package auth provides authentication profile management and credential resolution. |
|
buildinfo
Package buildinfo provides information about the current build of the application.
|
Package buildinfo provides information about the current build of the application. |
|
captcha
Package captcha provides CAPTCHA detection and solving service integration.
|
Package captcha provides CAPTCHA detection and solving service integration. |
|
cli
Package cli provides the Spartan Scraper command-line interface router.
|
Package cli provides the Spartan Scraper command-line interface router. |
|
cli/ai
Package ai implements the Spartan CLI subcommands for bounded AI authoring workflows.
|
Package ai implements the Spartan CLI subcommands for bounded AI authoring workflows. |
|
cli/batch
Package batch provides CLI commands for batch job operations.
|
Package batch provides CLI commands for batch job operations. |
|
cli/common
Package common provides shared CLI helpers used across command modules.
|
Package common provides shared CLI helpers used across command modules. |
|
cli/manage
Package manage contains CLI commands for configuration/data management (auth/export/templates/states/jobs/schedule).
|
Package manage contains CLI commands for configuration/data management (auth/export/templates/states/jobs/schedule). |
|
cli/scrape
Package scrape contains crawl CLI command wiring.
|
Package scrape contains crawl CLI command wiring. |
|
cli/server
Package server contains health CLI command wiring.
|
Package server contains health CLI command wiring. |
|
config
Package config provides application configuration loading from environment variables.
|
Package config provides application configuration loading from environment variables. |
|
crawl
Package crawl provides URL pattern matching for crawl filtering.
|
Package crawl provides URL pattern matching for crawl filtering. |
|
dedup
Package dedup provides cross-job content deduplication using simhash.
|
Package dedup provides cross-job content deduplication using simhash. |
|
diff
Package diff provides content diffing functionality for change detection.
|
Package diff provides content diffing functionality for change detection. |
|
exporter
Package exporter provides CSV export implementation.
|
Package exporter provides CSV export implementation. |
|
extract
Package extract provides caching for AI extraction results to reduce API costs.
|
Package extract provides caching for AI extraction results to reduce API costs. |
|
fetch
Package fetch provides HTTP and headless browser content fetching capabilities.
|
Package fetch provides HTTP and headless browser content fetching capabilities. |
|
fsutil
Package fsutil provides filesystem utilities for secure data directory management.
|
Package fsutil provides filesystem utilities for secure data directory management. |
|
hostmatch
Package hostmatch provides centralized host extraction and pattern matching utilities.
|
Package hostmatch provides centralized host extraction and pattern matching utilities. |
|
jobs
Package jobs provides job creation and persistence logic for scrape, crawl, and research jobs.
|
Package jobs provides job creation and persistence logic for scrape, crawl, and research jobs. |
|
mcp
Package mcp exposes structured runtime diagnostics over the MCP tool surface.
|
Package mcp exposes structured runtime diagnostics over the MCP tool surface. |
|
model
Package model defines shared domain types for batch job operations.
|
Package model defines shared domain types for batch job operations. |
|
paramdecode
Package paramdecode centralizes typed reads from persisted parameter maps.
|
Package paramdecode centralizes typed reads from persisted parameter maps. |
|
pipeline
Package pipeline provides a plugin system for extending scrape and crawl workflows.
|
Package pipeline provides a plugin system for extending scrape and crawl workflows. |
|
queue
Package queue provides pluggable queue backends for job distribution.
|
Package queue provides pluggable queue backends for job distribution. |
|
research
Package research provides citation URL normalization and generation.
|
Package research provides citation URL normalization and generation. |
|
retention
Package retention provides data retention policy enforcement.
|
Package retention provides data retention policy enforcement. |
|
runtime
Purpose: Initialize the fully wired runtime job manager used by local execution surfaces.
|
Purpose: Initialize the fully wired runtime job manager used by local execution surfaces. |
|
scheduler
Package scheduler provides an in-memory cache for schedules with file watching.
|
Package scheduler provides an in-memory cache for schedules with file watching. |
|
scrape
Package scrape provides functionality for scraping a single web page.
|
Package scrape provides functionality for scraping a single web page. |
|
simhash
Package simhash provides content similarity detection using simhash algorithm.
|
Package simhash provides content similarity detection using simhash algorithm. |
|
store
Package store provides SQLite-backed persistent storage for analytics data.
|
Package store provides SQLite-backed persistent storage for analytics data. |
|
submission
Package submission validates operator-facing batch requests and converts them into canonical create-time jobs.JobSpec values.
|
Package submission validates operator-facing batch requests and converts them into canonical create-time jobs.JobSpec values. |
|
testsite
Package testsite provides a deterministic local HTTP fixture for end-to-end and stress tests.
|
Package testsite provides a deterministic local HTTP fixture for end-to-end and stress tests. |
|
ui/tui
Package tui provides entry points for running the TUI.
|
Package tui provides entry points for running the TUI. |
|
validate
Package validate provides request validators for scrape, crawl, and research operations.
|
Package validate provides request validators for scrape, crawl, and research operations. |
|
watch
Package watch manages persisted watch-check artifacts.
|
Package watch manages persisted watch-check artifacts. |
|
webassets
Package webassets contains repository-level checks for the static web shell.
|
Package webassets contains repository-level checks for the static web shell. |
|
webhook
Package webhook resolves and pins webhook delivery targets.
|
Package webhook resolves and pins webhook delivery targets. |
|
Command serve_testsite runs the deterministic local fixture server used by stress and e2e validation.
|
Command serve_testsite runs the deterministic local fixture server used by stress and e2e validation. |
Click to show internal directories.
Click to hide internal directories.