Skip to content

Commit c4cb3bd

Browse files
committed
update README
1 parent 48c0d82 commit c4cb3bd

File tree

1 file changed

+55
-55
lines changed

1 file changed

+55
-55
lines changed

README.md

Lines changed: 55 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
# TraceView
88

9-
🚀 **TraceView** is a fast and feature-rich TUI (Text-based User Interface) application written in Rust. It enables users to navigate the local filesystem, monitor system resources, search for files and directories, retrieve metadata, and export search results to JSON. The app is configurable via a `config.toml` file and provides a smooth user experience with different themes.
9+
A fast and feature-rich TUI (Text-based User Interface) application written in Rust. It enables users to navigate the local filesystem, monitor system resources, search for files and directories, retrieve metadata, and export search results to JSON. The app is configurable via a `config.toml` file and provides a smooth user experience with different themes.
1010

1111
---
1212

@@ -15,15 +15,15 @@
1515
---
1616

1717
## 🧩 Features
18-
- 📂 **Filesystem Explorer**: Quickly browse and navigate local directories.
19-
- 📊 **System Overview**: Monitor CPU, Swap, memory, and disk usage in real-time.
20-
- 🔎 **File & Directory Search**: Search files and folders by name with instant results.
21-
- 🗂️ **Metadata Retrieval**: View file and directory metadata (size, permissions, last modified, and more).
22-
- 📝 **Export Functionality**: Save search results as JSON files.
23-
- ⚙️ **Configurable Settings**: Customize behavior and appearance via `config.toml`.
24-
- 🎨 **Themes**: Choose from **Dark**, **Light**, **Dracula**, and **Indigo** themes.
25-
- **Help Page**: Built-in help page with keybindings and usage instructions.
26-
- 📊 **Status Bar**: Displays current context, active theme, last keystroke, and error messages in real-time.
18+
- **Filesystem Explorer**: Quickly browse and navigate local directories.
19+
- **System Overview**: Monitor CPU, Swap, memory, and disk usage in real-time.
20+
- **File & Directory Search**: Search files and folders by name with instant results.
21+
- **Metadata Retrieval**: View file and directory metadata (size, permissions, last modified, and more).
22+
- **Export Functionality**: Save search results as JSON files.
23+
- **Configurable Settings**: Customize behavior and appearance via `config.toml`.
24+
- **Themes**: Choose from **Dark**, **Light**, **Dracula**, and **Indigo** themes.
25+
- **Help Page**: Built-in help page with keybindings and usage instructions.
26+
- **Status Bar**: Displays current context, active theme, last keystroke, and error messages in real-time.
2727

2828
---
2929

@@ -33,7 +33,7 @@
3333
### 📦 Installation
3434
There are three ways to get started with TraceView:
3535

36-
#### 🏗️ **Option 1: Build from Source**
36+
#### Option 1: Build from Source
3737
1. **Clone the repository**:
3838
```bash
3939
git clone https://github.com/javaLux/traceview
@@ -49,10 +49,10 @@ There are three ways to get started with TraceView:
4949
./traceview
5050
```
5151

