This is a console-based application that scrapes information from the trending GitHub page and generates a CSV file containing the repository name, number of stars and programming language of the trending repositories (under today).
- Java 8
- JSoup
- Maven
With Maven:
- Check that valid versions of Java 8 and Maven are installed with updated system PATH variables.
- From root application folder, run mvn clean compile assembly:single. A target folder should be compiled and generated.
- Go to the generated /target directory in the root application folder and run java -jar TrendingGitRepos-1.0-SNAPSHOT-jar-with-dependencies.jar. A CSV file will be generated in the same folder.
Alternatively,
- Go to folder out/artifacts/TrendingGitRepos_jar
- Run java -jar TrendingGitRepos.jar. The CSV file will be generated in the same folder.