A macOS menu bar application that displays your words-per-minute (WPM) typing speed in real-time.
- Real-time WPM calculation.
- 2-second rolling window for accurate WPM updates.
- High-frequency monitoring (50 updates per second).
- Exclusion of modifier keys and keyboard shortcuts.
- Menu bar display for convenient access.
- Simple and lightweight design.
- Download and install the application.
- Launch the app (it runs in the background).
- Your WPM will be displayed in the macOS menu bar.
- Clone the repository:
git clone <repository_url> - Open the
wpm-speedometer.xcodeprojfile in Xcode. - Build and run the application.
- SwiftUI: Used for the user interface (menu bar display).
- Swift: The programming language used for the entire project.
- Cocoa: Provides access to macOS system features, including the global event tap for keystroke monitoring.
- Core Graphics: Used for event handling.
- Xcode: The IDE (Integrated Development Environment) for building and running the macOS application.
The project includes unit and UI tests:
- Unit Tests: Located in the
wpm-speedometerTestsfolder. These tests focus on the core logic of the WPM calculation. - UI Tests: Located in the
wpm-speedometerUITestsfolder. These tests check for the functionality and UI aspects of the application.
Contributions are welcome! Please open an issue or submit a pull request.
README.md was made with Etchr