XKCD Viewer is a lightweight Java application that reads comics from the website xkcd.com and displays them on screen. The program gives you the ability to scroll through the comics in a small window. The program has been updated with the ability to tell you, at startup, the number of comics that the use has missed since their last time using the program.
####Navigation:
- Use the left arrow (or "a" key) to move to the previous comic
- Use the right arrow (or "d" key) to move to the next comic
- Use the "r" key to move to a random comic
- Use the Escape key to exit the program.
####Dependencies/Requirements:
- Java Runtime Environment at least 1.8
- Connection to the internet (specifically access to xkcd.com)
- Jsoup 1.8.3 (HTML parser) (the program will download this at build time (only for Unix operating systems), but you will need access to the website)
- SQLite Database (the program will download this at build time (only for Unix operating systems), but you will need access to the website)
- At least 6 mb of storage space for the program itself
- Ample storage space for temporary downloaded images.
####To build this project:
On a Unix-based operating system (OSX, Linux, or anything running bash):
- run "build.sh" in the main project (you should only need to run this once).
- run "run.sh" to start the program.
On a Windows machine:
- Download Jsoup 1.8.3 (Direct link)
- Download SQLite Database 3.8.11.1 (Direct Link)
- Make two folders: libs and bin directly inside the main XKCDViewer folder
- Put both jar files in the libs folder.
- To build the project run the following command from the base of your project
javac -cp "libs/*" -d "bin" src/*.java
- To run the project run the following command from the bin folder of your project
java -classpath "../libs/*:." Main
####Features to be added:
- A background worker that checks if a new comic has been added every x minutes (x set by user).
- The ability to use the program at startup on multiple operating systems.
####Screenshots: