{"id":31034520,"url":"https://github.com/tencentedgeone/next-mix-render-template","last_synced_at":"2026-01-20T18:07:25.581Z","repository":{"id":312048089,"uuid":"1042445295","full_name":"TencentEdgeOne/next-mix-render-template","owner":"TencentEdgeOne","description":"A hybrid rendering demonstration project based on **EdgeOne Pages** and **Next.js 15**, showcasing SSR, ISR, SSG, Streaming, and other rendering strategies, as well as the use of Node Functions and Edge Functions.","archived":false,"fork":false,"pushed_at":"2025-09-12T08:50:32.000Z","size":154,"stargazers_count":1,"open_issues_count":0,"forks_count":5,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-05T20:50:37.272Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TencentEdgeOne.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-08-22T03:12:58.000Z","updated_at":"2025-09-19T16:46:33.000Z","dependencies_parsed_at":"2025-08-28T14:02:24.291Z","dependency_job_id":"ef6ba6b5-ca6a-49d9-a752-dc71d3414ee3","html_url":"https://github.com/TencentEdgeOne/next-mix-render-template","commit_stats":null,"previous_names":["tencentedgeone/next-mix-render-template"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/TencentEdgeOne/next-mix-render-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TencentEdgeOne%2Fnext-mix-render-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TencentEdgeOne%2Fnext-mix-render-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TencentEdgeOne%2Fnext-mix-render-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TencentEdgeOne%2Fnext-mix-render-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TencentEdgeOne","download_url":"https://codeload.github.com/TencentEdgeOne/next-mix-render-template/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TencentEdgeOne%2Fnext-mix-render-template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28608088,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T16:10:39.856Z","status":"ssl_error","status_checked_at":"2026-01-20T16:10:39.493Z","response_time":117,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-09-14T02:23:03.764Z","updated_at":"2026-01-20T18:07:25.543Z","avatar_url":"https://github.com/TencentEdgeOne.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# EdgeOne Pages Next.js Hybrid Rendering Template\n\nA hybrid rendering demonstration project based on **EdgeOne Pages** and **Next.js 15**, showcasing SSR, ISR, SSG, Streaming, and other rendering strategies, as well as the use of Node Functions and Edge Functions.\n\n## ✨ Features\n\n- 🚀 **Hybrid Rendering Strategies** - Demonstrates SSR, ISR, SSG, Streaming, and other rendering methods\n- ⚡ **Modern Frontend** - Next.js 15 + React 18 + TypeScript\n- 🎨 **Aesthetic UI** - Tailwind CSS 4 + shadcn/ui component library\n- 🔧 **Out-of-the-Box** - Preconfigured development environment and build process\n- 📱 **Mobile-First** - Fully responsive design, supporting all devices\n- 🌐 **Edge Computing** - Supports Node Functions and Edge Functions\n\n## 🛠️ Technology Stack\n\n### Frontend\n- **Next.js 15.4.7** - React full-stack framework\n- **React 18.3.1** - User interface library\n- **TypeScript 5** - Type-safe JavaScript\n- **Tailwind CSS 4** - Utility-first CSS framework\n- **shadcn/ui** - Modern UI component library\n\n### Backend\n- **EdgeOne Pages** - Edge computing platform\n- **Node Functions** - Node.js runtime functions\n- **Edge Functions** - Edge runtime functions\n\n### Development Tools\n- **ESLint** - Code quality checking\n- **PostCSS** - CSS postprocessor\n- **Turbopack** - Fast build tool\n\n## 🚀 Quick Start\n\n### Environment Requirements\n\n- Node.js 18.0 or higher version\n- EdgeOne Pages account\n\n### Install Dependencies\n\n```bash\n# Clone the project\ngit clone \u003cyour-repo-url\u003e\ncd next-mix-template\n\n# Install dependencies\nnpm install\n```\n\n### Local Development\n\n```bash\n# Start the development server\nedgeone pages dev\n\n# Access http://localhost:6699\n```\n\n### Build\n\n```bash\n# Build the production version\nedgeone pages build\n```\n\n## 📚 Feature Demonstrations\n\n### Hybrid Rendering Strategies\n\n**SSR (Server-Side Rendering)**\n- Path: `/ssr`\n- Characteristics: Re-renders on the server for each request\n- Suitable for: Dynamic content and personalized pages\n\n**ISR (Incremental Static Regeneration)**\n- Path: `/isr`\n- Characteristics: Static generation + incremental updates\n- Suitable for: News or blog websites\n\n**SSG (Static Site Generation)**\n- Path: `/ssg`\n- Characteristics: Pre-generates all pages at build time\n- Suitable for: Corporate websites and static content\n\n**Streaming (Streaming Rendering)**\n- Path: `/streaming`\n- Characteristics: Gradually renders page content, enhancing user experience\n- Suitable for: Data-intensive pages and complex content\n\n### Server Functions\n\n**Node Functions**\n- Path: `/node-functions`\n- Characteristics: Runs code at Node.js runtime\n- Suitable for: Complex backend logic and data processing\n\n**Edge Functions**\n- Path: `/edge-functions`\n- Characteristics: Runs code at edge runtime\n- Suitable for: Real-time data processing and geolocation services\n\n## 🗄️ Project Structure\n\n```\nnext-mix-template/\n├── src/                    # Source code directory\n│   ├── app/               # Next.js App Router\n│   │   ├── layout.tsx     # Root layout component\n│   │   ├── page.tsx       # Home page component\n│   │   ├── ssr/           # SSR demonstration pages\n│   │   ├── isr/           # ISR demonstration pages\n│   │   ├── ssg/           # SSG demonstration pages\n│   │   ├── streaming/     # Streaming demonstration pages\n│   │   ├── node-functions/# Node Functions demonstration pages\n│   │   ├── edge-functions/# Edge Functions demonstration pages\n│   │   ├── api/           # API routes\n│   │   └── globals.css    # Global styles\n│   ├── components/        # React components\n│   │   ├── ui/           # shadcn/ui component library\n│   │   ├── Header.tsx    # Page header component\n│   │   ├── Hero.tsx      # Hero section component\n│   │   ├── Features.tsx  # Features component\n│   │   └── FeatureCard.tsx # Feature card component\n│   └── lib/              # Utility functions\n├── public/               # Static resources\n├── package.json          # Project configuration\n├── next.config.ts        # Next.js configuration\n├── tailwind.config.ts    # Tailwind CSS configuration\n├── tsconfig.json         # TypeScript configuration\n└── components.json       # shadcn/ui configuration\n```\n\n## 📄 License\n\nThis project uses the MIT License - View the [LICENSE](https://github.com/github/choosealicense.com/blob/gh-pages/_licenses/mit.txt) file for details.\n\n## 🚀 One-Click Deployment\n\n[![Deploy with EdgeOne Pages](https://cdnstatic.tencentcs.com/edgeone/pages/deploy.svg)](https://edgeone.ai/pages/new?from=github\u0026template=next-mix-template)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftencentedgeone%2Fnext-mix-render-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftencentedgeone%2Fnext-mix-render-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftencentedgeone%2Fnext-mix-render-template/lists"}