Skip to main content

Turn your Git history into a human story

Project description

ContextPulse

Turn your Git history into a human story.

ContextPulse is a CLI tool that analyzes your Git repository and generates beautiful, human-readable activity reports. Instead of reading through dozens of raw commits, get a clear summary of what happened, when, and why.

Features

  • Smart Summary — Automatically detects what you've been working on (bug fixes, new features, improvements)
  • Category Breakdown — Groups changes by type (HTML, Python, JavaScript, Config, etc.) with colors
  • Hot Files — Shows which files changed the most (your "hot spots")
  • Daily Activity Chart — Visual bar chart showing your most active days
  • Directory Breakdown — See which folders got the most attention (great for monorepos)
  • Multiple Time Ranges — Today, this week, this month, custom days, or since a specific date
  • Author Filtering — Focus on one contributor's work
  • Branch Comparison — Compare what changed between two branches
  • Interactive Mode — Menu-driven interface, no flags to memorize
  • Export — Save reports as Markdown or JSON

Installation

pip install contextpulse

Or install from source:

git clone https://github.com/truth-against-lies/context-pulse.git
cd context-pulse
pip install -r requirements.txt
python main.py

Quick Start

# Run in any Git repository
pulse

# See today's activity
pulse --today

# Last 30 days
pulse --month

# Scan a specific repo
pulse ~/code/my-project

# Export to Markdown
pulse --export report.md

# Interactive mode (guided menu)
pulse --interactive

All Options

Flag Short Description
--today -t Show today's commits only
--days N -d N Last N days
--week -w Last 7 days (default)
--month -m Last 30 days
--since DATE -s DATE Since a specific date (YYYY-MM-DD)
--author NAME -a NAME Filter by author name
--compare A..B -c A..B Compare two branches
--export FILE -e FILE Export report to Markdown file
--json -j Output as JSON
--interactive -i Interactive menu mode

Example Output

╭────────────────────────────────────╮
│ ContextPulse - Git Activity Report │
│ last 7 days                        │
╰──────────── 54 commits ────────────╯

╭──────────────────── Summary ─────────────────────╮
│ You made 54 commits, focusing mainly on HTML     │
│ (89%). Main activities: bug fixes, new features. │
│ Also touched: JavaScript, Style.                 │
╰──────────────────────────────────────────────────╯

       Hot Files (most changed)
┏━━━━━┳━━━━━━━━━━━━━━━━━━┳━━━━━━━━━┓
┃ #   ┃ File             ┃ Changes ┃
┡━━━━━╇━━━━━━━━━━━━━━━━━━╇━━━━━━━━━┩
│ 1   │ 🔥 index.html    │      12 │
│ 2   │ 🔥 index-en.html │      11 │
│ 3   │ 🔥 sw.js         │       5 │
└─────┴──────────────────┴─────────┘

Daily Activity
  2026-03-26  ███████████████████████ 7
  2026-03-27  ██████████████████████████████ 9

Requirements

  • Python 3.8+
  • Git installed on your system

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

contextpulse-0.2.0.tar.gz (16.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

contextpulse-0.2.0-py3-none-any.whl (13.6 kB view details)

Uploaded Python 3

File details

Details for the file contextpulse-0.2.0.tar.gz.

File metadata

  • Download URL: contextpulse-0.2.0.tar.gz
  • Upload date:
  • Size: 16.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for contextpulse-0.2.0.tar.gz
Algorithm Hash digest
SHA256 bec99030a51c25257ee9dac54b03e393c5d7dd1b83fdedb36ed4f7f7839a497c
MD5 69e77154bdc1392e4fc5d4324485740e
BLAKE2b-256 4d1547e5632747c68a5bc8524c108df4b62769b247921aa4d8237785391abb5c

See more details on using hashes here.

File details

Details for the file contextpulse-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: contextpulse-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 13.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for contextpulse-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0a0daac77b15b680a42264a87d562bd73d5a2091c63c731470fc906bd48899a9
MD5 3e3b78ae09544c3b39fa8fcee6c3176c
BLAKE2b-256 21a9f2e3fecc44fadb8031a07fa7cb903a66efc04abaf5f98e978454b174e9e9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page