{"id":27598053,"url":"https://github.com/krisnaajiep/java-github-user-activity","last_synced_at":"2026-05-10T05:46:20.552Z","repository":{"id":289015549,"uuid":"969843859","full_name":"krisnaajiep/java-github-user-activity","owner":"krisnaajiep","description":"A simple command line interface (CLI) to fetch the recent activity of a GitHub user built with Java and Github API. ","archived":false,"fork":false,"pushed_at":"2025-04-21T03:27:32.000Z","size":18,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-22T14:09:47.248Z","etag":null,"topics":["api-consumption","cli","cli-app","command-line","command-line-interface","command-line-tool","github-api","github-events","gson","http-client","http-requests","http-response","java","json","maven"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/krisnaajiep.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-04-21T03:01:20.000Z","updated_at":"2025-04-21T04:21:14.000Z","dependencies_parsed_at":"2025-04-21T04:31:07.732Z","dependency_job_id":"0924ccdc-c678-48e9-9b3d-b9bba271ddc2","html_url":"https://github.com/krisnaajiep/java-github-user-activity","commit_stats":null,"previous_names":["krisnaajiep/java-github-user-activity"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krisnaajiep%2Fjava-github-user-activity","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krisnaajiep%2Fjava-github-user-activity/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krisnaajiep%2Fjava-github-user-activity/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krisnaajiep%2Fjava-github-user-activity/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/krisnaajiep","download_url":"https://codeload.github.com/krisnaajiep/java-github-user-activity/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250255697,"owners_count":21400410,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api-consumption","cli","cli-app","command-line","command-line-interface","command-line-tool","github-api","github-events","gson","http-client","http-requests","http-response","java","json","maven"],"created_at":"2025-04-22T14:09:53.021Z","updated_at":"2026-05-10T05:46:20.520Z","avatar_url":"https://github.com/krisnaajiep.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Java GitHub User Activity\n\n\u003e A simple command line interface (CLI) built with Java to fetch the recent activity of a GitHub user and display it in the terminal.\n\n## Table of Contents\n\n* [General Info](#general-information)\n* [Technologies Used](#technologies-used)\n* [Features](#features)\n* [Setup](#setup)\n* [Usage](#usage)\n* [Project Status](#project-status)\n* [Acknowledgements](#acknowledgements)\n* [License](#license)\n\n## General Information\n\nJava GitHub User Activity is a simple command line interface (CLI) that accept the GitHub username as an argument, fetch\nthe user’s recent activity using the GitHub API, and display it in the terminal. This project is designed to explore and\npractice working with the command line interface (CLI) and API consumption in Java.\n\n## Technologies Used\n\n* Java 21.0.6 (LTS)\n* Maven 3.9.9\n* Gson 2.12.1\n\n## Features\n\n* Fetch recent activities of a GitHub user.\n* Display a variety of activities including repository creation, commits, branch creation, and starred repositories.\n* Simple, clear output for easy tracking of a user's GitHub contributions.\n\n## Setup\n\nTo run this CLI tool, you’ll need:\n\n* **Java**: Version 21 or higher\n* **Maven**: Version 3.x\n\nHow to Build:\n\n1. Clone the repository\n\n   ```bash\n   git clone https://github.com/krisnaajiep/java-github-user-activity.git\n   ```\n\n2. Change the current working directory\n\n   ```bash\n   cd java-github-user-activity\n   ```\n\n3. Build the project\n\n   ```bash\n   mvn clean package\n   ```\n\n4. Copy the JAR file from the `target/` directory\n\n   ```bash\n   cp target/github-user-activity-1.0-SNAPSHOT-jar-with-dependencies.jar github-activity.jar\n   ```\n\n5. Run the JAR file\n\n   ```bash\n   java -jar github-activity.jar\n   ```\n\n## Usage\n\n```bash\njava -jar github-activity.jar \u003cusername\u003e\n```\n\nExample Output:\n\n```\nOutput:\n- Pushed a commit to kamranahmedse/reminder\n- Pushed a commit to kamranahmedse/reminder\n- Pushed a commit to kamranahmedse/reminder\n- Pushed a commit to kamranahmedse/reminder\n- Pushed 2 commits to kamranahmedse/reminder\n- Opened pull request #27 in asim/reminder\n- Pushed a commit to kamranahmedse/reminder\n- Pushed a commit to kamranahmedse/reminder\n- Pushed a commit to kamranahmedse/reminder\n- Pushed 6 commits to kamranahmedse/reminder\n- Created comment on issue #24 in asim/reminder\n- Pushed a commit to kamranahmedse/reminder\n- Pushed a commit to kamranahmedse/reminder\n- Pushed a commit to kamranahmedse/reminder\n- Pushed a commit to kamranahmedse/reminder\n- Opened pull request #24 in asim/reminder\n- Pushed 4 commits to kamranahmedse/reminder\n- Pushed 10 commits to kamranahmedse/reminder\n- Opened pull request #21 in asim/reminder\n- Pushed a commit to kamranahmedse/reminder\n- Pushed a commit to kamranahmedse/reminder\n- Pushed a commit to kamranahmedse/reminder\n- Pushed a commit to kamranahmedse/reminder\n- Pushed a commit to kamranahmedse/reminder\n- Pushed a commit to kamranahmedse/reminder\n- Pushed a commit to kamranahmedse/reminder\n- Pushed a commit to kamranahmedse/reminder\n- Pushed 3 commits to kamranahmedse/reminder\n- Forked asim/reminder to reminder\n- created Review comment by  for pull request #8506 in kamranahmedse/developer-roadmap\n```\n\n## Project Status\n\nProject is: _complete_.\n\n## Acknowledgements\n\nThis project was inspired by [roadmap.sh](https://roadmap.sh/projects/github-user-activity).\n\n## License\n\nThis project is licensed under the MIT License—see the [LICENSE](./LICENSE) file for details.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkrisnaajiep%2Fjava-github-user-activity","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkrisnaajiep%2Fjava-github-user-activity","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkrisnaajiep%2Fjava-github-user-activity/lists"}