Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/dongy7/twitch-chat-cli

💬 Twitch chat in your terminal
https://github.com/dongy7/twitch-chat-cli

cli emotes terminal twitch

Last synced: 8 days ago
JSON representation

💬 Twitch chat in your terminal

Lists

README

        

# twitch-chat-cli

> Read Twitch chat on your terminal









## Installation

```sh
$ npm install -g twitch-chat-cli
```

## Usage

First generate an [OAuth token](https://twitchapps.com/tmi/) to connect to the Twitch IRC.

Add your OAuth token:

```sh
$ tc add
```

Connect to a channel to start reading chat:

```sh
$ tc connect
```

## Emotes

This feature currently only works in [iTerm](https://www.iterm2.com/), which has support for displaying pictures.

To see Twitch emotes as pictures, you will need to have the API server running, which allows the CLI to query for global and channel specific emotes. You will need to have [Docker](https://www.docker.com/community-edition) installed to run the server.

You will need to have [Git LFS](https://github.com/git-lfs/git-lfs) installed.

First clone this repo:

```sh
$ git clone https://github.com/dongy7/twitch-chat-cli.git
```

Start the Docker containers from the `api` directory:

```sh
$ cd api
$ docker-compose up
```

The server should now be running at `http://localhost:3000/`.