Skip to content

This will be a small JavaScript script in TypeScript that reads the sub-list.csv and pastes all of the sub names in a text file separated by spaces each time it is run.

Notifications You must be signed in to change notification settings

EpistemicPolymath/updateTwitchSubList

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About updateTwitchSubList

This is a very simple script that takes the file subscriber-list.csv which you can download from Twitch Analytics and adds all of the usernames to a txt file separated by a space.

Setup

git clone https://github.com/EpistemicPolymath/updateTwitchSubList.git
cd updateTwitchSubList/
npm install

.env File Setup

Add a .env file with the following values. If you do not need a value simply leave it blank.

# File Locations
SUBLISTCSV=""
SUBLISTTXT=""
# Streamer Account
STREAMER=""
# Bot Account
BOT=""

Run the script

node main.js

Potential Future Updates

I could make it so that it works with the Twitch API - GET Broadacast Subscriptions and grabs the list from there to completely bypass the need to download the csv file each time. For now this works for me. I can definitely expand upon functionality in the future.

About

This will be a small JavaScript script in TypeScript that reads the sub-list.csv and pastes all of the sub names in a text file separated by spaces each time it is run.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published