├── .gitignore ├── banner1.png ├── src └── main │ ├── resources │ ├── css │ │ └── tabpane.css │ └── fxml │ │ ├── RepoItem.fxml │ │ ├── FollowerItem.fxml │ │ ├── FXMLLogin.fxml │ │ └── FXMLHome.fxml │ └── java │ ├── utilities │ ├── Constants.java │ └── Utilities.java │ └── app │ ├── Main.java │ ├── controllers │ ├── FollowerItemController.java │ ├── RepoItemController.java │ └── HomeController.java │ └── LoginController.java ├── nb-configuration.xml ├── README.md ├── nbactions.xml └── pom.xml /.gitignore: -------------------------------------------------------------------------------- 1 | /target/ -------------------------------------------------------------------------------- /banner1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DevTony101/JFXGithubClient/HEAD/banner1.png -------------------------------------------------------------------------------- /src/main/resources/css/tabpane.css: -------------------------------------------------------------------------------- 1 | .jfx-tab-pane .headers-region { 2 | -fx-background-color: black; 3 | } 4 | 5 | .jfx-tab-pane .tab-header-background { 6 | -fx-background-color: black; 7 | } 8 | 9 | .jfx-tab-pane .control-buttons-tab .jfx-rippler { 10 | -jfx-rippler-fill: white; 11 | } -------------------------------------------------------------------------------- /src/main/java/utilities/Constants.java: -------------------------------------------------------------------------------- 1 | package utilities; 2 | 3 | // Utility constants 4 | public class Constants { 5 | 6 | public static final String APP_TITLE = "JFX Github Client"; 7 | public static final String FXML_LOGIN = "/fxml/FXMLLogin.fxml"; 8 | public static final String FXML_HOME = "/fxml/FXMLHome.fxml"; 9 | public static final String FXML_REPO_ITEM = "/fxml/RepoItem.fxml"; 10 | public static final String FXML_FOLLOWER_ITEM = "/fxml/FollowerItem.fxml"; 11 | public static final String GITHUB_JOIN_URL = "https://github.com/join"; 12 | } 13 | -------------------------------------------------------------------------------- /nb-configuration.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 9 | 10 | 16 | none 17 | 18 | 19 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # JFXGithubClient 2 | A JavaFX Github Client (For Demonstration Purposes Only). 3 | 4 | ![Banner1](https://github.com/DevTony101/JFXGithubClient/blob/master/banner1.png) 5 | 6 | The project uses the [Github API for Java](https://github.com/github-api/github-api). You can use it as soon as you download the project. 7 | 8 | ## Feautures 9 | The project currently supports the following operations: 10 | - Log in to your GitHub user account 11 | - List all your followers 12 | - List and search through all your repositories (Private and Public) 13 | - Delete a repository (Be careful!) 14 | 15 | ## Future Improvements 16 | - As shown in the [documentation](http://github-api.kohsuke.org/), is a bad idea to authenticate a user with its password directly, so a future version of the project might try with the Personal Access Token. 17 | - To show the file directory of the project. 18 | - Implement the rest of the GitHub functions. 19 | 20 | ## Inspiration 21 | The app's design is based on GitHub's actual page. Thanks to the guys at [github-api](https://github.com/github-api) for their well documented API. 22 | -------------------------------------------------------------------------------- /nbactions.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | run 5 | 6 | clean 7 | package 8 | org.codehaus.mojo:exec-maven-plugin:1.2.1:exec 9 | 10 | 11 | -jar "${project.build.directory}/${project.build.finalName}.jar" 12 | 13 | 14 | 15 | debug 16 | 17 | clean 18 | package 19 | org.codehaus.mojo:exec-maven-plugin:1.2.1:exec 20 | 21 | 22 | -Xdebug -Xrunjdwp:transport=dt_socket,server=n,address=${jpda.address} -Dglass.disableGrab=true -jar "${project.build.directory}/${project.build.finalName}.jar" 23 | true 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /src/main/resources/fxml/RepoItem.fxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 23 | 24 | -------------------------------------------------------------------------------- /src/main/resources/fxml/FollowerItem.fxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 23 | 28 |