Skip to content

devbyhimans/Draftdeckai

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

978 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🎨 DraftDeckAI

AI-Powered Document Creation Platform

Next.js TypeScript Tailwind CSS Supabase License: MIT

Create stunning resumes, presentations, letters, and diagrams with AI magic ✨

Live Demo β€’ Documentation β€’ Contributing


✨ Features

πŸ“„ Resume Builder

  • AI-Powered Generation - Describe your experience, get a professional resume
  • Multiple Templates - Modern, Professional, Creative, and ATS-optimized styles
  • ATS Score Checker - Ensure your resume passes Applicant Tracking Systems
  • PDF Export - Download high-quality PDFs instantly
  • LinkedIn Import - Import your LinkedIn profile to create resumes

🎯 Presentation Creator

  • Smart Slide Generation - Enter a topic, get a complete presentation
  • 16:9 Format - Professional widescreen presentations
  • Multiple Themes - Modern, Corporate, Creative, and more
  • Image Integration - AI-generated images for each slide
  • Export Options - Download as PDF or share via link

βœ‰οΈ Letter Generator

  • Multiple Types - Cover letters, formal letters, thank you notes
  • Job URL Import - Paste a job listing URL for tailored cover letters
  • Professional Templates - Business-ready formatting
  • AI Enhancement - Improve tone and content with AI

πŸ“Š Diagram Builder

  • Architecture Diagrams - System design with subgraphs and layers
  • Flowcharts - Create process diagrams easily
  • Mind Maps - Visualize ideas and concepts
  • Sequence Diagrams - Show component interactions
  • ER Diagrams - Database schema visualization
  • Mermaid Syntax - Powered by Mermaid.js v11
  • 9+ Professional Templates - Ready-to-use diagram templates
  • Theme Integration - Adapts to light/dark modes
  • Export Options - Download as PNG/SVG

πŸš€ Quick Start

Prerequisites

  • Node.js 18+
  • npm or yarn
  • Supabase account (for authentication)

Installation

# Clone the repository
git clone https://github.com/Muneerali199/Draftdeckai.git
cd Draftdeckai

# Install dependencies
npm install

# Set up environment variables
cp .env.example .env.local
# Edit .env.local with your API keys

# Run development server
npm run dev

Open http://localhost:3000 in your browser.

Environment Variables

Create a .env.local file with these variables:

# Supabase (Required)
NEXT_PUBLIC_SUPABASE_URL=your_supabase_url
NEXT_PUBLIC_SUPABASE_ANON_KEY=your_supabase_anon_key
SUPABASE_SERVICE_ROLE_KEY=your_service_role_key

# AI Provider (Required)
GEMINI_API_KEY=your_gemini_api_key

# Optional
UNSPLASH_ACCESS_KEY=your_unsplash_key
STRIPE_SECRET_KEY=your_stripe_key

🐳 Docker Quick Start

Run the entire application with one command β€” no manual Node.js installation required.

Prerequisites

Setup

# Clone the repository
git clone https://github.com/Muneerali199/Draftdeckai.git
cd Draftdeckai

# Set up environment variables
cp .env.example .env.local
# Edit .env.local with your API keys

# Build and start (development mode with hot reload)
docker compose up

# For production build:
docker compose -f docker-compose.yml up

Open http://localhost:3000 in your browser.

The development setup mounts your local files for hot reload β€” changes to the source code automatically refresh the app.


πŸ—οΈ Tech Stack

Category Technology
Framework Next.js 14.2 (App Router)
Language TypeScript
Styling Tailwind CSS, shadcn/ui
Database Supabase (PostgreSQL)
Authentication Supabase Auth
AI Mistral AI, Google Gemini
Payments Stripe
Deployment Vercel, Netlify

πŸ“ Project Structure

DraftDeckAI/
β”œβ”€β”€ app/                    # Next.js App Router pages
β”‚   β”œβ”€β”€ api/               # API routes
β”‚   β”œβ”€β”€ auth/              # Authentication pages
β”‚   β”œβ”€β”€ resume/            # Resume builder
β”‚   β”œβ”€β”€ presentation/      # Presentation creator
β”‚   β”œβ”€β”€ letter/            # Letter generator
β”‚   └── diagram/           # Diagram builder
β”œβ”€β”€ components/            # React components
β”‚   β”œβ”€β”€ ui/               # shadcn/ui components
β”‚   β”œβ”€β”€ resume/           # Resume-specific components
β”‚   β”œβ”€β”€ presentation/     # Presentation components
β”‚   └── letter/           # Letter components
β”œβ”€β”€ lib/                   # Utility functions
β”œβ”€β”€ hooks/                 # Custom React hooks
β”œβ”€β”€ public/               # Static assets
└── supabase/             # Database migrations

πŸ” Authentication

DraftDeckAI uses Supabase Auth with:

  • Email/Password login
  • Password reset via email
  • Protected routes with middleware
  • Session management

πŸ’³ Credits System

Action Credits
Generate Resume 5
Generate Presentation 10
Generate Letter 3
Generate Diagram 5
ATS Score Check 2

Free tier: 50 credits/month


πŸ“š Documentation

Getting Started (⭐ Start Here!)

Architecture & Diagrams

Other Docs


πŸ“œ Scripts

npm run dev      # Start development server
npm run build    # Build for production
npm run start    # Start production server
npm run lint     # Run ESLint

πŸ’¬ Community and Support

Join our official WhatsApp group to connect with other contributors, get help with your PRs, or discuss project ideas: WhatsApp Group


πŸ‘₯ Contributors

We appreciate all contributors who help improve DraftDeckAI ❀️

πŸ“Š All Contributors

https://github.com/Muneerali199/Draftdeckai/graphs/contributors

🎨 Visual Contributors


🀝 Contributing

Contributions are welcome! We've made it easy to get started:

First-time contributors? Start here:

  1. πŸ“– Read docs/SETUP.md - Complete setup guide with all API keys
  2. πŸ“š Check CONTRIBUTING.md - Contribution guidelines
  3. πŸ› οΈ Review docs/UTILITIES.md - Development utilities guide

Ready to contribute?

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

Get help:

  • Check GitHub Issues for tasks
  • Look for good first issue label for beginner-friendly tasks
  • Join our Discord community for mentorship

πŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.


πŸ™ Acknowledgments


Built with ❀️ by Muneer Ali and Mayank Sahu .

⭐ Star this repo if you find it helpful!

About

Draftdeckai is a 100% open source, cutting-edge AI-powered document creation platform that revolutionizes how professionals create stunning documents. Built by the community, for the community - simply describe what you need, and watch as our advanced AI transforms your ideas into polished resumes, captivating presentations, comprehensive CVs.

Resources

License

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • TypeScript 87.9%
  • JavaScript 6.0%
  • CSS 2.5%
  • PLpgSQL 1.5%
  • HTML 1.2%
  • Shell 0.6%
  • Other 0.3%