SonicApi-F is a modern, unified Next.js 15 application that acts as both a frontend interface and a robust API layer for the Sonic ecosystem. It leverages cutting-edge technologies like Google GenAI (via Genkit) and Upstash Redis to deliver a fast, intelligent, and seamless media experience.
- ⚡ Full-Stack Next.js: Utilizes the new Next.js 15 App Router for seamless frontend and API route handling.
- 🤖 AI Integration: Uses Google GenAI (Genkit) for advanced search, recommendations, and media processing.
- 🛡️ Secure & Cached: Implements Upstash Redis for aggressive rate-limiting and caching to ensure performance.
- 🎨 Modern UI: A beautiful interface built with React 19, Tailwind CSS, Radix UI, and Embla Carousel.
- Framework: Next.js 15 (React 19)
- Styling: Tailwind CSS & Radix UI
- AI & Logic: Genkit (Google GenAI)
- Database & Cache: MongoDB & Upstash Redis
- Search:
yt-search&cheeriofor rich media scraping
-
Clone the repository:
git clone https://github.com/urstark/SonicApi-F.git cd SonicApi-F -
Install dependencies:
npm install
-
Environment Variables: Create a
.envfile in the root of your project:# Database & Redis MONGODB_URI=... UPSTASH_REDIS_REST_URL=... UPSTASH_REDIS_REST_TOKEN=... # AI & Auth GEMINI_API_KEY=... NEXT_PUBLIC_FIREBASE_API_KEY=...
-
Run the development server:
npm run dev
This project is licensed under the GNU General Public License v3.0 (GPLv3).
This means you are free to use, modify, and distribute this software, but any modifications or derivative works must also be open-sourced under the same GPLv3 license, and proper credit must be given to the original author.