An open API service indexing awesome lists of open source software.

https://github.com/SohelIslamImran/ghosttime

Ghostty animation for any terminal with customizable colors
https://github.com/SohelIslamImran/ghosttime

cli ghosttime ghostty ghostty-animation terminal-animation

Last synced: 8 months ago
JSON representation

Ghostty animation for any terminal with customizable colors

Awesome Lists containing this project

README

          

# Ghosttime Terminal Animation

[Ghostty](https://ghostty.org) animation for any terminal with customizable colors. (Inspired from [ghostty.org](https://ghostty.org/))

### Install and run globally

```bash
npm install -g ghosttime
```

```bash
ghosttime
```

### Run without installing

```bash
npx ghosttime
```

### Commands

```bash
# Show available colors and help
ghosttime --colors
ghosttime -h
ghosttime --help

# Use a specific color
ghosttime -c red
ghosttime --color blue
ghosttime --color brightcyan

# Use ANSI color code
ghosttime -c 32 # green
ghosttime -c 91 # bright red

# Interactive color selection
ghosttime --select-color

# Run with timer (duration in seconds)
ghosttime -t 30 # Run for 30 seconds
ghosttime --timer 60 # Run for 1 minute
```

### Available Colors

- Standard Colors: `black`, `red`, `green`, `yellow`, `blue`, `magenta`, `cyan`, `white`
- Bright Colors: `brightblack`, `brightred`, `brightgreen`, `brightyellow`, `brightblue`, `brightmagenta`, `brightcyan`, `brightwhite`

### Controls

- Press `q` to quit
- Press `Ctrl+C` to exit
- Terminal focus controls animation pause/resume

### Features

- Smooth ghostty animation
- Customizable colors
- Interactive color selection
- Timer option for timed execution
- Focus-aware (pauses when terminal loses focus)
- Automatically centers in terminal
- Efficient rendering with minimal CPU usage