#better #linux #extensible #responsive #ui #vtop #rtop

bin+lib rtop-rs

Faster and better alternative to Vtop written in Rust

18 releases (7 stable)

1.1.1 Nov 18, 2022
1.1.0-beta.6 Sep 21, 2022
1.1.0-beta.0 Jun 3, 2022
0.2.2 Apr 15, 2022

#1151 in Filesystem

Download history 83/week @ 2024-06-29 17/week @ 2024-07-27 3/week @ 2024-09-21 56/week @ 2024-09-28

59 downloads per month

MPL-2.0 license

39KB
922 lines

Rtop

Made with Rust Use git
License Stars

Faster and better alternative to Vtop written in Rust.

Features

  • Lightweight < 1MB
  • Responsive UI
  • Work on Linux
  • Easy to Use
  • Designed for You
  • Extensible with an API

Downloads

Crates.io

Rtop is available on crates.io You can download it with

cargo install rtop-rs

Build manually

Start by cloning the repo:

git clone https://github.com/RTopRS/Rtop.git

For the next step you need to have Rust and cargo installed on your PC, for that follow the official documentation.

Now switch to project folder and compile a release:

cd RTop && cargo build --release

Your executable will be in the target/release/ folder, it is named rtop.

Option file

You can customize Rtop as like you want! First, create this file ~/.config/rtop/config
Then, paste it this config template:

{
    "pages": [
        [
            "cpu_chart",
            "memory_chart",
            "process_list"
        ]
    ],
    "plugins": [
    ]
}

If you want to add a plugin, simply add this entry in the plugins key

{
    "name": "foo",
    "path": "/path/to/the/lib.so"
}

Then, simply add some plugin's widgets. For example, here we add the widget foo and the widget bar on the same page.

[
    "foo.foo",
    "foo.bar"
]

The final result should look like this

{
    "pages": [
        [
            "cpu_chart",
            "memory_chart",
            "process_list"
        ],
        [
            "foo.foo",
            "foo.bar"
        ]
    ],
    "plugins": [
        {
            "name": "foo",
            "path": "/path/to/the/lib.so"
        }
    ]
}

Just remember, you can only put 4 widgets per page

Contributors

SquitchYT

License

RTop | Mozilla Public License 2.0

Dependencies

~5–15MB
~179K SLoC