Skip to content
MahiroJVPublic

About

A futuristic TUI system monitor written in Rust πŸ”₯

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

Β 

History

58 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

kctop logo

kctop πŸ”₯

koktail claude's top β€” a futuristic TUI system monitor written in Rust.

CI Stars Rust Linux Built with Claude
size Status crates.io AUR


Overview

kctop is a btop-inspired terminal UI system monitor built with Rust. It features a futuristic neon dashboard layout with mouse support, live sorting, and a disk directory breakdown.

kctop system monitor screenshot

Features

  • CPU β€” overall + per-core bars, frequency, core count
  • Memory β€” RAM and swap with colored gauges
  • Disk β€” usage %, GB used/total, and top directories breakdown
  • Network β€” live ↓↑ KB/s and total session transfer
  • Processes β€” top 10, sortable by CPU/MEM/PID/Name, color-coded by load
  • Mouse support β€” click sort buttons, hover to highlight rows, scroll to navigate
  • Futuristic UI β€” neon cyan/purple theme, gauges go green β†’ yellow β†’ red by load
  • Graceful handling of small terminals (80Γ—24 minimum)
  • Launches from terminal or app launcher as a desktop app

Requirements

  • Rust (stable) β€” install from rustup.rs
  • Linux β€” reads from /proc and /sys via sysinfo

Install

cargo

cargo install kctop

AUR (Arch/Manjaro)

yay -S kctop
# or
paru -S kctop

Manual (any Linux distro)

git clone https://github.com/MahiroJV/kctop.git
cd kctop
chmod +x install.sh
./install.sh

Installs the binary, app icon, and desktop entry so kctop appears in your app launcher.

Make sure ~/.local/bin is in your PATH:

echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrc
source ~/.bashrc

Then run:

kctop

Or search kctop in your app launcher (GNOME, KDE, XFCE).

Update

chmod +x update.sh
./update.sh

Uninstall

chmod +x uninstall.sh
./uninstall.sh

Or manually:

rm ~/.local/bin/kctop
rm ~/.local/share/applications/kctop.desktop
rm ~/.local/share/icons/kctop.svg

Keybinds

Key Action
q Quit
r Force refresh
c / C Sort processes by CPU β–Ό / β–²
m / M Sort processes by Memory β–Ό / β–²
p Sort processes by PID
n Sort processes by Name

Mouse

Action Effect
Click sort button Change sort order instantly
Hover process row Highlight row
Scroll wheel Navigate process rows

Dependencies

Crate Version Purpose
sysinfo 0.29 CPU, RAM, disk, network, processes
tui 0.19 Terminal UI framework
crossterm 0.27 Terminal control + mouse events

Project structure

kctop/
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ main.rs       # event loop + wiring
β”‚   β”œβ”€β”€ system.rs     # data collection + sorting + disk dirs
β”‚   └── ui.rs         # TUI rendering + mouse handling
β”œβ”€β”€ assets/
β”‚   β”œβ”€β”€ kctop.svg     # app icon
β”‚   └── Screenshot.png
β”œβ”€β”€ Cargo.toml
β”œβ”€β”€ install.sh        # builds + installs binary, icon, desktop entry
β”œβ”€β”€ uninstall.sh      # clean removal
└── README.md

License

MIT License Β© 2026 Mahir

About

A futuristic TUI system monitor written in Rust πŸ”₯

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages