Skip to content

SohelIslamImran/ghosttime

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ghosttime Terminal Animation

Ghostty animation for any terminal with customizable colors. (Inspired from ghostty.org)

ghostty.mp4

Install and run globally

npm install -g ghosttime
ghosttime

Run without installing

npx ghosttime

Commands

# 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