Skip to content

Continuously records your screen and lets you save the last few seconds as a GIF with a simple keypress.

Notifications You must be signed in to change notification settings

lilBunnyRabbit/game-clip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Game Clip

Game Clip is a Rust-based utility that continuously records your screen, storing the last few seconds (or minutes) of footage as configured. When you press a designated key combination, it converts the recent footage into a GIF using gifski.

Features

  • Continuous Recording: Always captures the last N seconds of your screen.
  • Instant GIF Creation: Save gameplay highlights as GIFs with a simple key press.
  • Configurable Hotkeys: Easily set your preferred key combinations.

Usage

  • Press 7 8 9 to capture a GIF.
  • Press Num 7 Num 8 Num 9 to capture raw footage.

Installation

  1. Clone the repository:
    git clone https://github.com/lilBunnyRabbit/game-clip
  2. Build the project:
    cargo build --release
  3. Run the executable:
    ./target/release/game-clip

Configuration

The config.yaml file allows you to customize the behavior of the game-clip application. The following settings are available:

  • quality: Sets the GIF quality (0-100).
  • fast: Toggles gifski's fast mode (default: true).
  • repeat: Controls GIF looping behavior (e.g., infinite).
  • fps: Frames per second (default: 60).
  • duration: Duration of the recording in seconds (default: 3).
  • width/height: GIF dimensions in pixels (default: 640x360).
  • path: Output path for saved GIFs (default: ./tmp/).
  • display: Selects the display to record (0 for primary, 1 for secondary, etc.).

If the file is missing, it will be created with default values.

Contributing

Contributions are welcome! Feel free to submit issues or pull requests.

About

Continuously records your screen and lets you save the last few seconds as a GIF with a simple keypress.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages