8000 GitHub - sou-san/sctt: A TUI speed cube timer
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

sou-san/sctt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python version PyPi version OS support

SpeedCubeTimer-TUI (sctt)

sctt_screenshot

It's a TUI speed cube timer app. It can generate scrambles, measure time, save solve data, statistics feature, and display the cube's state as a cube net.

It can also be used on the Linux console. (A color that cannot be displayed may change to a different color that can be displayed.)

Usage

Linux

If you don't have uv installed, please install it.

curl -LsSf https://astral.sh/uv/install.sh | sh

It must be run as root to detect keyboard events.

When run as root, __pycache__ will be owned by root and cannot be updated or uninstalled as a normal user. To prevent this, compile in advance __pycache__ using the --compile-bytecode option so that the owner of __pycache__ is the normal user.

uv tool install --compile-bytecode sctt
sudo -E $(which sctt)

or

sudo -E $(which uvx) -n sctt

Windows

If you don't have uv installed, please install it.

powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"

uv tool install sctt
sctt

or

uvx sctt

WSL2

sctt cannot be run because WSL2 cannot detect key release events.

Instead, run it via powershell as follows.

powershell.exe sctt

Development

git clone https://github.com/sou-san/sctt
cd sctt

Linux

uv sync --compile-bytecode
uv run pre-commit install
sudo -E $(which uv) run textual run --dev src/sctt/__main__.py

Windows

uv run pre-commit install
uv run textual run --dev .\src\sctt\__main__.py

Screenshots

session manager

time

time +2 penalty

time DNF penalty

ao5

ao12

scramble option

input scramble

scramble events

7x7x7 scramble

0