diff --git a/README.md b/README.md new file mode 100644 index 0000000..94e7fa3 --- /dev/null +++ b/README.md @@ -0,0 +1,27 @@ +

Twitch Subathon Countdown

+

This is a countdown specifically made for the Twitch streamer "SugusSusana"

+
+ +

Description

+

A subathon timer that increases when someone subscribes, donates money, donates bits or purchases streamloots chests.

+
+ +

Usage

+

After cloning this repository you'll have to edit the "config.js" file with any plain text editor, then change the value of the variables acording to what you want:

+ +

Streamlabs Token

+

To get the token you'll have to go to the api settings tab of your streamlabs dashboard then click on tokens API, copy your socket API token and finally paste the code on the "streamlabsToken" variable in the "config.js" file.

+ + +

Streamloots Token

+

To get the token you'll have to go to your streamloots creator dashboard, then to alerts & widgets, then go to alerts, then copy the last part of the alerts url and finally paste the code on the "streamlootsToken" variable in the "config.js" file.

+ + +

Initial Time

+

You can set the initial time of the timer by setting the hours, minutes and seconds to be added when the timer is added.

+ +

Other Value

+

Change the other values to set the amount of seconds that will be added for the suscriptions, donations... And the minimum donation amounts to trigger the countdown increase.

+ +

Add To OBS

+

To add it to OBS you just have to drag the "index.html" file to the sources section or add a browser source that points to the "index.html" file.

diff --git a/auth_streamlabs.png b/auth_streamlabs.png new file mode 100644 index 0000000..1b41405 Binary files /dev/null and b/auth_streamlabs.png differ diff --git a/auth_streamloots.png b/auth_streamloots.png new file mode 100644 index 0000000..10f7796 Binary files /dev/null and b/auth_streamloots.png differ