cli-monkeytype
Version:
A command-line typing test application inspired by Monkeytype
54 lines (46 loc) • 1.89 kB
Markdown
# CLI Monkeytype - Project Summary
## Overview
CLI Monkeytype is a command-line typing test application inspired by Monkeytype, built with Node.js. It provides a simple and effective way to test and improve your typing speed and accuracy directly from your terminal.
## Features Implemented
1. Real-time typing test in the terminal
2. Word-per-minute (WPM) calculation
3. Accuracy tracking with mistake counting
4. Colorful terminal interface using chalk
5. Customizable word count through command-line arguments
6. Help system with usage instructions
7. Cross-platform compatibility (Windows, macOS, Linux)
8. TTY mode detection for optimal experience
## Technical Details
- Built with Node.js and JavaScript
- Uses chalk for terminal coloring
- Uses keypress for keyboard input handling
- Command-line argument parsing for customization
- Real-time feedback during typing
- Comprehensive results display
## Files Created
1. `package.json` - Project configuration and dependencies
2. `bin/monkeytype.js` - Main application file
3. `README.md` - Documentation and usage instructions
## How to Use
### Current Method (Local Installation):
1. Clone or download this repository
2. Navigate to the project directory
3. Install globally: `npm install -g .`
4. Run: `monkeytype`
5. Customize word count: `monkeytype --words 50`
6. Get help: `monkeytype --help`
### Future Method (When published to npm):
1. Install globally: `npm install -g cli-monkeytype`
2. Run: `monkeytype`
3. Customize word count: `monkeytype --words 50`
4. Get help: `monkeytype --help`
## Dependencies
- chalk: For terminal coloring
- keypress: For keyboard input handling
## Future Improvements
1. Add different difficulty levels
2. Include more diverse word lists
3. Add timing modes (15s, 30s, 60s)
4. Save and track historical results
5. Add sound effects for feedback
6. Implement different typing test modes