github.com/IanKeen/swift-package-crawler

(Experimental) Crawls GitHub for Swift repos with Package.swift files



Documentation

swift-package-crawler

(Experimental) Crawls GitHub for Swift repos with Package.swift files

Running

  • Run SwiftPM's swift build
  • Start a Redis server with the default config redis-server (install with brew install redis)
  • Start the Crawler to find the packages & pull the Package.swift files (takes a few minutes)
  • .build/debug/PackageSearcher && .build/debug/PackageCrawler
  • Export the Package.swift files into ./Cache/PackageSwiftFiles and ./Cache/PackageJSONFiles
  • .build/debug/PackageExporter
  • Run analysis of results with .build/debug/Analyzer

To run the whole pipeline, run .build/debug/PackageSearcher && .build/debug/PackageCrawler && .build/debug/PackageExporter && .build/debug/Analyzer

  • more to come

👽 Author

Honza Dvorsky - http://honzadvorsky.com, @czechboy0