Skip to content

Practice touch typing by retyping source text files

Notifications You must be signed in to change notification settings

mihsamusev/sourcepiano

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sourcepiano - pracice touch typing anything in CLI

Why sourcepiano?

  • Exercise touch typing in your terminal with plain text and source code.
  • Capture metrics to drive your practice.
  • Study source code and text by re-writting it. Actively engaging with the file content translates to improved information retention.

Getting started

sourcepiano <file>
sourcepiano <url> 
curl <url> | sourcepiano

MVP TODO:

Bugs and QoL

  • move to crossterm for crossplatform
  • make it possible to either tab or ignore all leading whitespace in the row
  • disable terminal scrolling
  • scroll down by entire editor view (or step size in cfg)
  • horizontal wrap / scroll is buggy

UI

  • Color code typed errors
  • config file like .codepianorc
    • correct color
    • incorrect color
    • scroll step
  • Mininal status bar with, navigation, metrics and shortcuts

IO

  • Read a single file into buffer
  • Read from pipe
  • Read buffers using network
  • Preprocessors - config with filters on text file like, remove all non ascii chars, remove links, remove images, etc
  • Save session results on exit in a JSON file that can be used to visualize metrics

Metrics

  • Track % completion progress on a document
  • Track precision on a row level and on a document level
  • Track speed on a row level and on a document level
  • Rank symbols and tokens by difficulty

About

Practice touch typing by retyping source text files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages