@obedience-corp/peep 0.2.2 → 0.3.0

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 (2) hide show
  1. package/README.md +16 -6
  2. package/package.json +5 -5
package/README.md CHANGED
@@ -1,21 +1,31 @@
1
1
  # peep
2
2
 
3
- Your files. In focus. Browse files, preview images and video, listen to music and audiobooks, and read Markdown, source code, and Mermaid diagrams in your terminal.
3
+ Your files. In focus. Browse files, preview images and video, listen to music and audiobooks, and read Markdown, source code, PDFs, and Mermaid diagrams in your terminal.
4
4
 
5
5
  ```sh
6
6
  npm install -g @obedience-corp/peep
7
+ peep setup
7
8
  peep ~/Pictures
8
9
  peep --doctor
9
10
  ```
10
11
 
11
12
  macOS and Linux on x64 and arm64 are supported. The matching native executable is installed through npm's optional platform dependencies. No Go compiler, postinstall download, Node-based diagram renderer, or separate Mermaid helper is needed. Node is used only to launch the Go executable.
12
13
 
13
- For media playback, install FFmpeg and mpv separately:
14
+ `peep setup` detects missing FFmpeg, mpv and poppler (PDF) tools, shows the package-manager command,
15
+ and asks before installing. It supports Homebrew on macOS and apt-get, dnf, or
16
+ pacman on Linux. It leaves your npm installation of peep in place. For unattended
17
+ setup, use `peep setup --yes`. You can also install the tools yourself:
14
18
 
15
- - macOS: `brew install ffmpeg mpv`
16
- - Arch Linux: `sudo pacman -S ffmpeg mpv`
17
- - Debian/Ubuntu: `sudo apt install ffmpeg mpv`
19
+ - macOS: `brew install ffmpeg mpv poppler`
20
+ - Arch Linux: `sudo pacman -S ffmpeg mpv poppler`
21
+ - Debian/Ubuntu: `sudo apt install ffmpeg mpv poppler-utils`
18
22
 
19
- `peep --doctor` reports missing tools. Documents and Mermaid work without them. Native image quality requires a Kitty-graphics-compatible terminal; other terminals use color-cell previews.
23
+ `peep --doctor` reports missing tools. Text documents and Mermaid work without them; PDF preview needs poppler. Native image quality requires a Kitty-graphics-compatible terminal; other terminals use color-cell previews.
24
+
25
+ In peep, `y` copies the selected path, `Y` copies image pixels, and `Ctrl+G`
26
+ opens a window to drag the file into another app. macOS uses built-in desktop
27
+ tools. Linux copying needs `wl-clipboard` on Wayland or `xclip` on X11;
28
+ dragging needs `ripdrag` or `dragon`/`dragon-drop`. These desktop helpers are
29
+ optional and are not installed by `peep setup`.
20
30
 
21
31
  [Source and full guide](https://github.com/lancekrogers/peep)
package/package.json CHANGED
@@ -14,10 +14,10 @@
14
14
  "license": "MIT",
15
15
  "name": "@obedience-corp/peep",
16
16
  "optionalDependencies": {
17
- "@obedience-corp/peep-darwin-arm64": "0.2.2",
18
- "@obedience-corp/peep-darwin-x64": "0.2.2",
19
- "@obedience-corp/peep-linux-arm64": "0.2.2",
20
- "@obedience-corp/peep-linux-x64": "0.2.2"
17
+ "@obedience-corp/peep-darwin-arm64": "0.3.0",
18
+ "@obedience-corp/peep-darwin-x64": "0.3.0",
19
+ "@obedience-corp/peep-linux-arm64": "0.3.0",
20
+ "@obedience-corp/peep-linux-x64": "0.3.0"
21
21
  },
22
22
  "publishConfig": {
23
23
  "access": "public"
@@ -26,5 +26,5 @@
26
26
  "type": "git",
27
27
  "url": "git+https://github.com/lancekrogers/peep.git"
28
28
  },
29
- "version": "0.2.2"
29
+ "version": "0.3.0"
30
30
  }