• Stars
    star
    267
  • Rank 153,621 (Top 4 %)
  • Language
    Haskell
  • License
    BSD 3-Clause "New...
  • Created over 7 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A command line utility for practicing typing and measuring your WPM and accuracy.

Gotta Go Fast

A command line utility for practicing typing and measuring your WPM and accuracy. Written with brick.

Installation

From source using Stack:

$ stack install gotta-go-fast

Download binary (macOS):

$ DEST=~/.local/bin/gotta-go-fast
$ curl https://github.com/callum-oakley/gotta-go-fast/releases/download/0.3.0.6/macos -fLo $DEST

Where DEST is somewhere in your PATH.

Usage

gotta-go-fast has three modes of operation. In all three modes, type through the presented text and then submit with ENTER. You must correct your mistakes before you can submit. Press ESC at any time to restart. Exit with CTRL-C.

1. Nonsense mode

Run with no file inputs, it will generate nonsense which is statistically similar to English text. Words appear in the nonsense with the same frequency that they appear in actual English. The length of the nonsense can be specified with --nonsense-len (-l) (in characters).

$ gotta-go-fast -w 60

screenshot

2. Chunk mode

Run with files to sample from, it will sample a random chunk from a random file as input. This works well for code or other text without a clear paragraph structure. Specify the height of the chunk in lines with --height (-h).

$ gotta-go-fast src/*

screenshot

3. Paragraph mode

Run with files to sample from, and --paragraph (-p), it will sample a random paragraph (empty line delimited) from a random file. This works well for prose such as Project Gutenberg books. Reflow text to the target width with --reflow (-r). Specify the maximum and minimum length for a paragraph with --max-paragraph-len and --min-paragraph-len (in characters).

$ gotta-go-fast -prw 60 README.md

screenshot

In all three modes the width of the text can be set with --width (-w), the tab width can be set with --tab (-t) and the colour of empty (not yet typed) text and of errors can be set with --fg-empty and --fg-error (ANSI colour codes).

Run with --help for details.

More Repositories

1

json5-rs

A Rust JSON5 serializer and deserializer which speaks Serde.
Rust
166
star
2

fgwm

floating grid window manager -- powered by wmutils
Go
35
star
3

type-the-tao-te-ching

A simple typing practice app powered by Hyperapp.
JavaScript
27
star
4

keymap

Python
18
star
5

json5-to-json

A bare-bones tool for converting JSON5 to plain JSON.
Rust
12
star
6

advent-of-code-clojure

Solutions to the puzzles at https://adventofcode.com
Clojure
9
star
7

macos-dots

dotfiles etc
Lua
6
star
8

advent-of-code-2020

Solutions to the wonderful puzzles at https://adventofcode.com/2020/ in Clojure
Clojure
6
star
9

nonsense

A typing app which generates nonsense with realistic word frequencies
JavaScript
6
star
10

linux-dots

dotfiles (and assorted other stuff)
Shell
3
star
11

dots-old

C++
3
star
12

black-on-white-syntax

CSS
2
star
13

markdown-calendar

Generates a markdown calendar.
Elm
2
star
14

polite-http-server

Wrapper for http.Server providing a workaround for https://github.com/golang/go/issues/29764
Go
2
star
15

gup

A utility to publish a file as a gist from the command line.
Python
2
star
16

project-euler-1-to-100

Solutions to the wonderful puzzles at https://projecteuler.net/
Python
1
star
17

synacor-challenge

Solutions to https://challenge.synacor.com
Clojure
1
star
18

tofe

Yet another 2048 clone
Haskell
1
star
19

chatkit-token

JavaScript
1
star
20

Ghost

js solution to the ghost game. See http://blog.xkcd.com/2007/12/31/ghost/
JavaScript
1
star
21

advent-of-code-2018

https://adventofcode.com/2018
Rust
1
star
22

pubsub

just playing
Rust
1
star
23

FRACTRAN

see https://en.wikipedia.org/wiki/FRACTRAN
Haskell
1
star
24

websocket-ping-pong-experiment

Go
1
star
25

pubsub-haskell

Haskell solution to https://github.com/pusher/pubsub-code-challenge
Haskell
1
star