Skip to content

Vinvox is an implementation of a full stack livestreaming similar to twitch

Notifications You must be signed in to change notification settings

Abdelrahman-habib/vinvox

Repository files navigation

Vinvox a Fullstack Livestreaming platform built with: Next.js 14, Livekit, React, Prisma, Tailwind, postgresql, shadcn ui, and more.

Vinvox showcase Image

Key Features:

  • 📡 Streaming using RTMP / WHIP protocols
  • 🌐 Generating ingress
  • 🔗 Connecting Next.js app to OBS / Your favorite streaming software
  • 🔐 Authentication
  • 📸 Thumbnail upload
  • 👀 Live viewer count
  • 🚦 Live statuses
  • 💬 Real-time chat using sockets
  • 🎨 Unique color for each viewer in chat
  • 👥 Following system
  • 🚫 Blocking system
  • 👢 Kicking participants from a stream in real-time
  • 🎛️ Streamer / Creator Dashboard
  • 🐢 Slow chat mode
  • 🔒 Followers only chat mode
  • 📴 Enable / Disable chat
  • 🔽 Collapsible layout (hide sidebars, chat etc, theatre mode etc.)
  • 📚 Sidebar following & recommendations tab
  • 🏠 Home page recommending streams, sorted by live first
  • 🔍 Search results page with a different layout
  • 🔄 Syncing user information to our DB using Webhooks
  • 📡 Syncing live status information to our DB using Webhooks
  • 🤝 Community tab
  • 🎨 Beautiful design
  • ⚡ Blazing fast application
  • 📄 SSR (Server-Side Rendering)
  • 🗺️ Grouped routes & layouts
  • 🗃️ postgresql

Prerequisites

Node version 18.17 or later

Cloning the repository

git clone https://github.com/Abdelrahman-habib/vinvox.git

Install packages

npm i

Setup .env file

NEXT_PUBLIC_SERVER_URL=
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=
CLERK_SECRET_KEY=
NEXT_PUBLIC_CLERK_SIGN_IN_URL=/sign-in
NEXT_PUBLIC_CLERK_SIGN_UP_URL=/sign-up
NEXT_PUBLIC_CLERK_AFTER_SIGN_IN_URL=/
NEXT_PUBLIC_CLERK_AFTER_SIGN_UP_URL=/
CLERK_WEBHOOK_SECRET=

DATABASE_URL=

LIVEKIT_API_URL=
LIVEKIT_API_KEY=
LIVEKIT_API_SECRET=
NEXT_PUBLIC_LIVEKIT_WS_URL=

UPLOADTHING_SECRET=
UPLOADTHING_APP_ID=

Setup Prisma

Add postgresql Database (I used Cockroachdb)

npx prisma generate
npx prisma db push

Start the app

npm run dev

Available commands

Running commands with npm npm run [command]

command description
dev Starts a development instance of the app

About

Vinvox is an implementation of a full stack livestreaming similar to twitch

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages