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
- Host: GitHub
- URL: https://github.com/SohelIslamImran/ghosttime
- Owner: SohelIslamImran
- Created: 2025-01-08T12:15:28.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2025-01-18T04:42:11.000Z (9 months ago)
- Last Synced: 2025-01-18T04:43:23.864Z (9 months ago)
- Topics: cli, ghosttime, ghostty, ghostty-animation, terminal-animation
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/ghosttime
- Size: 39.4 MB
- Stars: 11
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
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