Svelte-kit-express Svelte Themes

Svelte Kit Express

Here be 🐉's...

SvelteKit Twitch

A sveltekit powered Twitch altnerative/clone.

About

  • Emotes are obtained through Twitch's global emotes and the top 300 BTTV emotes

  • Usernames, along with their hue, are randomly generated and stored in localStorage

  • Chat is powered by socket.io

  • RTMP Server for streaming via OBS

    • The Server is rtmp://localhost/live
    • The Stream Key is svelte
  • FMPEG converts the RTMP stream to a HLS stream for Vime

Setup

  1. git clone https://github.com/rmanky/sveltekit-twitch
  2. npm install
  3. Create a .env file
    • Install ffmpeg and set FFMPEG_PATH
    • Create an ngrok account and set NGROK_TOKEN
      FFMPEG_PATH=PATH_TO_FFMPEG.EXE
      NGROK_TOKEN=YOUR_NGROK_TOKEN
      
  4. npm run build
  5. npm run adapt
  6. node server.js
  7. Open the HTTP URL that is printed to the console

Top categories

Loading Svelte Themes