MCPcopy Create free account
hub / github.com/USCDataScience/sparkler

github.com/USCDataScience/sparkler @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
536 symbols 1,374 edges 115 files ⚖ Apache-2.0 161 documented · 30% ● updated 41d ago★ 419

Browse by type

⨍ Functions 403◇ Types & classes 115↳ Endpoints 18
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Sparkler

Sparkler mark: an ember spark inside a crawl orbit.

A crawl workstation: View, Control, and Crawl.

Inject seeds. Fetch politely. Parse with Tika. Store the frontier and pages in a Solr CrawlDB. Label pages relevant / not / highly so the next generate pass prefers the right hosts. A Vue 3 UI is the View; FastAPI is Control; the Python fetch loop is Crawl.

The mark is an ember in a crawl orbit — the spark is the page being fetched, the nodes on the ring are the frontier. Compass-rose geometry for navigating the web (search, Tika, Solr), not a campus seal. Named as Spark-Crawler; this tree still crawls, it just does it as a single workstation.

No Docker. No Spark. No Elasticsearch. No ArangoDB.

Needs Java 21+ (Solr 10), Java 11+ is enough for Tika if 21 is on PATH as JAVA_HOME for Solr, Python 3.10+, and Node 18+ to build the UI. Solr is downloaded on first use into data/ (gitignored) and bound to 127.0.0.1:8983. The app is 127.0.0.1:8180.

python3.12 -m venv .venv
.venv/bin/pip install -e .
cd web && npm install && npm run build && cd ..

bin/sparkler inject -id demo -sf demo/seeds.txt
bin/sparkler crawl  -id demo -tn 10 -i 1
bin/sparkler serve

Open http://127.0.0.1:8180/

bin/sparkler inject -id news -su 'https://example.com/'
bin/sparkler crawl  -id news -i 2 --same-host
bin/sparkler reset  -id news --yes
bin/sparkler solr   status

bin/sparkler uses .venv when it exists.

Inspired by USC IRDS Sparkler.

Extension points exported contracts — how you extend this code

browse all types & interfaces →

Core symbols most depended-on inside this repo

browse all functions →

Shape

Method 288
Function 115
Class 95
Route 18
Interface 15
Enum 5

Languages

Java63%
TypeScript22%
Python15%

Modules by API surface

sparkler-api/src/main/java/edu/usc/irds/sparkler/model/Resource.java40 symbols
retired/sparkler-sce/webui/app/controller.py36 symbols
sparkler-api/src/main/java/edu/usc/irds/sparkler/model/FetchedData.java24 symbols
retired/sparkler-ui/src/actions/index.js20 symbols
sparkler-api/src/main/java/edu/usc/irds/sparkler/util/URLUtil.java16 symbols
sparkler-plugins/fetcher-chrome/src/main/java/edu/usc/irds/sparkler/plugin/FetcherChrome.java15 symbols
sparkler-api/src/main/java/edu/usc/irds/sparkler/util/DomainSuffixesReader.java12 symbols
sparkler-tests-base/src/main/java/edu/usc/irds/sparkler/test/TestSlaveServlet.java10 symbols
sparkler-api/src/main/java/edu/usc/irds/sparkler/util/FetcherDefault.java10 symbols
sparkler-plugins/urlfilter-regex/src/main/java/edu/usc/irds/sparkler/plugin/regex/RegexURLFilterBase.java9 symbols
sparkler-api/src/main/java/edu/usc/irds/sparkler/SparklerConfiguration.java9 symbols
retired/sparkler-ui/src/components/dialogs/StartCrawlDialog.js9 symbols

For agents

$ claude mcp add sparkler \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page