index : nmrs-tui
A fast, Vim-friendly NetworkManager TUI built in Rust.
about summary refs log tree commit diff
nmrs-tui / README.md
-rw-r--r-- blob b54939bf3a0c3c158bbe027fed2aa2f5b93e5bdf 1966 bytes (plain)
1
# <p align="center"> nmrs-tui 🦀 </p>
2
3
<p align="center">
4
  <strong>A fast, keyboard-first TUI for NetworkManager — built in Rust.</strong>
5
</p>
6
7
<p align="center">
8
  <img src="https://img.shields.io/badge/status-BETA-orange?style=for-the-badge" alt="Status">
9
  <img src="https://img.shields.io/badge/license-GPL--3-blue?style=for-the-badge" alt="License">
10
  <img src="https://img.shields.io/badge/built%20with-Ratatui-red?style=for-the-badge" alt="Ratatui">
11
</p>
12
13
## Demo
14
15
![demo](assets/demo.avif)
16
---
17
18
`nmrs-tui` is a terminal user interface for [nmrs](https://github.com/cachebag/nmrs), inspired from [impala](https://github.com/pythops/impala).
19
20
## ✨ Features
21
- **Available Networks:** Real-time scanning and listing of WiFi networks.
22
- **Known Networks:** Easily manage and connect to your saved profiles.
23
- **Device Management:** View and control your network interfaces.
24
- **Customizable:** (WIP).
25
- **Vim-like Keybindings:** Navigate your networks with Vim-like keybinds.
26
27
## 🚀 Installation
28
29
### Prerequisites
30
- [**NetworkManager**](https://wiki.archlinux.org/title/NetworkManager) must be installed and running.
31
- **Rust** if you are building from source.
32
33
### 📦 Cargo
34
```sh
35
cargo install nmrs-tui
36
```
37
The binary will be available at `~/.cargo/bin/nmrs-tui`.
38
Make sure to add path `export PATH="$HOME/.cargo/bin:$PATH"`
39
40
### Build from Source
41
```bash
42
git clone https://github.com/y2w8/nmrs-tui.git
43
cd nmrs-tui
44
cargo build --release
45
```
46
The binary will be available at `./target/release/nmrs-tui`.
47
48
## 🛠️ Debugging & Logs
49
If you encounter issues, `nmrs-tui` provides detailed logging. You can set the log level using the `NMRS_LOG` environment variable:
50
```bash
51
NMRS_LOG=trace nmrs-tui
52
```
53
Logs are stored in your cache directory `~/.cache/nmrs-tui/nmrs-tui.log`, fallback to cwd.
54
55
## 🤝 Contributing
56
57
Contributions are welcome! Whether it's a bug report, a new feature idea, or a pull request, feel free to open an issue or submit a PR.