Git Track allows you to view the latest commits of a GitHub repository. By providing a username and repository name, you can fetch and display commit details such as commit messages, author names, and dates. Additionally, you can navigate directly to the commit page on GitHub.
- Displays a list of the latest commits for a specified GitHub repository.
- Shows commit details like author, commit message, and commit time.
- Provides a button to view the commit directly on GitHub.
- Pagination support to view more commits.
- React: For building the user interface.
- Next.js: Framework for React with server-side rendering and API routes.
- NextUI: UI components library for building sleek and responsive interfaces.
- GitHub API: To fetch commit information from GitHub repositories.
To get started with Git Track locally, follow these steps:
-
Clone the repository:
git clone https://github.com/hacimertgokhan/git-track.git
-
Navigate into the project directory:
cd git-track
-
Install dependencies:
npm install
-
Run the project:
npm run dev
-
Open the application in your browser:
http://localhost:3000
To use Git Track, follow these steps:
- Enter a GitHub username (e.g.,
facebook
). - Enter the repository name (e.g.,
react
). - Click on the "View" button next to each commit to be redirected to the commit page on GitHub.
You can enter facebook
as the username and react
as the repository to view the latest commits for the official React repository.