Skip to content

siamonas/github-user-activity-tracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub User Activity Tracker

Description

The GitHub User Activity Tracker is a Python-based tool designed to fetch and display the latest events for a specified GitHub user. It leverages the GitHub API to retrieve various types of user activities, such as commits, comments, and repository creations. The tool supports pagination and allows users to interactively load more events.

It is inspired from the GitHub User Activity project featured in the Backend Roadmap from roadmap.sh.

Features

  • Fetch Latest Events: Retrieve the latest events for a specified GitHub user.
  • Event Details: Display detailed information about different types of events.
  • Interactive Pagination: Prompt the user to load more events or stop.
  • Environment Variable Support: Load GitHub API tokens from a .env file for authenticated requests.

Prerequisites

  • Python 3.6+
  • Git

Installation

  1. Clone the Repository:
    git clone https://github.com/siamonas/github-user-activity-tracker.git
    cd github-user-activity-tracker
  2. Create and Activate a Virtual Environment
    python -m venv venv
    
    # On Windows:
    .\venv\Scripts\activate
    
    # On macOS and Linux:
    source venv/bin/activate
  3. Install Dependencies
    pip install -r requirements.txt
  4. Set Up Environment Variables (optional)
    • Create a .env file in the project root and add your GitHub token

Usage

  1. Run the application
    python github-activity username
  2. Example
    python github-activity siamonas

About

The GitHub User Activity Tracker is a Python-based tool designed to fetch and display the latest events for a specified GitHub user. It leverages the GitHub API to retrieve various types of user activities, such as commits, comments, and repository creations. The tool supports pagination and allows users to interactively load more events.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages