Skip to content

datakaitech/StreamForge

Repository files navigation

StreamForge

StreamForge is an educational streaming dashboard for testing DASH (.mpd) and HLS (.m3u8) streams with ClearKey DRM support.

Features

  • Protocol Support: MPEG-DASH and HLS playback via Shaka Player.
  • DRM Testing: ClearKey DRM support with auto-detection from URL (|drmScheme=clearkey...) or manual key entry.
  • Playlist Management: Parse and play .m3u playlists locally.
  • Modern UI: Dark-themed, responsive interface built with TailwindCSS.
  • PWA Ready: Installable as a Progressive Web App.

Deployment on Vercel

This project is configured for seamless deployment on Vercel.

  1. Push to GitHub/GitLab/Bitbucket.
  2. Import into Vercel.
  3. Environment Variables:
    • Set DATABASE_URL to your PostgreSQL connection string (e.g., Vercel Postgres, Supabase, Neon).
    • Set JWT_SECRET to a secure random string.
  4. Deploy.

Database Setup

After deploying or setting up your database, run:

npx prisma migrate deploy

Local Development

# Install dependencies
npm install

# Run development server
npm run dev

Note: Database features (History, Auth) require a running PostgreSQL instance connected via DATABASE_URL.

Project Structure

  • src/app: Next.js App Router pages and layouts.
  • src/components: Reusable UI components (Player, etc.).
  • src/lib: Utility functions.
  • prisma: Database schema.

License

MIT

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published