Back to GitHub activity
RepositoryRank #17Healthy(10.7)

KeyPressCounter

A very simple key press counter and logger for windows

C#
MaintainedCurrent

AI Summary

Generated by claude-haiku-4-5 with 90% confidence

KeyPressCounter - Technical Summary KeyPressCounter is a lightweight Windows system tray utility built in C# (.NET 10.0) that monitors keyboard and mouse activity alongside real-time system performance metrics, designed to run silently in the background without recording keystroke content or transmitting data. The application provides comprehensive input tracking (keystroke/click counts, peak activity rates, inactivity detection) and performance monitoring (CPU, memory, disk I/O, network throughput) through a three-tab WinForms dashboard with 60-second rolling graphs, hardware information via WMI, and configurable activity logging with daily summaries. The architecture leverages SharpHook for global low-level input event hooking on background threads, System.Management for WMI-based hardware enumeration and Windows Performance Counters for real-time system metrics, and implements thread-safe counters with lock-protected increments to handle concurrent input events. Key design patterns include an ApplicationContext subclass managing tray integration and lifecycle, GDI+ anti-aliased graph rendering for historical data visualization, P/Invoke wrappers around GetLastInputInfo for idle detection, and JSON configuration persistence with Windows Registry synchronization for autostart capabilities. Notable features include idle-period filtering with configurable thresholds, single-instance enforcement, direct access to Windows system tools (Task Manager, Resource Monitor, Performance Monitor), and comprehensive logging at user-configurable intervals with automatic daily summary generation at midnight. The project targets individual users and productivity analysts seeking passive activity monitoring and system performance awareness without privacy concerns, with declining recent activity (3 commits in 90 days) suggesting maintenance mode rather than active development, though the codebase demonstrates professional separation of concerns and Windows-native integration patterns suitable for production desktop applications.

Key Metrics

Stars

2

Forks

1

Watchers

2

Spark Score

37.3

Composite activity score

Commit Velocity

2.0/mo

Commits per month

Total Commits

27

6 in last 90 days

Signals

Pull RequestsClear

0

Open

0

Draft

0

Review

SecurityClear(partial data)

No active security alerts detected

Attention factors

dependencies

Timeline

Created

Mar 7, 2024

772 days ago

Last Commit

Mar 30, 2026

Last Push

Mar 30, 2026

19 days ago

Updated

Mar 30, 2026

Quality Indicators

README
License
CI/CD
Tests
Docs

Dependencies(4 packages)

Dependency health57/100
1 / 4 outdated4 / 4 versions known3 / 4 registry resolved
MinVer
Major outdated
7.0.08.0.0-alpha.1nugetMWH.KeyPressCounter.csproj
.NET SDK
Unknown
10.0nugetMWH.KeyPressCounter.csproj
System.Management
Unknown
10.0.511.0.0-preview.3.26207.106nugetMWH.KeyPressCounter.csproj
SharpHook
Current
7.1.1nugetMWH.KeyPressCounter.csproj

Repository Info

Size

46,596 KB

Package Manager

MWH.KeyPressCounter.csproj

Consistency Score

0.0

Activity Rate

0.07 commits/day

Avg Commit Size

960

Spark Rank

#17