Skip to content

With Whistle-Men you can watch multiple Git-Hub projets for incoming commits & put videos to a folder to randomly play when commit arrives!

Notifications You must be signed in to change notification settings

JonasBerger/whistle-men

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Whistle-Men

alt text With Whistle-Men you can watch multiple Git-Hub projets for incoming commits & put videos to a folder to randomly play when commit arrives!

Get Started

1. Download or clone this project

2. Edit the src/config.js-file

export const config = {
	access_token: "", //create your access-token git->settings->developer-settings-> personal access-tokens
	baseurl: "https://api.github.com", //self-explaining
	owner: "JonasBerger", //owner or namespace
	videoFilename: "video", //name of the video-files eg. video{number}.mp4
	numberOfVideos: 6, //used for randomize#
	interval: 1, //interval in minutes to update
	projects: [ //list of Projects
		{name: "whistle-men", branch: "master"} //self-explaining
	]
}

3. Start running the project

  • yarn build //or npm build
  • if you're going to build, you have to open the index.html via Browser

Adding Custom Videos

  1. Put your Videos in public/videos
  2. Rename them to videoFilename (src/config.js) + next number(e.g. you got video1.mp4 next would be video2.mp4)
  3. edit in src/config.js the numberOfVideos (in our example we would have video1 and video2) 4 rebuild project, or start project(if you already on a running Dev-Server all should be fine)

About

With Whistle-Men you can watch multiple Git-Hub projets for incoming commits & put videos to a folder to randomly play when commit arrives!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published