Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sachaos/viddy
π A modern watch command. Time machine and pager etc.
https://github.com/sachaos/viddy
cli golang terminal tui watch
Last synced: about 2 months ago
JSON representation
π A modern watch command. Time machine and pager etc.
- Host: GitHub
- URL: https://github.com/sachaos/viddy
- Owner: sachaos
- License: mit
- Created: 2021-08-14T06:40:12.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2024-04-19T12:18:47.000Z (about 2 months ago)
- Last Synced: 2024-04-19T13:37:17.954Z (about 2 months ago)
- Topics: cli, golang, terminal, tui, watch
- Language: Go
- Homepage:
- Size: 18.5 MB
- Stars: 4,326
- Watchers: 19
- Forks: 85
- Open Issues: 25
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Lists
- awesome-stars - sachaos/viddy
- command-line-tools - Viddy - Modern watch command. Time machine and pager etc. (Other)
- cli-apps - Viddy - Modern watch command. Time machine and pager etc. (<a name="file-watch"></a>File watching for changes)
- awesome-stars - sachaos/viddy - π A modern watch command. Time machine and pager etc. (Go)
- my-awesome-stars - sachaos/viddy - π A modern watch command. Time machine and pager etc. (Go)
- go-awesome - viddy - ε’εΌΊη `watch` ε½δ»€ (εΌζΊη±»εΊ / η»η«―ε·₯ε ·)
- awesome-tools - viddy - Modern watch command. Time machine and pager etc. (Misc / Software packages)
- awesome-repositories - sachaos/viddy - π A modern watch command. Time machine and pager etc. (Go)
- awesome-stars - viddy
- docsify-awesome-stars - sachaos/viddy - π A modern watch command. Time machine and pager etc. (Go)
- awesome-stars - sachaos/viddy - π A modern watch command. Time machine and pager etc. (Go)
- awesome-stars - sachaos/viddy - π A modern watch command. Time machine and pager etc. (Go)
- awesome-stars - sachaos/viddy - π A modern watch command. Time machine and pager etc. (Go)
- awesome-stars - sachaos/viddy - π A modern watch command. Time machine and pager etc. (Go)
- my-awesome - sachaos/viddy - π A modern watch command. Time machine and pager etc. (Go)
- awesome - viddy - π A modern watch command. Time machine and pager etc. (Go)
- go-awesome - viddy - Improved `watch` command (Open source library / Terminal Tools)
- awesome-stars - sachaos/viddy - π A modern watch command. Time machine and pager etc. (Go)
- awesome-stars - sachaos/viddy - π A modern watch command. Time machine and pager etc. (Go)
- awesome-stars - sachaos/viddy - π A modern watch command. Time machine and pager etc. (Go)
- awesome - sachaos/viddy - π A modern watch command. Time machine and pager etc. (Go)
- awesome-stars - sachaos/viddy - π A modern watch command. Time machine and pager etc. (Go)
- awesome-cli-apps - Viddy - Modern watch command. Time machine and pager etc. (<a name="file-watch"></a>File watching for changes)
- awesome-stars - sachaos/viddy - π A modern watch command. Time machine and pager etc. (Go)
- awesome-stars - sachaos/viddy - π A modern watch command. Time machine and pager etc. (Go)
- awesome-stars - sachaos/viddy - `β 4469` π A modern watch command. Time machine and pager etc. (Go)
- awesome - sachaos/viddy - π A modern watch command. Time machine and pager etc. (Go)
- awesome-github-repos - sachaos/viddy - π A modern watch command. Time machine and pager etc. (Go)
README
# Viddy
![]()
Modern `watch` command.
Viddy well, gopher. Viddy well.
## Demo
![]()
## Features
* Basic features of original watch command.
* Execute command periodically, and display the result.
* color output.
* diff highlight.
* Time machine mode. π
* Rewind like video.
* Go to the past, and back to the future.
* See output in pager.
* Vim like keymaps.
* Search text.
* Suspend and restart execution.
* Run command in precise intervals forcibly.
* Support shell alias
* See detail https://github.com/sachaos/viddy/issues/2#issuecomment-904002053
* Customize keymappings.
* Customize color.## Install
### Mac
#### [Homebrew](https://brew.sh)
```shell
brew install viddy
```#### [MacPorts](https://www.macports.org)
```shell
sudo port install viddy
```### Windows
#### [Scoop](https://scoop.sh/)
To install Viddy on Windows, first install the Scoop package manager, and then run the commands below.
**NOTE**: The git package is required in order to add additional Scoop "buckets".
```
scoop install git
scoop bucket add extras
scoop install extras/viddy
```### Linux
```shell
wget -O viddy.tar.gz https://github.com/sachaos/viddy/releases/download/v0.4.0/viddy_Linux_x86_64.tar.gz && tar xvf viddy.tar.gz && mv viddy /usr/local/bin
```#### ArchLinux ( AUR )
```shell
yay -S viddy
```
Alternatively you can use the [AUR Git repo](https://aur.archlinux.org/packages/viddy/) directly#### Alpine Linux
After [enabling the community repository](https://wiki.alpinelinux.org/wiki/Enable_Community_Repository):
```shell
apk add viddy
```### [asdf version manager](https://asdf-vm.com)
```shell
asdf plugin add viddy
asdf install viddy latest
asdf global viddy latest
```### Go
```shell
go install github.com/sachaos/viddy@latest
```### Other
Download from [release page](https://github.com/sachaos/viddy/releases).
## Keymaps
| key | |
|-----------|--------------------------------------------|
| SPACE | Toggle time machine mode |
| s | Toggle suspend execution |
| b | Toggle ring terminal bell |
| d | Toggle diff |
| t | Toggle header/title display |
| ? | Toggle help view |
| / | Search text |
| j | Pager: next line |
| k | Pager: previous line |
| Control-F | Pager: page down |
| Control-B | Pager: page up |
| g | Pager: go to top of page |
| Shift-G | Pager: go to bottom of page |
| Shift-J | (Time machine mode) Go to the past |
| Shift-K | (Time machine mode) Back to the future |
| Shift-F | (Time machine mode) Go to more past |
| Shift-B | (Time machine mode) Back to more future |
| Shift-O | (Time machine mode) Go to oldest position |
| Shift-N | (Time machine mode) Go to current position |## Configuration
Install your config file on `$XDG_CONFIG_HOME/viddy.toml`
On macOS, the path is `~/Library/Application\ Support/viddy.toml`.```toml
[general]
no_shell = false
shell = "zsh"
shell_options = ""[keymap]
timemachine_go_to_past = "Down"
timemachine_go_to_more_past = "Shift-Down"
timemachine_go_to_future = "Up"
timemachine_go_to_more_future = "Shift-Up"
timemachine_go_to_now = "Ctrl-Shift-Up"
timemachine_go_to_oldest = "Ctrl-Shift-Down"[color]
background = "white" # Default value is inherit from terminal color.
```## What is "viddy" ?
"viddy" is Nadsat word meaning to see.
Nadsat is fictional argot of gangs in the violent book and movie "A Clockwork Orange".## Credits
The gopher's logo of viddy is licensed under the Creative Commons 3.0 Attributions license.
The original Go gopher was designed by [Renee French](https://reneefrench.blogspot.com/).