Git Product home page Git Product logo

ttv-boilerplate-web3's Introduction

Unofficial React + Express Boilerplate for TTV Extensions

Buy Me a Coffee

About

I made this primarily out of frustration with how outdated the official boilerplates are. It's meant to produce every type of extension by default. If you look at the source, I treat everything the same except for Config pages. To start developing your extension, install dependencies and edit "./src/components/App/App.jsx" or "./src/components/Config/Config.jsx".

When you are ready to use this with Twitch's DevRig, run yarn host. For local testing, use yarn start. To pack up for deployment, use yarn build to populate "./build". If you want to update the public folder without accidentally deleting your work, use yarn xfer To launch the backend, use yarn api.

Tests are coming soon.

Dotenv

Required Values

BACKEND_BASE_URI=http://localhost:4000/
BACKEND_PORT=4000
BACKEND_SECRET=anythingYouWantReally

Project Settings

Base URI

https://localhost:8080/

Viewer Paths

{
    "mobile": "mobile.html",
    "panel": "panel.html",
    "videoOverlay": "video_overlay.html",
    "component": "video_component.html"
    "config": "config.html",
    "liveConfig": "live_config.html"
}

Config

"backendCommand": "node api/app.js",
"backendFolderName": ANY,
"frontendCommand": "yarn host",
"frontendFolderName": ANY,
"usingRandomFrontendHostingPort": false

Screenshots for Every Extension Type

Screenshot1 Screenshot2 Screenshot3

ttv-boilerplate-web3's People

Contributors

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