Skip to content

A Visual Studio Code extension that listens to Twitch chat and allows viewers to change the streamers VS Code theme.

License

Notifications You must be signed in to change notification settings

surlydev/vscode-twitch-themer

 
 

Repository files navigation

Twitch Themer

Release vNext Contributors
Build Status Build Status All Contributors

A Visual Studio Code extension that listens to twitch chat and allows viewers to change the streamers VS Code theme by sending !theme

Twitch Chat Commands

Send response to chat of current theme

This will send the currently active theme to Twitch chat.

!theme

Receive a list of available theme names

This will send a list of installed VS Code themes to the requestor via whisper.

!theme list

Note: Only 1 whisper per user will be sent per day.

Set VS Code theme

This command will set the theme of the streamers' VS Code workspace to the theme specified.

!theme {theme name}

Note: The theme must be previously installed and available within VS Code.

Set Random VS Code theme

This command will set the theme of the streamers' VS Code workspace to a theme that is chosen at random.

!theme random

Note: The theme must be previously installed and available within VS Code.

Reset VS Code theme

This command will set the theme of the streamers' VS Code workspace back to the theme that was used at the time the extension connected to chat.

!theme reset

Note: Everytime the extension disconnects from chat, the theme will be reset.

Refresh VS Code themes

This command will refresh the list of available themes in the streamers VS Code instance. Will also reset everyones ability to request the list of available themes. Primarily used when themes are added/removed mid-stream.

!theme refresh

Note: List of themes and request timers will only be reset if the command is sent from the broadcaster.

Ban/Unban User from changing themes

These commands will either ban or unban a user from changing the theme via Twitch chat.

!theme ban {username}

!theme unban {username}

Note: List of banned users will reset on extension activation/start up.

Follower Only mode

These commands will either activate or deactivate follower only mode.

!theme follower

!theme !follower

Note: Follower only mode will be turned off on extension activation/start up

Subscriber Only mode

These commands will either activate or deactivate subscriber only mode.

!theme sub

!theme !sub

Note: Subscriber only mode will be turned off on extension activation/start up

How to connect to Twitch

  • You can login to the twitch chat client using Twitch Themer: Sign In command. Execute the commands from vscode command pallete. This will open the Twitch Authentication page. Login to your twitch account. The token is stored in secure keystorage.

  • You can logout from the chat once you are done with your twitch session.

  • Connect to the chat client using Twitch Themer: Chat Connect command.

  • Disconnect from the chat client using Twitch Themer: Chat Disconnect commands


Attribution & Credits

Release Notes

See CHANGELOG.md

Contributing

Want to contribute? Check out our Code of Conduct and Contributing docs. This project follows the all-contributors specification. Contributions of any kind welcome!

Thanks goes to these wonderful people (emoji key):

Michael Jolley
Michael Jolley

💻 📖 🎨 🤔 🚧 ⚠️
PatPat1567
PatPat1567

💻 🤔 📖
Chris Jones
Chris Jones

🤔
Anthony Conrad
Anthony Conrad

🤔 💻 🎨 📖 ⚠️
Mike Holloway
Mike Holloway

🤔
John Kryspin
John Kryspin

🤔 💻 🐛 ⚠️
majorthorn
majorthorn

🐛

About

A Visual Studio Code extension that listens to Twitch chat and allows viewers to change the streamers VS Code theme.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 96.0%
  • JavaScript 3.2%
  • HTML 0.8%