Back to GitHub activity
Repository

KeyPressCounter

A very simple key press counter and logger for windows

C#

Summary

Here's a comprehensive technical summary of the KeyPressCounter repository: KeyPressCounter is a sophisticated Windows utility designed for comprehensive system and user activity monitoring, leveraging .NET 10.0 and low-level system APIs to track keyboard/mouse interactions, system performance metrics, and resource utilization in real-time. The application employs a multi-layered monitoring approach using technologies like SharpHook for global input event tracking, Windows Performance Counters for system metrics, and WMI (Windows Management Instrumentation) for hardware information retrieval, creating a robust system tray application that provides granular insights into user behavior and computational resource consumption. Its architecture emphasizes privacy-conscious tracking, with features like idle time filtering, local data storage, and detailed logging, making it a powerful tool for productivity analysis, system diagnostics, and performance optimization. The project demonstrates advanced Windows system integration techniques, including registry management, single-instance protection, and seamless system tray interaction, with a modular design that allows for extensive customization of monitoring parameters and logging behaviors. Unique strengths include its comprehensive metrics collection, minimal system overhead, and user-friendly graphical interface that transforms complex system data into digestible visualizations and statistics. Ideal for system administrators, developers, researchers, and power users seeking deep insights into computer usage patterns and system performance characteristics.

Snapshot

Stars
1
Forks
1
Watchers
1
Spark score
32.0
Rank
#20
Commit velocity
4.3/mo
Recent commits
13 (90d)
Total commits
21
Last commit
Dec 7, 2025
Last push
Dec 7, 2025
Created
Mar 7, 2024
Updated
Jan 15, 2026
Age
682 days
Days since push
42 days
Repo size
46,573 KB
Languages
1
Dependencies
4
Outdated deps
0

All metrics

age_days
682
avg_commit_size
N/A
commit_history
{
  "repository_name": "KeyPressCounter",
  "total_commits": 21,
  "recent_90d": 13,
  "recent_180d": 13,
  "recent_365d": 14,
  "last_commit_date": "2025-12-07T23:45:17+00:00",
  "patterns": [
    "active",
    "accelerating"
  ],
  "commit_frequency": 4.33,
  "consistency_score": 0,
  "activity_rate": 0.144,
  "days_since_last_commit": 42,
  "first_commit_date": "2024-03-07T13:46:50+00:00"
}
commit_metrics
N/A
commit_velocity
4.33
composite_score
32
created_at
2024-03-07T13:46:50+00:00
days_since_last_push
42
description
A very simple key press counter and logger for windows
first_commit_date
2024-03-07T13:46:50+00:00
forks
1
has_readme
true
is_fork
false
is_private
false
language
C#
language_count
1
language_stats
{}
languages
{}
largest_commit
N/A
last_commit_date
2025-12-07T23:45:17+00:00
name
KeyPressCounter
pushed_at
2025-12-07T23:45:31+00:00
rank
20
recent_commits_90d
13
size_kb
46573
smallest_commit
N/A
stars
1
tech_stack
{
  "repository_name": "KeyPressCounter",
  "languages": {},
  "frameworks": [],
  "dependencies": [
    {
      "name": ".NET SDK",
      "current_version": "10.0",
      "latest_version": null,
      "ecosystem": "nuget",
      "versions_behind": 0,
      "is_outdated": false,
      "status": "unknown"
    },
    {
      "name": "SharpHook",
      "current_version": "7.1.0",
      "latest_version": null,
      "ecosystem": "nuget",
      "versions_behind": 0,
      "is_outdated": false,
      "status": "unknown"
    },
    {
      "name": "System.Management",
      "current_version": "10.0.0",
      "latest_version": null,
      "ecosystem": "nuget",
      "versions_behind": 0,
      "is_outdated": false,
      "status": "unknown"
    },
    {
      "name": "System.Diagnostics.PerformanceCounter",
      "current_version": "10.0.0",
      "latest_version": null,
      "ecosystem": "nuget",
      "versions_behind": 0,
      "is_outdated": false,
      "status": "unknown"
    }
  ],
  "version_info": {},
  "dependency_file_type": "MWH.KeyPressCounter.csproj",
  "currency_score": 50,
  "outdated_count": 0,
  "total_dependencies": 4,
  "primary_language": null,
  "language_diversity": 0,
  "outdated_percentage": 0
}
total_commits
21
updated_at
2026-01-15T00:42:46+00:00
url
https://github.com/markhazleton/KeyPressCounter
watchers
1