Code Monkey home page Code Monkey logo

twitch-chat-frontend's Introduction

Twitch Chat Relay Frontend

This is my customized twitch chat relay. This is a frontend for the backend project.

Configuration

Like the backend, this is also edited using a .env. This is made using the node adapter, check out their documentation for project config. The most important one is PORT, which will change where the app is hosted on.

I added the following options to configure this:

env var explanation example
PUBLIC_BASE the base location for the backend. Do not include protocols like http or https. Do not include trailing slashes. shadygoat.eu,shadygoat.eu/api
PUBLIC_SECURE If this is set to false, the API will use the ws interface, not wss. This is not recommended. true, asdkl (this is unknown, will default to true), false

Please note, you must rebuild the app after changes in configuration!

Usage/Building/Running

To run this, first clone the repository (git clone or download the source code). Then:

  1. Navigate to the folder that this code is in
  2. Run npm ci -D
  3. Edit your .env file
  4. Run npm run build (this will create a directory called 'build')
  5. Run npm run prod (this will launch the app)

twitch-chat-frontend's People

Contributors

shadiestgoat avatar

Watchers

 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.