dtype

command module
v0.0.15 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 28, 2025 License: MIT Imports: 8 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Dtype Typing Test

A simple command-line typing test written in Go. This tool challenges you to type words accurately and quickly while providing real-time feedback with ANSI colored output.

Features

  • Real-Time Feedback: Colored text indicates correct (green), incorrect (red/dark red), or pending (yellow) characters.
  • Countdown Timer: Starts on the first keystroke and displays remaining time.
  • Performance Metrics: Calculates words per minute (WPM) and the number of correctly typed words at the end of the test.

Requirements

  • Go 1.24.1 or later

Installation

  1. Clone the repository:
    git clone https://github.com/dmars8047/dtype.git
    
  2. Change into the project directory:
    cd dtype
    
  3. Build the project:
    go build -o dtype
    

Usage

To run a typing test with a custom duration (in seconds), use:

./dtype -t 60

Replace 60 with any test duration between 10 and 300 seconds.

Acknowledgments

License

This project is open source. Feel free to modify and distribute it.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址