Skip to content

seveibar/twitch-git-diff-monitor

Repository files navigation

twitch-git-diff-monitor

Let twitch viewers see the last lines of code you changed. Made on seveibar's twitch stream

Features

  • Helps people understand what you've changed since your last commit
  • Runs "git diff" to find changed files in your git repository
  • Displays changes by cycling through your files as a widget
  • Easy to install & run, Integrates into OBS easily

Installation

npm install -g twitch-git-diff-monitor

# In your project directory, run twitch-git-diff-monitor

$ twitch-git-diff-monitor
Running twitch-git-diff-monitor on port 4555

In OBS, add a browser window to http://localhost:4555

Options

In OBS, you can supply query parameters to change stuff.

e.g. http://localhost:4555?file_show_time=30 will make files show for 30 seconds

Open in a windowless Chrome

If you want to run it in a chrome window without tabs instead of in OBS, use google-chrome --app=http://address.com

Users!

Do you use this? Edit this README and submit a PR to add your stream!

Contributing

You can run the twitch-git-diff-monitor for itself, by running yarn start in the root directory.