Skip to content

moikas-code/live_moikas

Repository files navigation

Live Moikas

A high-quality web application built with Next.js (App Router), Tailwind CSS, DaisyUI, and Twitch Embed.

Features

  • Main stream display for moikapy with 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

Project Structure

  • src/app/ – App Router pages, API routes, and subpages (changelog, join, etc.)
  • src/components/ – Reusable UI components
  • src/lib/ – Utility functions (e.g., Twitch API helpers)
  • src/data/ – Static creator list
  • types/ – TypeScript type definitions
  • public/ – Static assets (e.g., icons)

Setup Instructions

1. Clone the repository

git clone <your-repo-url>
cd live_moikas

2. Install dependencies (using Bun)

bun install

3. Configure environment variables

Create 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

4. Run the development server

bun dev

Open http://localhost:3000 to view the app.

Scripts

  • bun dev – Start the development server
  • bun run lint – Run ESLint
  • bunx prettier --write . – Format code with Prettier (run manually)

Coding Conventions

  • All identifiers use snake_case for consistency and readability.

Notes

  • 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.

License

MIT

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published