A high-quality web application built with Next.js (App Router), Tailwind CSS, DaisyUI, and Twitch Embed.
- Main stream display for
moikapywith live/offline detection - Searchable, filterable grid of other Twitch creators
- Responsive, accessible UI using DaisyUI and Tailwind CSS
- Twitch Helix API integration with secure server-side calls
- Performance optimizations (dynamic imports, SSR/SSG, caching)
- ESLint and Prettier for code quality
src/app/– App Router pages, API routes, and subpages (changelog,join, etc.)src/components/– Reusable UI componentssrc/lib/– Utility functions (e.g., Twitch API helpers)src/data/– Static creator listtypes/– TypeScript type definitionspublic/– Static assets (e.g., icons)
git clone <your-repo-url>
cd live_moikasbun installCreate a .env.local file in the project root with the following content:
TWITCH_CLIENT_ID=your_twitch_client_id
TWITCH_CLIENT_SECRET=your_twitch_client_secret
- Get your credentials from the Twitch Developer Console.
bun devOpen http://localhost:3000 to view the app.
bun dev– Start the development serverbun run lint– Run ESLintbunx prettier --write .– Format code with Prettier (run manually)
- All identifiers use
snake_casefor consistency and readability.
- The app uses the Twitch Embed JavaScript SDK for dynamic, responsive stream embeds.
- API calls are cached to minimize rate limits.
- All sensitive credentials are handled via environment variables.
MIT