Skip to content

AnnPoshtak/Cryo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

❄️ Cryo

Absolute Zero for Your Processes

Cryo is a blazing-fast CLI tool written in Rust that instantly "pauses" processes to free up CPU resources.
No need to close apps or lose your work — just put them into a temporary "coma" and bring them back whenever you want.


🚀 Why Cryo?

Tired of your CPU overheating while dozens of browser tabs or apps are running? Cryo pauses them instantly without closing anything.

Many alternatives are either too complex or risky. Written from scratch in Rust, Cryo strikes the perfect balance between extreme speed, memory safety, and simplicity.

Features

  • Blazing Fast: Powered by Rust and the optimized sysinfo crate for near-zero overhead.
  • 🛡️ Smart Protection: Built-in safeguards prevent freezing critical system processes or your own terminal session.
  • 🕸️ Deep Freeze: Recursively suspends the main application and all its child processes — perfect for heavy modern browsers and IDEs.

⚠️ Disclaimer: Cryo works at the OS signal level (SIGSTOP/SIGCONT on Unix, thread suspension on Windows). Most apps resume perfectly, but some (especially network-heavy ones) may time out, crash, or restart upon unfreezing.


🛠 Installation

To compile Cryo, you need the Rust toolchain installed on your system. If you don't have it yet, get it via rustup.rs.

1. Clone the repository

git clone [https://github.com/AnnPoshtak/Cryo](https://github.com/AnnPoshtak/Cryo)
cd Cryo

2. Build and install

You can compile the optimized release binary and move it directly to your Cargo binaries path so it's accessible from anywhere:

cargo install --path .

🔥 Final Step: Make sure ~/.cargo/bin is in your system's PATH. If it is, you can now use the cryo command anywhere!


💻 Usage

Take control of your CPU — just freeze and unfreeze.

🥶 Freeze

Suspends the application and all its sub-processes instantly.

cryo freeze firefox

🥵 Unfreeze

Brings the application back exactly where you left off.

cryo unfreeze firefox

🖥️ Show

Shows all processes with their PID

cryo show

🔌 Status

Shows the status of the selected process

cryo status firefox

💬 Cryo is just getting started! Your feedback helps make it better for everyone. If Cryo saved your laptop today, a ⭐ would help others discover it too!

Made with ❤️ and Rust

About

CLI tool to "freeze" processes on Linux

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors