Skip to content

About

Interactive Node.js CLI for quickly rating something with keyboard controls and saving results locally.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

UppyDowner

UppyDowner is a small interactive Node.js terminal app for quickly rating something. Each new string starts at 6.6, can be adjusted with the arrow keys, and is saved locally when its session ends.

Requirements

  • Node.js
  • An interactive terminal

Run

npm start

No third-party packages are required.

Controls

Input mode

  • Type a non-empty string.
  • The blinking $ marks the current input position.
  • Press Enter to begin rating the string.
  • Press Escape or Ctrl+C to quit.

Rating session

  • Up Arrow: increase the rating by 0.1.
  • Down Arrow: decrease the rating by 0.1.
  • Right Arrow: increase the rating by 0.3.
  • Left Arrow: decrease the rating by 0.3.
  • Enter or Escape: save the rating and return to input mode.

Saved ratings

Completed sessions are appended to ratings.txt in this format:

test: 7.4
string2: 6.2

The file is created automatically if it does not already exist.

Check the program

npm test

This runs Node.js's syntax checker against index.js.

About

Interactive Node.js CLI for quickly rating something with keyboard controls and saving results locally.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors

Languages