SwitchStream is a Next.js and Typescript-based live streaming platform, providing a feature-rich experience for both streamers and viewers. Leveraging Prisma and Vercel Postgres, with Livekit for stream integration and Clerk for authentication, SwitchStream is designed to offer a seamless and engaging streaming environment.
-
Seamless Access: SwitchStream ensures an inclusive streaming experience by allowing viewers to access streams effortlessly, with or without the need for login credentials.
-
Command Center for Chat Control: Empowering content creators, SwitchStream provides a sophisticated command center for streamers. They can enable or disable the chat, introduce chat delays for strategic interaction, and even restrict chat to followers only.
-
Secure Streaming with Livekit: SwitchStream takes streaming security seriously by integrating seamlessly with Livekit. Streamers can confidently broadcast their content using stream keys and pass keys generated by Livekit, ensuring a secure and reliable streaming experience.
-
Shape Your Community: Viewers can actively engage with their favorite creators by following or unfollowing them, fostering a sense of connection and loyalty. To maintain a positive and welcoming community, streamers have the ability to block unwanted followers or guest users.
Follow these steps to get SwitchStream up and running:
-
Clone the repository:
git clone https://github.com/your-username/SwitchStream.git cd SwitchStream
-
Install Dependencies:
npm install
-
Set Up Environment Variables: Copy the
.env.example
file to.env
and fill in the required values. -
Run the Application:
npm run dev
-
Access SwitchStream: Open your browser and go to
http://localhost:3000
to access the SwitchStream application.
Contributions are welcome! If you'd like to contribute to this project, feel free to fork the repository, make your changes, and submit a pull request.
If you have any questions or suggestions, please feel free to contact Akshit Mittal at [[email protected]].