Skip to content

Premium document generator that creates Fortune 500-quality reports, executive presentations, and policy briefs with AI-powered content and world-class design

License

Notifications You must be signed in to change notification settings

eteka/elite-doc-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

7 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Elite Doc Generator 🎯

Professional document creation platform with AI-powered content generation that produces consulting-grade reports and presentations.

✨ Key Features

🎨 6 Premium Document Templates

  • Strategic Consulting - McKinsey-style with 2x2 matrices and chevron flows
  • Global Policy - Evidence-based with data tables and statistical sidebars
  • Investment Banking - Financial focus with waterfall charts and valuations
  • Executive Briefing - Ultra-concise single-page format
  • Research Report - Academic styling with literature review structure
  • International Development - Impact-focused with beneficiary-centered language

πŸ€– AI-Powered Content Generation

  • Generate with AI - Create entire sections instantly
  • Improve Writing - Make professional, concise, add data, executive tone
  • Change Style - Adapt to policy language or consulting tone
  • Smart Suggestions - Context-aware content recommendations
  • Streaming Responses - Real-time word-by-word generation
  • Undo/Redo - Full generation history with 50-item buffer

πŸ“ Professional Editor

  • Template-specific styling and color schemes
  • Section-based document organization
  • Real-time content editing
  • Comprehensive export functionality

πŸ“€ Export Capabilities

  • PDF: Perfect formatting with web/print quality options
  • PowerPoint (PPTX): Editable slides with template styling
  • Word (DOCX): Fully editable documents with styles
  • HTML: Standalone web pages for sharing
  • PNG/JPG: High-resolution image export
  • Export Modal: Interactive configuration with progress tracking

πŸ“Š Premium Data Visualizations

  • Charts: Bar, Line, Pie/Donut, Waterfall with no gridlines and subtle colors
  • Diagrams: 2x2 Matrix, Process Flows (Chevron/Arrow), Timelines, Icon Stats
  • Chart Builder: Interactive builder with CSV import and AI suggestions
  • Export: PNG and SVG export capabilities
  • Template Matching: Colors automatically match document templates

πŸš€ Tech Stack

  • Framework: Next.js 14 with App Router
  • Language: TypeScript
  • Styling: Tailwind CSS with custom premium theme
  • UI Components: Shadcn/ui with Radix UI primitives
  • Charts: Recharts with custom premium themes
  • AI Integration: Ready for OpenAI, Anthropic, or custom LLMs
  • Icons: Lucide React
  • Export: HTML2Canvas for PNG export

πŸ“¦ Installation

# Install dependencies
npm install

# Run development server
npm run dev

# Build for production
npm run build
npm start

See INSTALLATION.md for detailed installation instructions and troubleshooting.

🎯 Quick Start

  1. Visit http://localhost:3000
  2. Browse templates at /templates
  3. View visualizations at /visualizations
  4. Start creating at /editor or /editor-ai (AI-powered)
  5. Select a template and begin writing
  6. Use AI features to generate and enhance content
  7. Add premium charts and diagrams to your documents

πŸ€– AI Features

See AI_FEATURES.md for comprehensive documentation on:

  • AI generation modes
  • Template-specific prompts
  • API endpoints
  • Integration with LLM providers
  • Custom hooks and components

πŸ“Š Data Visualizations

See VISUALIZATIONS.md for comprehensive documentation on:

  • Premium chart types (Bar, Line, Pie, Waterfall)
  • Smart diagrams (Matrix, Process Flow, Timeline, Icon Stats)
  • Chart builder and customization
  • Data import and export
  • Template-specific themes

πŸ“€ Export System

See EXPORT_GUIDE.md for comprehensive documentation on:

  • Multiple format support (PDF, PPTX, DOCX, HTML, PNG)
  • Quality settings and optimization
  • Page range selection
  • Email delivery
  • Progress tracking

πŸ”§ Configuration

Environment Variables

Create .env.local:

OPENAI_API_KEY=your_openai_key
ANTHROPIC_API_KEY=your_anthropic_key

Integrating Real AI Services

The app includes mock AI responses. To integrate real AI:

  1. Install AI SDK: npm install openai or npm install @anthropic-ai/sdk
  2. Update /app/api/ai/generate/route.ts with your provider
  3. Add API keys to environment variables

πŸ“š Project Structure

elite-doc-generator/
β”œβ”€β”€ app/
β”‚   β”œβ”€β”€ api/ai/generate/     # AI generation endpoint
β”‚   β”œβ”€β”€ editor/              # Basic editor
β”‚   β”œβ”€β”€ editor-ai/           # AI-powered editor
β”‚   β”œβ”€β”€ templates/           # Templates page
β”‚   └── dashboard/           # Dashboard
β”œβ”€β”€ components/
β”‚   β”œβ”€β”€ editor/              # Editor components
β”‚   β”‚   β”œβ”€β”€ ai-toolbar.tsx
β”‚   β”‚   β”œβ”€β”€ content-block.tsx
β”‚   β”‚   └── smart-suggestions.tsx
β”‚   └── ui/                  # UI components
β”œβ”€β”€ lib/
β”‚   β”œβ”€β”€ templates.ts         # Template registry
β”‚   β”œβ”€β”€ prompts.ts           # AI prompt templates
β”‚   └── hooks/               # Custom hooks
β”œβ”€β”€ templates/               # Template definitions
β”‚   β”œβ”€β”€ strategic-consulting.ts
β”‚   β”œβ”€β”€ global-policy.ts
β”‚   β”œβ”€β”€ investment-banking.ts
β”‚   β”œβ”€β”€ executive-briefing.ts
β”‚   β”œβ”€β”€ research-report.ts
β”‚   └── international-development.ts
└── public/                  # Static assets

🎨 Templates

Each template includes:

  • Custom color schemes and typography
  • 4-6 pre-structured sections
  • Template-specific AI prompts
  • Professional styling and layouts
  • Category-specific vocabulary

🀝 Contributing

Contributions welcome! Areas for enhancement:

  • Additional document templates
  • More AI generation modes
  • Export functionality (PDF, DOCX)
  • Collaborative editing
  • Version control
  • Template customization

πŸ“„ License

MIT License - feel free to use for personal or commercial projects

πŸ“– Additional Documentation


Ready to start? Run npm install && npm run dev and visit http://localhost:3000 πŸš€

πŸ”’ Security

All dependencies updated to latest secure versions:

  • Next.js 15.0.3 - Latest stable with security fixes
  • 0 vulnerabilities - All npm audit issues resolved
  • See SECURITY.md for details
  • See MIGRATION_NEXT15.md for upgrade notes

About

Premium document generator that creates Fortune 500-quality reports, executive presentations, and policy briefs with AI-powered content and world-class design

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages