Code Monkey home page Code Monkey logo

vscode-twitch-themer's Introduction

Twitch Themer

Marketplace Installs MIT

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

Receive a list of available theme names

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

!theme

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

Send response to chat of current theme

This will send the currently active theme to Twitch chat.

!theme current

Send info about this GitHub repo to chat

This will send a message to Twitch chat letting everyone know where to access the source for this extension.

!theme repo

Explain how to use the extensions commands

This will send a message to Twitch chat explaining the available commands.

!theme help

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. If dark or light is specified it will only select a random theme from the appropriate option.

!theme random {dark || light}

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.

Install VS Code themes

This command will look for the specified theme on the Visual Studio Marketplace. If found, it will attempt to pull the package.json for the theme from its repository. If that package.json includes themes, the streamer will be prompted to install, not install and/or preview the theme.

!theme install {Theme Unique Identifier}

Example: For the [Linux Themes for VS Code](https://marketplace.visualstudio.com/items?itemName=solarliner.linux-themes) extension you would send !theme install solarliner.linux-themes

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 !ban {username}

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


Settings

  • Twitch Themer: Auto Connect - enables or disables the auto connection feature. The extension will ensure you are streaming prior to connecting the bot to the Twitch chat service.

Access State

On the settings UI, you can specify whether the extension should only react to all viewers, only followers or only subscribers.


Connecting / Disconnecting Twitch Chat

If you are signed in to Twitch you'll see your username next to the Twitch Themer paint bucket icon.

Click on the icon to toggle between connecting/disconnecting from Twitch chat.


Command Palette

Twitch Themer: Sign In

Opens the Twitch Authentication page. Login to your Twitch account to access chat.

Twitch Themer: Sign Out

Removes your Twitch authentication and, if connected, leaves Twitch chat.


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

๐Ÿ›
SurlyDev
SurlyDev

๐Ÿ’ป ๐Ÿ› ๐Ÿค”
Brian Clark
Brian Clark

๐Ÿ““
Dakoda Jackson
Dakoda Jackson

๐Ÿ““
Flyken
Flyken

๐Ÿค”
Caleb McKay
Caleb McKay

โš ๏ธ ๐Ÿ’ป
Chance Murray
Chance Murray

๐Ÿ›

vscode-twitch-themer's People

Contributors

michaeljolley avatar allcontributors[bot] avatar patpat1567 avatar parithon avatar jkryspin avatar dependabot[bot] avatar codemancodes avatar calebmckay avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.