rishubil / ElecTwitch

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ElecTwitch

Screenshot

Very simple, feature-less twitch viewer application.
Made with Electron and React.js.

Technical Specifications

  • Backend
    • None
  • Frontend
    • JS DOM
    • React.js
    • React-Video
    • tmi.js
  • Database
    • localStorage
  • Graphical
  • Wrapping
    • Electron

Installing

Installing built packages

Go to releases tab.

Starting from the scratch

  1. Generate secret.js, which contains your API Secret key and Client ID, and save it to the root of this repository. This file should be formed like below -
module.exports = { 
    api: {
        clientId: '<Your client id>' ,
        secret: '<Your secret>'
    }
}
  1. Clone repo.
  2. Run npm install to install necessary package.
  3. Run node_modules/.bin/electron . to start the viewer.

Distributing

First follow the 'Starting from the scratch' part, then

  1. Open dist.sh and change the name of project to whatever you want.
  2. Run dist.sh
  3. Built files will be placed in dist/ folder.

How do I start?

  1. Log in using button above. Once you log in, your log in credentials will be saved - this means you don't have to type in ID/password every time you open this player.
    You can use player even if not logged in, but you can't view/participate chats while you're not logged in(Check 'Limits' part of this README).
  2. You can get into the stream by clicking '+' button below. Type in your streamer's ID to get to the stream.

Shortcuts

  • Chats
    • Enter: Send chat
    • Ctrl(Cmd) + Enter: Append line on writing chat

2FA(Two-Factor Authorization, also knwon as OTP)

  • This program supports 2FA login. Just enter verification numbers as you login on twitch website, and then restart the program once you have completed your log in procedure.

한국어

  1. 위의 로그인 버튼을 이용해 로그인하세요. 로그인하지 않아도, 방송은 볼 수 있지만, 채팅을 보거나 채팅에 참여할 수 없습니다. 한번 로그인하고 나면 로그인 정보가 저장되니, 아이디와 비밀번호를 매번 입력할 필요가 없습니다.
  2. 밑의 + 버튼을 이용해 스트리머 채널로 이동하세요.
  3. yeokka 방에서는 '역가티콘' 이 이미지로 치환되어 보입니다.

Limitations

  • Can't get chats while logged out. This is due to the limitation of Twitch IRC API - Twitch requires log in credential of user when entering chatroom.

TO-DOs

  • Add support for Twitch's own emojis, such as BloodTrail or BibleThump. Issue Resolved! Check update v0.0.3-alpha.
  • Add DC-con picker.
  • Add support for user badge.
  • Show stream status of user's following channels when logged in.

About


Languages

Language:JavaScript 99.9%Language:CSS 0.1%Language:HTML 0.0%Language:Shell 0.0%