This repository contains both interfaces for JCrawl:
GUI/-> JavaFX desktop appTUI/-> Terminal interface
- Java 17+
- Maven 3.9+
From project root:
mvn -f GUI/pom.xml javafx:runFrom project root (uses packaged source in TUI/src/jcrawl):
javac -d OUTPUT/TUI/out TUI/src/jcrawl/*.java
java -cp OUTPUT/TUI/out jcrawl.JCrawl --helpExample crawl:
java -cp OUTPUT/TUI/out jcrawl.JCrawl https://example.com --max-depth 0 --threads 2 --delay 50By default, both interfaces write crawl output under OUTPUT/:
- GUI default:
OUTPUT/GUI/jcrawl-output - TUI default:
OUTPUT/TUI/jcrawl-output
TUI quick demo:
java -cp OUTPUT/TUI/out jcrawl.JCrawl https://example.com --max-depth 0 --threads 2 --delay 80TUI richer demo (more visible activity):
java -cp OUTPUT/TUI/out jcrawl.JCrawl https://books.toscrape.com --max-depth 1 --threads 4 --delay 120GUI run command:
mvn -f GUI/pom.xml javafx:run