This is a web application built with Next.js, React, TypeScript, and Tailwind CSS. It includes a frontend interface and a backend API proxy for IPTV services.
.
├── app/ # Main application directory (App Router)
│ ├── api/ # API routes
│ │ └── iptv-proxy/ # IPTV proxy endpoint
│ │ └── route.ts
│ ├── globals.css # Global styles
│ ├── layout.tsx # Root layout component
│ └── page.tsx # Main page component
├── public/ # Static assets (if any, currently empty)
├── next.config.mjs # Next.js configuration
├── package.json # Project dependencies and scripts
├── postcss.config.mjs # PostCSS configuration (for Tailwind)
├── tailwind.config.ts # Tailwind CSS configuration
├── tsconfig.json # TypeScript configuration
└── README.md # This file
- Node.js (Version 20.x or later recommended)
- npm (usually comes with Node.js) or yarn
- Clone the repository (https://github.com/PixifyAI/nextiptv).
- Navigate to the project directory:
cd path/to/nextiptv - Install the dependencies:
npm install # or # yarn install
To start the development server, run:
npm run dev
# or
# yarn devOpen http://localhost:3000 with your browser to see the result.
The main page can be edited at app/page.tsx. The page auto-updates as you edit the file.
To build the application for production, run:
npm run build
# or
# yarn buildTo start the production server after building, run:
npm run start
# or
# yarn start- Next.js: React framework for server-side rendering, static site generation, API routes, etc.
- React: JavaScript library for building user interfaces.
- TypeScript: Superset of JavaScript that adds static typing.
- Tailwind CSS: Utility-first CSS framework for rapid UI development.
/api/iptv-proxy: This route acts as a proxy for external IPTV services. The implementation details are inapp/api/iptv-proxy/route.ts.
