# ScholScan Go Implementation # Default recipe default: @just --list # Build the binary build: go build -o scholscan . # Install to system (optional) install: go install . # Run tests test: go test ./... # Clean cache (only works if running from project directory) clean-cache: ./scholscan clean # Format Go code fmt: go fmt ./... # Run linter (requires golangci-lint) lint: golangci-lint run # Example: Train model from articles and RSS feeds (provide your own paths) example-train articles feeds: @mkdir -p /tmp/scholscan ./scholscan train {{articles}} --rss-feeds {{feeds}} > /tmp/scholscan/model.json @echo "Model saved to /tmp/scholscan/model.json" # Example: Scan with trained model (provide your own paths) example-scan model url: ./scholscan scan --model {{model}} --url {{url}}