Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ungtb10d/blcktop
╭∩╮(︶_︶)╭∩╮
https://github.com/ungtb10d/blcktop
Last synced: 10 days ago
JSON representation
╭∩╮(︶_︶)╭∩╮
- Host: GitHub
- URL: https://github.com/ungtb10d/blcktop
- Owner: ungtb10d
- License: agpl-3.0
- Created: 2022-11-09T12:30:36.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2022-11-09T12:44:21.000Z (about 2 years ago)
- Last Synced: 2024-11-12T03:19:33.391Z (2 months ago)
- Language: Go
- Homepage:
- Size: 3.13 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
### **NO LONGER MAINTAINED.** A maintained fork of blcktop exists at https://github.com/xxxserxxx/blcktop.
Another terminal based graphical activity monitor, inspired by [gtop](https://github.com/aksakalli/gtop) and [vtop](https://github.com/MrRio/vtop), this time written in [Go](https://golang.org/)!
## Installation
Working and tested on Linux, FreeBSD and macOS. Windows support is planned. OpenBSD works with some caveats.
### Source
```bash
go get github.com/ungtb10d/blcktop
```### Prebuilt binaries
**Note**: Doesn't require Go.
Clone the repo and then run [scripts/download.sh](./scripts/download.sh) to download the correct binary for your system from the [releases tab](https://github.com/ungtb10d/blcktop/releases):
```bash
git clone --depth 1 https://github.com/ungtb10d/blcktop /tmp/blcktop
/tmp/blcktop/scripts/download.sh
```Then move `blcktop` into your `$PATH` somewhere.
### Arch Linux
Install `blcktop`, `blcktop-bin`, or `blcktop-git` from the AUR.
### FreeBSD
```bash
pkg install blcktop
```### Homebrew
```bash
brew tap ungtb10d/blcktop
brew install blcktop
```### Snap
```bash
snap install blcktop-ungtb10d
```**Note**: You may need to enable certain permissions for all of the widgets to work:
```bash
snap connect blcktop-ungtb10d:hardware-observe
snap connect blcktop-ungtb10d:mount-observe
snap connect blcktop-ungtb10d:system-observe
```## Usage
### Keybinds
- Quit: `q` or ``
- Process navigation
- `k` and ``: up
- `j` and ``: half page up
- ``: half page down
- ``: full page up
- ``: full page down
- `gg` and ``: jump to top
- `G` and ``: jump to bottom
- Process actions:
- ``: toggle process grouping
- `dd`: kill selected process or group of processes
- Process sorting
- `c`: CPU
- `m`: Mem
- `p`: PID
- CPU and Mem graph scaling:
- `h`: scale in
- `l`: scale out
- `?`: toggles keybind help menu### Mouse
- click to select process
- mouse wheel to scroll through processes### Colorschemes
blcktop ships with a few colorschemes which can be set with the `-c` flag followed by the name of one. You can find all the colorschemes in the [colorschemes folder](./colorschemes).
To make a custom colorscheme, check out the [template](./colorschemes/template.go) for instructions and then use [default.json](./colorschemes/default.json) as a starter. Then put the file at `~/.config/blcktop/.json` and load it with `blcktop -c `. Colorschemes PR's are welcome!
### CLI Options
`-c`, `--color=NAME` Set a colorscheme.
`-m`, `--minimal` Only show CPU, Mem and Process widgets.
`-r`, `--rate=RATE` Number of times per second to update CPU and Mem widgets [default: 1].
`-V`, `--version` Print version and exit.
`-p`, `--percpu` Show each CPU in the CPU widget.
`-a`, `--averagecpu` Show average CPU in the CPU widget.
`-s`, `--statusbar` Show a statusbar with the time.
`-b`, `--battery` Show battery level widget (`minimal` turns off). [preview](./assets/screenshots/battery.png)
`-i`, `--interface=NAME` Select network interface [default: all].## Built With
- [gizak/termui](https://github.com/gizak/termui)
- [nsf/termbox](https://github.com/nsf/termbox-go)
- [exrook/drawille-go](https://github.com/exrook/drawille-go)
- [shirou/gopsutil](https://github.com/shirou/gopsutil)
- [goreleaser/nfpm](https://github.com/goreleaser/nfpm)
- [distatus/battery](https://github.com/distatus/battery)## Stargazers over time
[![Stargazers over time](https://starcharts.herokuapp.com/ungtb10d/blcktop.svg)](https://starcharts.herokuapp.com/ungtb10d/blcktop)