recomposable 1.0.1 → 1.0.2

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.
package/README.md CHANGED
@@ -1,19 +1,11 @@
1
- ```
2
- __ __ _ _ _ _ ___
3
- \ \ / /| || | /_\ | | | __| .
4
- \ \/\/ / | __ |/ _ \| |__| _| ":"
5
- \_/\_/ |_||_/_/ \_|____|___| ___:____ |"\/"|
6
- ,' `. \ /
7
- docker compose manager | O \___/ |
8
- ~^~^~^~^~^~^~^~^~^~^~^~
9
- ```
10
-
11
1
  # recomposable
12
2
 
13
3
  A lightweight Docker Compose TUI manager with vim keybindings. Monitor service status, restart or rebuild containers, and tail logs — all from your terminal.
14
4
 
15
5
  Zero dependencies. Pure Node.js.
16
6
 
7
+ ![recomposable list view](screenshots/list-view.png)
8
+
17
9
  ## Install
18
10
 
19
11
  ```bash
@@ -40,6 +32,20 @@ EOF
40
32
  recomposable
41
33
  ```
42
34
 
35
+ ## Features
36
+
37
+ - **Multi-file support** — manage services across multiple compose files, grouped by file
38
+ - **Live status** — polls container state, health, build and restart times
39
+ - **Log pattern scanning** — counts WRN/ERR (configurable) occurrences across all services
40
+ - **Inline log panel** — tail logs for the selected service without leaving the list view
41
+ - **Full log view** — scrollable full-screen log viewer with live auto-scroll
42
+ - **Rebuild & restart** — trigger `docker compose up -d --build` or `restart` per service
43
+ - **Vim keybindings** — navigate with `j`/`k`, `G`/`gg`, and more
44
+
45
+ ## Full Log View
46
+
47
+ ![recomposable full logs view](screenshots/logs-view.png)
48
+
43
49
  ## Adding Compose Files
44
50
 
45
51
  Create a `recomposable.json` file in your project root:
@@ -82,6 +88,9 @@ recomposable -f docker-compose.yml -f docker-compose.prod.yml
82
88
  | `composeFiles` | `[]` | Array of docker-compose file paths (relative to `recomposable.json`) |
83
89
  | `pollInterval` | `3000` | Status polling interval in milliseconds |
84
90
  | `logTailLines` | `100` | Number of log lines to show when entering log view |
91
+ | `logScanPatterns` | `["WRN]", "ERR]"]` | Patterns to count in container logs |
92
+ | `logScanLines` | `1000` | Number of log lines to scan for pattern counts |
93
+ | `logScanInterval` | `10000` | Pattern scanning interval in milliseconds |
85
94
 
86
95
  ## Keybindings
87
96
 
@@ -91,12 +100,12 @@ recomposable -f docker-compose.yml -f docker-compose.prod.yml
91
100
  | `k` / `Up` | Move cursor up |
92
101
  | `s` | Restart selected service |
93
102
  | `r` | Rebuild selected service (`up -d --build`) |
94
- | `l` / `Enter` | View logs for selected service |
95
- | `Esc` / `l` | Exit log view |
103
+ | `f` / `Enter` | Full-screen log view for selected service |
104
+ | `l` | Toggle inline log panel |
96
105
  | `G` | Jump to bottom |
97
106
  | `gg` | Jump to top |
107
+ | `Esc` | Exit log view |
98
108
  | `q` | Quit |
99
- | `Ctrl+C` | Quit |
100
109
 
101
110
  ## Status Icons
102
111
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "recomposable",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "Docker Compose TUI manager with vim keybindings — monitor, restart, rebuild, and tail logs for your services",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -8,7 +8,8 @@
8
8
  },
9
9
  "files": [
10
10
  "index.js",
11
- "lib/"
11
+ "lib/",
12
+ "screenshots/"
12
13
  ],
13
14
  "keywords": [
14
15
  "docker",
Binary file
Binary file