Skip to content

A modern Next.js 16 server-side anime browsing app featuring Server Actions, Infinite Scroll, and Framer Motion animations. Designed for smooth performance, clean UI, and fast data-loading β€” bringing an elegant anime discovery experience to life. πŸŒΈβš”οΈ

Notifications You must be signed in to change notification settings

M-tech-cmd/AnimeNexus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

11 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

AnimeNexusπŸŒΈβš”οΈ

Modern Next.js 16 Server-Side Anime Streaming UI

πŸ“Έ Preview

image alt image alt image alt

AnimeFlow is a modern Next.js 16 full-stack anime browsing experience featuring:

  • ⚑ Server Actions for cleaner, faster, server-powered logic
  • πŸ”„ Infinite Scroll for seamless episode & anime list loading
  • 🎞 Framer Motion Animations for smooth transitions & UI effects
  • πŸ“‘ Optimized Server-Side Rendering (SSR) for performance
  • 🎌 A sleek, anime-inspired interface

πŸš€ Features

βš”οΈ 1. Server Actions β€” Simplified Logic & Better Performance

Next.js Server Actions replace messy API routes, reducing client-side code and improving performance.

  • Form handling without API endpoints
  • Direct server-side DB/data operations
  • Automatic caching & revalidation

πŸ”„ 2. Infinite Scroll

Smooth, uninterrupted browsing:

  • Loads more anime as the user scrolls
  • Built using Intersection Observer + server data calls
  • Fast & responsive UI

🎞 3. Framer Motion Animations

AnimeFlow integrates modern animation effects:

  • Page transitions
  • Card hover animation
  • Fade, slide, and stagger effects

🎌 4. Clean, Modern UI

Inspired by anime streaming platforms:

  • Beautiful dark theme
  • Responsive design
  • Clean layout with smooth user experience

πŸ›  Tech Stack

Framework: Next.js 16 (App Router)

Language: TypeScript

Styling: TailwindCSS

Animations: Framer Motion

Data Handling: Server Actions + Fetch

Features: Infinite Scroll, SSR, Route Groups


πŸ“ Folder Structure

animeflow/
β”œβ”€ app/
β”‚  β”œβ”€ actions/         # Server actions
β”‚  β”œβ”€ anime/           # Anime pages
β”‚  β”œβ”€ components/      # Reusable UI components
β”‚  └─ layout.tsx
β”œβ”€ public/
β”œβ”€ styles/
└─ README.md

βš™οΈ Installation

git clone https://github.com/yourusername/animeflow.git
cd animeflow
npm install

Run Development Server

npm run dev

Navigate to:

http://localhost:3000

πŸ“‘ Example Server Action

'use server'

export async function getAnimeList(page: number) {
  const res = await fetch(`https://api.example.com/anime?page=${page}`);
  return res.json();
}

Used directly in components without API routes.


πŸ”„ Infinite Scroll Logic

const observer = new IntersectionObserver((entries) => {
  if (entries[0].isIntersecting) fetchMore();
});

Smoothly loads additional anime data.


🎞 Animation Example

<motion.div
  initial={{ opacity: 0, y: 20 }}
  animate={{ opacity: 1, y: 0 }}
  transition={{ duration: 0.4 }}
>
  <AnimeCard />
</motion.div>

πŸ“Œ Future Enhancements

  • πŸ”₯ Anime streaming player
  • ⭐ Favorites & user accounts
  • πŸ” Advanced search & filters
  • πŸ—‚ Anime genres & categories system

πŸ“ License

MIT License Β© M-tect-cmd


About

A modern Next.js 16 server-side anime browsing app featuring Server Actions, Infinite Scroll, and Framer Motion animations. Designed for smooth performance, clean UI, and fast data-loading β€” bringing an elegant anime discovery experience to life. πŸŒΈβš”οΈ

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published