GithubHelp home page GithubHelp logo

isabella232 / viddy Goto Github PK

View Code? Open in Web Editor NEW

This project forked from juju/viddy

0.0 0.0 0.0 19.11 MB

๐Ÿ‘€ A modern watch command. Time machine and pager etc.

License: MIT License

Go 98.59% Makefile 1.41%

viddy's Introduction

Viddy

viddy

Modern watch command.

Viddy well, gopher. Viddy well.

Demo

viddy

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
  • Customize keymappings.
  • Customize color.

Install

Mac

brew install viddy
sudo port install viddy

Linux

wget -O viddy.tar.gz https://github.com/sachaos/viddy/releases/download/v0.3.3/viddy_0.3.3_Linux_x86_64.tar.gz && tar xvf viddy.tar.gz && mv viddy /usr/local/bin

ArchLinux ( AUR )

yay -S viddy

Alternatively you can use the AUR Git repo directly

Alpine Linux

After enabling the community repository:

apk add viddy
asdf plugin add viddy
asdf install viddy latest
asdf global viddy latest

Go

go install github.com/sachaos/viddy@latest

Other

Download from release page.

Keymaps

key
SPACE Toggle time machine mode
s Toggle suspend execution
b Toggle ring terminal bell
d Toggle diff
t Toggle header 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.

[general]
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 violence 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.

viddy's People

Contributors

sachaos avatar anvial avatar mattn avatar herbygillot avatar tuxiqae avatar falcosuessgott avatar witalisoft avatar nanasi880 avatar ryodocx avatar secustor avatar takanakahiko avatar xsteadfastx avatar onedr0p avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.