A TaskList widget for Twitch TV which allows users to interact with the broadcaster's stream. Viewers can create, edit, mark as done, and delete tasks from the list. This TaskList widget is designed to help streamers and their viewers to keep track of tasks, goals, or objectives during a stream. It is easy to use, and fast to setup. The TaskList widget is designed to be used in OBS or other streaming software.
- Free to use
- Easy setup
- Easy to customize
- Fast performance & super lightweight (19 kB bundle size)
- No coding required
- Customizable Multi-language support
- No third-party database required
- User features
- user can create multiple tasks
- user can edit tasks
- user can mark tasks as done
- user can delete tasks from their list
- Supports multiple languages translations
- EN - English
- ES - Español
- FR - française
- JP - 日本語
- UA - українська
-
Downloading this App - Download App by clicking on the green
Code
button and selectingDownload ZIP
. -
Unzip the Download - Once the download is complete, unzip (aka open) the downloaded file to a location on your computer where you can easily access it and remember where it is.
-
Log in to Twitch Developer Console
- Open and log into https://dev.twitch.tv/console using your web browser.
- Log in using your bot account or your main Twitch account.
-
Register The App with Twitch
- Once logged in, Click the "Register Your Application" button.
- Enter a unique name for your application in the Name field. (e.g., "TaskListBot123")
- In the OAuth Redirect URLs field, enter
http://localhost
- In the Category field, select "Chat Bot".
- For the Client Type, select "Public".
- Click the "Create" button to complete the registration.
- Once the App is registered, you will see a Client ID. Copy this ID and save it for later. (do not share this ID with anyone)
-
Generate an OAuth Access Token
- Copy the following URL and replace the
YOUR-APP-CLIENT-ID
with the Client ID from your registered app you had made in the previous step.
https://id.twitch.tv/oauth2/authorize?response_type=token&client_id=YOUR-APP-CLIENT-ID&redirect_uri=http://localhost&scope=chat:read+chat:edit+user:bot
- Open your browser and enter the URL containing your Client ID into the address bar. See Twitch Authorize page Example
- After granting Authorization, you’ll be redirected to a blank page which will show an error message. This is normal.
- The blank page will contain a URL in the address bar. This URL contains the access token you need. See Access Token Example
- Copy the token from the URL (it follows
#access_token=
and ends just before&scope
). - Save this token in a safe place for the next step.
- Copy the following URL and replace the
-
Update Your _auth.js File
- Navigate to the location where you unzipped the downloaded files.
- Open the
_auth.js
file in a text editor. (Notepad works, but I recommend downloading VS Code to make it easier to read and edit the file.) - Replace
OAUTHTOKEN
with the access token you copied. - Replace
CHANNEL
with your Twitch channel name. - Replace
USERNAME
with your Twitch main username or bot username.
When you are done, it should look something like this:
twitch_oauth = "138kjl2a0r3dpaf93as4d1fz",
twitch_channel = "jujoco_dev",
twitch_username = "jujoco_bot",
-
Setup a Browser Source in OBS - Open OBS and add a new
Browser Source
to your scene. Name itTaskList overlay
or something you can easily remember. -
Select the Local file checkbox - In the Browser Source settings, select
Local file
and thenBrowse
to the location where you unzipped the downloaded files. Select theindex.html
file and clickOpen
. -
Set the Width and Height - Next, in the Browser Source, set the width and height. I recommend 660px Width and 1600px Height. Adjust as needed.
-
Done! - Select OK to save!. Read the Customization settings section to customize the MultiTask list widget and connect it to your Twitch chat.
IMPORTANT! — Any changes you make to the
_auth.js, _settings.js, _styles.js, _configAdmin.js, or _configUser.js
will require you to click theRefresh Cache of Current Page
button in the Browser Source you just created to apply the changes. (see image above, #6.)
Open the _settings.js
file and modify the following settings to customized the TaskList behavior. Default values are provided below. If at any point you want to reset the styles to the default values you can find the default values below next to each style name.
languageCode
: Default = "EN"
- "EN": English translation
- "ES": Spanish translation
- "FR": French translation
- "JP": Japanese translation
- "UA": Ukrainian translation
maxTasksPerUser
: Default = 5
- number: A value between 1 - 10.
scrollSpeed
: Default = 40
- number: A value between 1 - 100.
showUsernameColor
: Default = true
- true: will shows the user's twitch chat color
- false: will show the color you set in the
username-color
style
headerFeature
: Default = "timer"
Enable one will disable the others.
- "timer": Display a timer in the header
- "text": Display a custom text in the header
- "commands": Display commands tips in the header
- "tasks-only": Display only the tasks count in the header
headerCustomText
: Default = "Custom Text"
HeaderFeature above must be set to "Text"
testMode
: Default = false
- false: turn OFF test mode.
- true: turn ON test mode.
Use this to test the TaskList without affecting the real task list and visually see the style changes you make. When test mode is OFF, the TaskList will work as normal and remove any test tasks.
Open the _styles.js
file and modify the following settings to customized the TaskList appearance. Default values are provided below. If at any point you want to reset the styles to the default values you can find the default values below next to each style name.
Font Family - more available @ https://fonts.google.com
- headerFontFamily: "Roboto Mono"
- cardFontFamily: "Roboto Mono"
- appBorderRadius: Default = "5px"
- appPadding: Default = "8px"
- appBackgroundImage: Default = "url(../images/transparent-image.png)"
- appBackgroundColor: Default = "rgba(0, 0, 0, 0)"
- headerDisplay: Default = "flex"
- headerBorderRadius: Default = "6px"
- headerMarginBottom: Default = "6px"
- headerBackgroundColor: Default = "rgba(45, 45, 45, 0.7)"
- headerFontSize: Default = "20px"
- headerFontColor: Default = "#FFFFFF"
- headerFontWeight: Default = "normal"
- cardGapBetween: Default = "6px"
- cardBorderRadius: Default = "6px"
- cardBackgroundColor: Default = "rgba(45, 45, 45, 0.7)"
- usernameFontSize: Default = "18px"
- usernameColor: Default = "#FFFFFF"
- usernameFontWeight: Default = "normal"
- taskFontSize: Default = "16px"
- taskFontColor: Default = "#FFFFFF"
- taskFontWeight: Default = "normal"
- taskDoneFontColor: Default = "#aaaaaa"
- taskDoneFontStyle: Default = "#italic"
- taskDoneTextDecoration: Default = "line-through"
-
!task
or!add
- Add task(s) (multiple tasks must be separated by a comma)- example:
!task read ch. 3
- example:
!task prep for exam, walk dog
- example:
-
!edit
- Edit a single task- example:
!edit 1 read ch. 4
- example:
!edit 2 walk cat
- example:
-
!done
- Mark task(s) as done (multiple tasks must be separated by a comma)- example:
!done 1
- example:
!done 2, 3
- example:
-
!delete
- Delete task(s) (multiple tasks must be separated by a comma)- example:
!delete 1
- example:
!delete 2, 3
- example:
-
!check
- Check your remaining tasks- example:
!check
- example:
-
!credit
- Show the credits- example:
!credit
- example:
-
!timer
- Set the focus and break timer for a session (in minutes)- example:
!timer 60/10
- example:
!timer 90/15
- example:
-
!clearlist
- Clear all tasks from the list- example:
!clearlist
- example:
-
!cleardone
- Clear all done tasks- example:
!cleardone
- example:
-
!clearuser
- Remove all tasks from a User (username case insensitive)- example:
!clearuser jujoco_dev
orJujoco_Dev
- example:
add task commands:
!task
!añadir
(Spanish)!ajouter
(French)!追加
(Japanese)!додати
(Ukrainian)
edit task commands:
!edit
!editar
(Spanish)!modifier
(French)!編集
(Japanese)!редагувати
(Ukrainian)
complete task commands:
!done
!hecho
(Spanish)!terminé
(French)!完了
(Japanese)!готово
(Ukrainian)
delete task commands:
!delete
!eliminar
(Spanish)!supprimer
(French)!削除
(Japanese)!видалити
(Ukrainian)
check commands:
!check
!comprobar
(Spanish)!vérifier
(French)!チェック
(Japanese)!перевірити
(Ukrainian)
help commands:
!help
!ayuda
(Spanish)!aide
(French)!ヘルプ
(Japanese)!допомога
(Ukrainian)
extra commands:
!credit
!crédito
(Spanish)!crédit
(French)!クレジット
(Japanese)!кредит
(Ukrainian)
Author: @Jujoco_Dev