@ziuus/vanta 0.6.3 → 0.6.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +13 -5
  2. package/bin/vanta.js +12 -3
  3. package/package.json +3 -3
package/README.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  **Your machine, one pane.**
6
6
 
7
- A fast, aesthetic terminal system dashboard in Rust. The most complete keyboard-driven terminal dashboard — one pane, six modes, zero mouse.
7
+ A fast, aesthetic terminal system dashboard in Rust. The most complete keyboard-driven terminal dashboard — one pane, four modes, zero mouse.
8
8
 
9
9
  [![npm](https://img.shields.io/npm/v/@ziuus/vanta?style=for-the-badge&logo=npm&logoColor=white&color=CB3837)](https://www.npmjs.com/package/@ziuus/vanta)
10
10
  [![CI](https://img.shields.io/github/actions/workflow/status/ziuus/vanta/ci.yml?style=for-the-badge&label=CI)](https://github.com/ziuus/vanta/actions/workflows/ci.yml)
@@ -109,9 +109,10 @@ Vanta respects `XDG_CONFIG_HOME` if you set it.
109
109
 
110
110
  | Key | Page | What's on it |
111
111
  |-----|------|--------------|
112
- | `1` | **Dashboard** | System facts + distro logo, semicircle gauges, CPU graph & cores, storage, big clock, now playing, visualizer, top processes, status, memory, network, calendar |
112
+ | `1` | **Dashboard** | System facts + distro logo, semicircle gauges, CPU graph & cores, storage, big clock, now playing, visualizer, top processes, interactive status, memory, network, calendar |
113
113
  | `2` | **Monitor** | btop-style: CPU / memory / disk I/O / network / GPU graphs on top, full process table below (sort, filter, tree, kill) |
114
- | `3` | **Aesthetic** | Huge clock, calendar, matrix rain, spinning donut, full-width visualizer |
114
+ | `3` | **Aesthetic** | Huge clock, calendar, matrix rain, spinning donut, pinned media (photos), full-width visualizer |
115
+ | `4` | **Workspace** | Built-in File Manager (with image previews), Agenda, Tasks, RSS feeds, and Obsidian vault viewer |
115
116
  | `?` | **Help** | Keybind reference overlay |
116
117
 
117
118
  ### `2` — Monitor
@@ -122,10 +123,15 @@ Every graph on top, every process below. Sort it, filter it, tree it, kill it.
122
123
 
123
124
  ### `3` — Aesthetic
124
125
 
125
- For when the build is running and you want something to look at.
126
+ For when the build is running and you want something to look at. Includes support for displaying a custom pinned image.
126
127
 
127
128
  <img src="https://raw.githubusercontent.com/ziuus/vanta/main/docs/aesthetic.png" alt="vanta aesthetic page" width="900" />
128
129
 
130
+ ### `4` — Workspace
131
+
132
+ Turn your terminal into a productivity hub with a built-in file manager (with image previews), RSS news reader, tasks, agenda, and Obsidian vault viewer (with markdown syntax highlighting). Press `e` on any focused panel to edit the content in your `$EDITOR`.
133
+
134
+
129
135
  ### `?` — Help
130
136
 
131
137
  Every key, on screen, on any page.
@@ -136,7 +142,7 @@ Every key, on screen, on any page.
136
142
 
137
143
  | Key | Action |
138
144
  |-----|--------|
139
- | `1` `2` `3` | Switch page (persisted as startup page) |
145
+ | `1` `2` `3` `4` | Switch page (persisted as startup page) |
140
146
  | `Tab` / `Shift-Tab` | Cycle panel focus · `Esc` clears |
141
147
  | `Enter` | Zoom the focused panel to the full page · `Esc` back |
142
148
  | `T` | Next theme (persisted) |
@@ -149,6 +155,8 @@ Every key, on screen, on any page.
149
155
 
150
156
  **Processes (Monitor):** `↑↓ PgUp PgDn Home End` select · `/` filter (`Enter` keeps, `Esc` clears) · `s` sort field · `r` reverse · `t` tree · `←→` fold · `c` full command · `k` SIGTERM · `K` SIGKILL (press twice to confirm, `x` cancels)
151
157
 
158
+ **Workspace:** `e` opens the active note, agenda, task list, or file in your `$EDITOR`.
159
+
152
160
  **Calendar (focused):** `←→` month · `↑↓` year · `Home` today
153
161
 
154
162
  ## Themes
package/bin/vanta.js CHANGED
@@ -7,9 +7,18 @@ const { spawnSync } = require('child_process');
7
7
  const bin = path.join(__dirname, 'vanta-bin');
8
8
 
9
9
  if (!fs.existsSync(bin)) {
10
- console.error('vanta: binary missing — reinstall with `npm install -g @ziuus/vanta`');
11
- console.error('vanta: or build from source: cargo install --git https://github.com/ziuus/vanta');
12
- process.exit(1);
10
+ const installer = path.join(__dirname, '..', 'install.js');
11
+ if (fs.existsSync(installer)) {
12
+ process.stderr.write('vanta: downloading release binary...\n');
13
+ const res = spawnSync(process.execPath, [installer], { stdio: 'inherit' });
14
+ if (res.status !== 0 || !fs.existsSync(bin)) {
15
+ process.exit(1);
16
+ }
17
+ } else {
18
+ console.error('vanta: binary missing — reinstall with `npm install -g @ziuus/vanta`');
19
+ console.error('vanta: or build from source: cargo install --git https://github.com/ziuus/vanta');
20
+ process.exit(1);
21
+ }
13
22
  }
14
23
 
15
24
  const { status, signal } = spawnSync(bin, process.argv.slice(2), { stdio: 'inherit' });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ziuus/vanta",
3
- "version": "0.6.3",
4
- "description": "Aesthetic Rust TUI system dashboard \u2014 CPU, memory, disk, network, GPU, processes, now-playing, clock and visualizer in one terminal pane",
3
+ "version": "0.6.9",
4
+ "description": "Aesthetic Rust TUI system dashboard — CPU, memory, disk, network, GPU, processes, now-playing, clock, file manager, notes and visualizer in one terminal pane",
5
5
  "bin": {
6
6
  "vanta": "bin/vanta.js"
7
7
  },
@@ -44,4 +44,4 @@
44
44
  },
45
45
  "license": "MIT",
46
46
  "author": "zius"
47
- }
47
+ }