Node.js console typing test. Easy, Med, & Hard Difficulties, Speed graph, Shortcuts


Keywords
typing, typing test, training, terminal, console, wpm, harder better faster stronger, node, linux, nodejs, terminal-based, typing-practice, typing-trainer
License
ISC
Install
npm install tycon@2.5.1

Documentation

Typing Test + Console

Node.js console typing test. Easy, Med, & Hard Difficulties, Speed graph, Shortcuts
npmjs.com/package/tycon

tycon recording

Run From NPM

  1. Install NodeJS

  2. Install Tycon

$ sudo npm i tycon -g
  1. Run
$ tycon

Menu Options

  • Test Mode: basic, sentence
  • Test Length (seconds): 10, 30, 60, 120, 180

Additional Test Settings.. y/N

  • Difficulty (basic mode only): easy, med, hard
  • Require Correct Word (don't skip on incorrect): y/N
  • Colourblind Mode (blue/green): y/N
  • Randomly Capitalize First Letter (scales with difficulty): y/N

Features

  • Basic Mode: Randomly selected words from 3 difficulties.
  • Sentence Mode: Paragraphs from popular books, including capitalization and punctuation.
  • Restarting Test: ^R Is used to start/re-start a test. Can be used while test is running (will re-random sentence selection)
  • Word Deletion: Ctrl + Backspace is used to delete a typed word. Shift + Home is not supported, nor is Ctrl + W (for Unixers), though I'm considering it.
  • Speed Graph: Every 2 seconds, your average WPM (up to that point) is calculated
  • Custom Text: tycon -f </path/file.txt>

To-Do

  • Support custom word lists from file (validate format, and navigate directories to locate. launch flag -f and file path)
  • Support numbers (keypress just gives undefined for data)
  • % incorrect by each character, not just incorrect words, and backspaces
  • Display random typing tips
  • Add random punctuation mode (insert punctuation, and reformat text, like hyphens w/o space, caps after period, etc.)
  • Re-do intervaled avg to average in segments, instead of over progress of the test (so chart is more relevant)
  • Record local lifetime stats
  • Launch parameters to define settings
  • User config (settings) file support
  • Record time between all keypresses for consistency data, & display in graph

Text Excerpts

  • The Fellowship of the Ring, J.R.R Tolkein
  • Harry Potter and the Chamber of Secrets, J.K. Rowling
  • Anna Karenina, Leo Tolstoy
  • The Eye of the World, Robert Jordan
  • Animal Farm, George Orwell
  • The Hitchhiker's Guide to the Galaxy, Douglas Adams
  • The Name of the Wind, Patrick Rothfuss
  • Romeo and Juliet, William Shakespeare
  • Charlie and the Chocolate Factory, Roald Dahl
  • Kidnapped, Robert Louis Stevenson
  • The Secret Garden, Frances Hodgson Burnett

Bugs

  • No option to retain "file" mode, from launch, after entering sub-settings menu

Issues?

  1. Tycon not recognized command (Windows), when trying to launch
    Probably a path var issue with node. Add npm path to your environment variables & restart terminal. Link

More

website: nicfontaine.com
twitter: @ngpfontaine

License

Buy it, use it, break it, fix it, trash it, change it, mail, upgrade it. ;v