SuNNjek / streamer-credits

Add credits to your Twitch stream (Work in progress)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Streamer credits

React app that can be used with Streamer.bot to create credits.

Usage

Add the following actions/triggers: Triggers1 Triggers2

In the "Execute Code" sub-action of the "Add events to credits", add the following C# code:

using System;
using Newtonsoft.Json;

public class CPHInline
{
	public bool Execute()
	{
		CPH.AddToCredits("events", JsonConvert.SerializeObject(args), true);
		return true;
	}
}

In the "Execute Code" sub-action of the "Reset credits" action, add the following C# code:

using System;

public class CPHInline
{
	public bool Execute()
	{
		CPH.ResetCredits();
		return true;
	}
}

Then run yarn start in your terminal and add a browser source in OBS with http://localhost:3000 in the URL

TODOs

  • Add styling
  • Make it easier to set up

About

Add credits to your Twitch stream (Work in progress)

License:GNU General Public License v3.0


Languages

Language:TypeScript 82.5%Language:HTML 14.4%Language:CSS 3.1%