MagmaAI is a modern web application built with Next.js 15 that helps users optimize their professional presence. It leverages the Gemini API to provide two core services: an automated, ATS-friendly resume generator and a LinkedIn profile optimizer.
- AI Resume Generator: Creates professional, one-page resumes tailored for internships and entry-level roles based on the Internshala Resume Guide.
- LinkedIn Profile Optimizer: Generates keyword-rich headlines, professional narratives (About section), and structured experience summaries in a ready-to-use format.
- Modern UI/UX: Built with Tailwind CSS 4 and Framer Motion for smooth, interactive experiences, including a plasma-themed background.
- Gemini Integration: Utilizes
gemini-2.5-flash-previewandgemini-1.5-flashmodels to process user data into professional content.
- Framework: Next.js 15.5.2 (App Router)
- Language: JavaScript / React 19
- Styling: Tailwind CSS 4, PostCSS
- Animation: Framer Motion, OGL
- AI Engine: Google Gemini API
src/app/api/generate-resume/: Backend logic for processing resume data via Gemini.src/app/api/optimize-linkedin/: Backend logic for generating LinkedIn profile JSON.src/app/components/: Reusable UI components likeHero,Features, andContactForm.src/Backgrounds/: Contains custom visual effects like thePlasmabackground.
- Node.js installed.
- A Gemini API Key (configured as
GEMINI_API_KEYin your environment variables).
- Clone the repository.
- Install dependencies:
npm install
- Run the development server:
npm run dev
- Open http://localhost:3000 in your browser.
The application collects user details (Education, Experience, Skills, etc.) via a form and sends a POST request to /api/generate-resume. The AI follows strict rules to keep the output concise, chronological, and free of "fluff".
By submitting profile details to /api/optimize-linkedin, users receive a structured JSON object containing an optimized headline, an "About" narrative, and formatted experience blocks.