Git Product home page Git Product logo

ttchat's Introduction

ttchat

Installing

Download release

See https://github.com/atye/ttchat/releases.

Clone and build

git clone https://github.com/atye/ttchat.git && cd ttchat
make build
bin/ttchat -h

Setup

A configuration file at $HOME/.ttchat/config.yaml containing some account information is required. Optional parameters related to configuration are also available.

Suggested example:

clientID: "yourTwitchClientId"
username: "yourTwitchUsername"
lineSpacing: 1
Parameter Description Required
clientID your Client ID listed on your application at https://dev.twitch.tv/console yes
username your username for logging in yes
lineSpacing the number of empty lines to put between messages no
redirectPort the port that ttchat will use to listen for Twitch's authorization result (default "9999") no

Your Twitch application's list of OAuth Redirect URLs must have a match for the URL of ttchat which is http://localhost:9999 by default.

Using the above suggested example, your Twitch application must have http://localhost:9999 for an OAuth Redirect URL.

Running

ttchat --channel sodapoppin

ttchat --channel sodapoppin --channel hasanabi

Obtaining an OAuth access token requires your authorization via web browser. See https://dev.twitch.tv/docs/authentication/getting-tokens-oauth for more details. To provide your own token, use the --token flag. The token must have the chat:edit and chat:read scopes.

ttchat --channel sodapoppin --token $TOKEN

Usage

Key Description
Tab/ShiftTab Next/previous channel

ttchat's People

Contributors

atye 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.