52-
#### 📥 **Option 2: Download Pre-Compiled Binaries** *(Recommended for quick setup)*
52+
#### Option 2: Download Pre-Compiled Binaries *(Recommended for quick setup)*
5353
If you don't want to build the project yourself or don't want to install Rust, you can download pre-compiled binaries from the [Releases](https://github.com/javaLux/traceview/releases) section on GitHub:
5454

55-
##### 🔑 **How to Run the Downloaded Binary:**
55+
##### **How to Run the Downloaded Binary:**
5656
1. Download the appropriate file for your operating system.
5757
2. Extract the archive if necessary.
5858
3. Make the binary executable (Linux/macOS):
@@ -64,7 +64,7 @@ If you don't want to build the project yourself or don't want to install Rust, y
6464
./traceview
6565
```
6666

67-
#### 📦 **Option 3: Install via crates.io** *(Quick and direct installation)*
67+
#### Option 3: Install via crates.io *(Quick and direct installation)*
6868
TraceView is available on [crates.io](https://crates.io/crates/traceview), allowing users to install and run it directly without cloning the repository.
6969

7070
1. **Install using Cargo:**
@@ -77,7 +77,7 @@ TraceView is available on [crates.io](https://crates.io/crates/traceview), allow
7777
traceview
7878
```
7979

80-
**Advantages of this method:**
80+
**Advantages of this method:**
8181
- The installed binary is placed in Cargo's bin directory (usually `~/.cargo/bin`), which is typically included in the system's `$PATH` environment variable.
8282
- You can run `traceview` directly from any terminal without specifying the path.
8383
- Easily update to the latest version with:
@@ -88,7 +88,7 @@ TraceView is available on [crates.io](https://crates.io/crates/traceview), allow
8888

8989
<br>
9090

91-
## 🎨 Configuration
91+
## ⚙️ Configuration
9292
TraceView is configurable via the `config.toml` file located in the Config-Directory. Below is the structure of the default configuration file:
9393

9494
```toml
@@ -99,7 +99,7 @@ follow_sym_links = false
9999
```
100100
* You can see the applied configurations at any time in the app by pressing `F2`.
101101

102-
### ⚙️ **Configuration Options**
102+
### Configuration Options
103103
- **theme**: Describes the default theme on startup. Accepted values: "Dark", "Light", "Dracula", "Indigo".
104104
- **Default:** "Dark"
105105
- **start_dir**: Describes the directory in which the file explorer should start. Leave empty to start in the current working directory.
@@ -110,13 +110,13 @@ follow_sym_links = false
110110
- **What are symbolic links?** Symbolic links (or symlinks) are pointers to other files or directories. When this option is set to `true`, TraceView follows these links during navigation and searches, potentially traversing linked paths. When set to `false`, symlinks are ignored to avoid accidental infinite loops or unintended directory traversals.
111111
- **Default:** false
112112

113-
### ⚠️ **Invalid Configuration Handling**
113+
### ⚠️ Invalid Configuration Handling
114114
If any settings in `config.toml` are incorrect or cannot be interpreted:
115115
- The application will log a warning in the **log file** located in the app's `data` directory.
116116
- Default settings will be applied automatically to ensure stability.
117117
- Users should consult the log file for details on which settings failed to load and why.
118118

119-
### 🖥️ **Command-Line Interface (CLI) Options**
119+
### Command-Line Interface (CLI) Options
120120
In addition to the `config.toml` file, TraceView supports command-line options for quick configuration overrides:
121121

122122
| Option | Description | Default | Constraints |
@@ -125,7 +125,7 @@ In addition to the `config.toml` file, TraceView supports command-line options f
125125
| `-f`, `--frame-rate <INTEGER>` | Frame rate (frames rendered per second) | 45 | Maximum: 60 |
126126
| `-c`, `--config <FILE>` | Use a specific configuration file | `<The default config file located in the Config-Dir>` | - |
127127

128-
**Advantages of CLI options:**
128+
**Advantages of CLI options:**
129129
- Override configuration settings without editing the default config file.
130130
- Useful for temporary adjustments (e.g., increasing refresh rate during a session).
131131
- Quick testing with different configurations.
@@ -140,10 +140,10 @@ traceview -r 2 -f 30 -c "/path/to/custom_config.toml"
140140

141141
## 🎨 Themes
142142
Supported themes:
143-
- 🖤 **Dark** – High contrast for low-light environments (default)
144-
- 🤍 **Light** – Bright theme for well-lit spaces
145-
- 🧛 **Dracula** – Vibrant dark theme with colorful highlights
146-
- 🟣 **Indigo** – Calming theme with indigo tones
143+
- **Dark** – High contrast for low-light environments (default)
144+
- **Light** – Bright theme for well-lit spaces
145+
- **Dracula** – Vibrant dark theme with colorful highlights
146+
- **Indigo** – Calming theme with indigo tones
147147

148148
To change the theme you can press `Tab` within the app or if you want to set a default theme on startup, update the `theme` value in `config.toml` file.
149149

@@ -154,18 +154,18 @@ To change the theme you can press `Tab` within the app or if you want to set a d
154154
## App Contexts
155155
TraceView operates in three primary contexts, each with context-specific controls and keybindings:
156156

157-
1. **Explorer Context** 🗂️ – Navigate and browse the filesystem.
158-
2. **Search Context** 🔎 – Input and execute file/directory searches.
159-
3. **Result Context** 📄 – View and export search results.
157+
1. **Explorer Context** – Navigate and browse the filesystem.
158+
2. **Search Context** – Input and execute file/directory searches.
159+
3. **Result Context** – View and export search results.
160160

161161
* Please use the provided help page by pressing `F1` to view all keyboard shortcuts and their context.
162162

163163
## 🧮 Status Bar Features
164164
The status bar, located at the bottom of the interface, provides:
165-
- 🗂️ **Current Context**: Shows whether you are in Explorer, Search, or Result context.
166-
- 🎨 **Active Theme**: Displays the currently applied theme.
167-
- ⌨️ **Last Keystroke**: Shows the last pressed key.
168-
- **Error Messages**: Displays any application errors or warnings.
165+
- **Current Context**: Shows whether you are in Explorer, Search, or Result context.
166+
- **Active Theme**: Displays the currently applied theme.
167+
- **Last Keystroke**: Shows the last pressed key.
168+
- **Error Messages**: Displays any application errors or warnings.
169169
---
170170

171171
<br>
@@ -176,17 +176,17 @@ TraceView provides a powerful search feature that allows users to search specifi
176176
- Search by partial matches (e.g., typing "log" to find "app_log.txt").
177177
- Search by file extensions (e.g., ".txt" to find all text files).
178178

179-
### 🔍 **Search Options:**
179+
### Search Options
180180
TraceView offers two search modes:
181181
- **Flat Search:** 🔎 Searches only within the currently selected directory (non-recursive). Ideal for quick local searches.
182182
- **Deep Search:** 🌐 Recursively searches through all subdirectories within the selected path. Useful for locating files or directories in nested structures.
183183

184-
### 📝 **Search Input History:**
184+
### Search Input History
185185
- The input field for typing search queries maintains a **history of previous searches** during the current session.
186186
- Navigate through past queries using the **Up (↑)** and **Down (↓)** arrow keys to quickly reuse or modify previous searches.
187187
- This feature enhances efficiency, especially when refining searches or repeating common queries.
188188

189-
**Usage Notes:**
189+
**Usage Notes:**
190190
- Initiate a search by pressing `Ctrl + F` in the Explorer Context.
191191
- Enter your search query and choose between Flat or Deep mode.
192192
- Search results are displayed instantly based on the selected mode.
@@ -199,13 +199,13 @@ TraceView offers two search modes:
199199
<br>
200200

201201
## 🗂️ Capturing File and Directory Metadata
202-
TraceView allows users to capture metadata for both files and directories with the following considerations:
202+
TraceView allows users to capture metadata (press `Ctrl + A` in Explorer Context), for both files and directories with the following considerations:
203203

204-
### 📄 **File Metadata**
205-
- File metadata is available immediately after invoking the metadata view (press `Ctrl + A` in Explorer Context).
204+
### 📄 File Metadata
205+
- File metadata is available immediately after invoking the metadata view.
206206
- Displayed information includes file size, permissions, last modified date, and ownership.
207207

208-
### 📁 **Directory Metadata**
208+
### 📁 Directory Metadata
209209
- Directory metadata collection may take longer, especially for large directories.
210210
- This is because TraceView recursively scans all contained files and subdirectories to determine:
211211
- 📏 Total size
@@ -220,7 +220,7 @@ TraceView allows users to capture metadata for both files and directories with t
220220
## ⏳ If Things Take a Long Time
221221
Some operations in TraceView, such as searching for files/directories or exporting search results, may take longer to complete depending on the size and complexity of the filesystem.
222222

223-
**Cancel Ongoing Processes:**
223+
**Cancel Ongoing Processes:**
224224
- You can quit the app at any time by pressing `Ctrl + Q`.
225225
- This is especially useful during deep searches or large directory exports that require extensive processing time.
226226
---
@@ -229,9 +229,9 @@ Some operations in TraceView, such as searching for files/directories or exporti
229229

230230
## 🚫 Limitations & Future Plans
231231
While TraceView offers a variety of features for browsing, searching, and viewing metadata, it is important to note that **it is not a full-fledged file explorer**. As such:
232-
- 🗑️ **File or directory manipulation (copying, moving, deleting, or renaming) is not supported.**
233-
- 🚀 **These features may be planned for a future release** to enhance the app’s file management capabilities.
234-
- 📄 TraceView is currently designed to provide safe, read-only access to filesystem information without risking unintended file modifications.
232+
- **File or directory manipulation (copying, moving, deleting, or renaming) is not supported.**
233+
- **These features may be planned for a future release** to enhance the app’s file management capabilities.
234+
- TraceView is currently designed to provide safe, read-only access to filesystem information without risking unintended file modifications.
235235
---
236236

237237
<br>
@@ -245,9 +245,9 @@ This project is licensed under the MIT License.
245245

246246
## 🧰 Built With ❤️ in Rust and these awesome crates
247247
Thanks to the developers of these crates, without whom `TraceView` would not exist<br>
248-
- 🖥️ **[Ratatui](https://crates.io/crates/ratatui)** – Rust-based library for building rich terminal user interfaces. 🖼️
249-
- 📁 **[Walkdir](https://crates.io/crates/walkdir)** – Efficient directory traversal for Rust projects. 🚶‍♂️
250-
- ⌨️ **[Crossterm](https://crates.io/crates/crossterm)** – Cross-platform Terminal Manipulation Library 🖲️
248+
- **[Ratatui](https://crates.io/crates/ratatui)** – Rust-based library for building rich terminal user interfaces.
249+
- **[Walkdir](https://crates.io/crates/walkdir)** – Efficient directory traversal for Rust projects.
250+
- **[Crossterm](https://crates.io/crates/crossterm)** – Cross-platform Terminal Manipulation Library
251251
---
252252

253253
<br>
@@ -257,10 +257,10 @@ TraceView has been tested on the following operating systems and environments:
257257

258258
| Operating System | Version | Terminal/Shell | CPU-Arch |
259259
|------------------|-----------------|-------------------------------------------------|-----------
260-
| 🪟 Windows | 10 (Pro) | Windows Terminal, PowerShell | x86_64 |
261-
| 🐧 Ubuntu Linux | 24.10 | GNOME-Terminal / bash, zsh | x86_64 |
262-
| 🐧 Linux Mint | 22.1 | GNOME-Terminal / bash, zsh | x86_64 |
263-
| 🍎 macOS | Monterey (12.x) | iTerm2 / zsh | x86_64 |
260+
| Windows | 10 (Pro) | Windows Terminal, PowerShell | x86_64 |
261+
| Ubuntu Linux | 24.10 | GNOME-Terminal / bash, zsh | x86_64 |
262+
| Linux Mint | 22.1 | GNOME-Terminal / bash, zsh | x86_64 |
263+
| macOS | Monterey (12.x) | iTerm2 / zsh | x86_64 |
264264

265265
### Notice
266266
When testing under MacOs, I noticed that the standard terminal does not fully support true RGB (24-bit) colors. For this reason, the test was also carried out with the third-party terminal `iTerm2'`. There all colors are displayed as expected. So if you notice an incorrect display of colors under MacOs, please use the [iTerm2](https://iterm2.com/) terminal.
@@ -270,13 +270,13 @@ When testing under MacOs, I noticed that the standard terminal does not fully su
270270
<br>
271271

272272
## 🛠️ Troubleshooting
273-
### 🪟 **Windows Terminal Freeze Issue**
273+
### Windows Terminal Freeze Issue
274274
If you experience the app freezing when clicking inside the terminal window with the **left mouse button** on Windows, this is due to the terminal's default behavior of entering "selection mode." In this mode, terminal input is paused while text is being selected. To avoid this issue:
275275
- Use keyboard navigation instead of mouse clicks.
276276
- Right-click outside the terminal to regain control.
277277
- Change terminal settings to disable selection mode if supported.
278278

279-
### **Error Messages and Logs**
279+
### Error Messages and Logs
280280
If an error appears in the status bar:
281281
- A brief error description is displayed in the status bar.
282282
- For detailed information, consult the **log file** located in the app's `data` directory.
@@ -290,20 +290,20 @@ If an error appears in the status bar:
290290
## 🤝 **Collaboration, Feedback & Bug Reports**
291291
I welcome feedback, suggestions, and bug reports! Your input helps make TraceView better.
292292

293-
### 💬 **How to Contribute:**
293+
### How to Contribute
294294
- Report issues or suggestions via [GitHub Issues](https://github.com/javaLux/traceview/issues).
295295
- Submit pull requests to improve the code or documentation.
296296
- Share your thoughts to help shape future features.
297297

298-
### 🐛 **Found a Bug?**
298+
### Found a Bug?
299299
- Check if it’s already reported.
300300
- If new, open an issue with details and reproduction steps.
301301
- Attach logs (in `data` directory) for faster diagnosis.
302302

303-
### 📢 **I Appreciate Your Feedback!**
303+
### I Appreciate Your Feedback!
304304
Your ideas and input make TraceView more user-friendly. Don’t hesitate to reach out.
305305

306306
<br>
307307

308-
## 🚀 Thank you for using TraceView! 🙌
308+
## Thank you for using TraceView! 🙌
309309

0 commit comments

Comments
 (0)