1.0.36 • Published 6 months ago

@dilapidated-penguin/cubetimer v1.0.36

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

🧩 CubeTimer

Work in Progress TypeScript Node.js

A fast and lightweight CLI timer for speedcubing. Generate random scrambles and track your solves and analyze your times.

šŸš€ Features

  • āœ… Accurate Timer – Supports stackmat, spacebar, and mouse click timing.
  • āœ… Scramble Generator – Provides scrambles for 2x2-7x7, Megaminx, Pyraminx, Skewb, Square-1, and Clock.
  • āœ… Session Statistics – Tracks mean, average of 5/12, best/worst times, and standard deviation.

šŸ“¦ Installation

Prerequisites

  • Requires Node.js v16+.

Install via npm

npm install -g @dilapidated-penguin/cubetimer

Run in Local Development

git clone https://github.com/Dilapidated-Penguin/speedcubing-timer-cli.git
cd cubetimer
npm install
npm start

šŸŽÆ Usage

Start a Timer

cubetimer start

Hold down the spacebar to prime the timer, release it to start and tap the spacebar again to stop the timer

Change settings

cubetimer settings

šŸ”Ø Development

Build TypeScript

npm run build

šŸ› ļø Dependencies

  • @futpib/node-global-key-listener – Global key listening for timing functionality.
  • chalk – Terminal styling.
  • keypress – Key event handling.
  • scrambow – Scrambow is used for scramble generation and so the question of whether this cli supports an event is implicitly the question of whether scrambow supports the event.
  • nice-table - for rendering tables in the console with a clean and structured format.
  • cfonts - ANSI fonts

Known Issues

šŸ”“ Key listening continues to listen when the window is out of focus

  • Description: Key listener used in the timer will continue to the key events even when user is in another window Status: āœ… Fixed in v1.0.6

šŸ”“ Solve Labelling

  • Description: Pressing e in solve mode multiple times will make multiple prompts to label the last solve Status: ā³ Work in Progress

šŸ“œ License

This project is licensed under the MIT License.


🚧 Note: This project is very much still in development. Expect updates and new features! šŸš€

1.0.36

6 months ago

1.0.35

6 months ago

1.0.34

6 months ago

1.0.33

7 months ago

1.0.32

7 months ago

1.0.31

7 months ago

1.0.30

7 months ago

1.0.29

7 months ago

1.0.28

7 months ago

1.0.27

8 months ago

1.0.26

8 months ago

1.0.25

8 months ago

1.0.24

8 months ago

1.0.23

8 months ago

1.0.22

8 months ago

1.0.21

8 months ago

1.0.20

8 months ago

1.0.19

8 months ago

1.0.18

8 months ago

1.0.17

8 months ago

1.0.16

8 months ago

1.0.15

8 months ago

1.0.14

8 months ago

1.0.13

8 months ago

1.0.12

8 months ago

1.0.11

8 months ago

1.0.10

8 months ago

1.0.9

8 months ago

1.0.8

8 months ago

1.0.7

8 months ago

1.0.6

8 months ago

1.0.5

9 months ago

1.0.4

9 months ago

1.0.3

9 months ago

1.0.2

9 months ago

1.0.1

9 months ago

1.0.0

9 months ago