Skip to content

Git Track allows you to view the latest commits of a GitHub repository.

Notifications You must be signed in to change notification settings

hacimertgokhan/git-track

Repository files navigation

Git Track

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.

Features

  • 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.

Technologies Used

  • 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.

Installation

To get started with Git Track locally, follow these steps:

  1. Clone the repository:

    git clone https://github.com/hacimertgokhan/git-track.git
  2. Navigate into the project directory:

    cd git-track
  3. Install dependencies:

    npm install
  4. Run the project:

    npm run dev
  5. Open the application in your browser:

    http://localhost:3000

Usage

To use Git Track, follow these steps:

  1. Enter a GitHub username (e.g., facebook).
  2. Enter the repository name (e.g., react).
  3. Click on the "View" button next to each commit to be redirected to the commit page on GitHub.

Example

You can enter facebook as the username and react as the repository to view the latest commits for the official React repository.