TermiType π: A terminal-based typing test application built with C++. Test and improve your typing speed while enjoying a minimal, distraction-free environment.
- Features
- Getting Started
- Prerequisites
- Installation
- Usage
- Customization
- Contributing
- License
- Acknowledgments
- Accurate WPM Calculation: Measures your Words Per Minute (WPM) and tracks typing errors.
- Real-Time Feedback: Live updates with visual cues for correct and incorrect inputs.
- Minimal Dependencies: Uses only standard C++ and POSIX functionsβno external libraries.
- Configurable Word Count: Specify the number of words for each test run.
- Error Correction Support: Tracks fixed errors and shows detailed results at the end.
- A C++ compiler (e.g.,
g++
,clang++
,c++
). - Works on Linux and MacOS. For Windows, consider using WSL.
- A terminal that supports ANSI escape sequences.
TermiType is available in aur you can use any aur helper to download ttype
Only version 1.0.0 is available in aur. v1.1.0 will be updated soon within 2 weeks
yay -S ttype
Note: If you are using clang instead of gcc, you have to change the Makefile by replacing CXX=c++
CXX=g++
or CXX = clang++
- Clone the repository to your local machine:
git clone https://github.com/Srinath10X/ttype.git
cd ttype
- Compile the source and Install confix :
sudo make install
- Run the program:
ttype
- Start the Test: Run
ttype
from the terminal, and the paragraph will appear centered on the screen. - Restart Test: Press
Ctrl + R
to reset the paragraph and start a new test. - Exit Mid-Test: Press
Ctrl + C
orCtrl + D
to exit at any time.
WPM: 101.796
Accuracy: 100%
Seconds: 4.71531(s)
- Word List: Modify the
words
list inmain.cpp
to change the words used during the test. - Color Themes: Customize ANSI escape sequences like
BLUE
orRED_UNDERLINE
in the code for different text styles. - Paragraph Length: Adjust the default word count by modifying the program's logic or passing a parameter when starting the test.
Have ideas or found a bug? Contributions are welcome! checkout the CONTRIBUTING file for more details.
ttype is licensed under the GPLV3 License - see the LICENSE file for details.
- C++ Community: For their continuous support and inspiration.
- Linux Terminal Enthusiasts: For inspiring the creation of a terminal-based typing app.
- ANSI Escape Codes: For providing text styling and cursor control functionality.
Happy Typing! π