Skip to content

mohakbiswas-coding/ai-doc-platform

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

8 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“„ DocAI - AI Document Platform

Overview

DocAI is an intelligent document generation platform that uses artificial intelligence to automatically create professional business documents and presentations. Instead of spending hours writing documents from scratch, simply describe what you need, and our AI generates complete, ready-to-use documents in minutes.

Whether you're creating a product launch strategy, digital transformation roadmap, or employee handbook, DocAI handles the heavy lifting while you focus on what matters most.


✨ What Makes DocAI Special?

  • AI-Powered Writing: Generates professional content in seconds
  • Multiple Formats: Export as Word documents (.docx) or PowerPoint presentations (.pptx)
  • Editable Sections: Refine and customize each section to your needs
  • Fast & Free: Uses free-tier AI models with no credit card required
  • User-Friendly: No technical skills needed - anyone can use it

πŸ€– AI Models Used

Qwen3-32B

  • What it does: Understands your project description and generates high-quality, professional content
  • Why we chose it: Fast and efficient responses with excellent quality for document generation
  • Quality: Advanced language model optimized for content creation and writing tasks
  • Cost: βœ… Reliable and cost-effective

How it works:

  1. You describe what document you need
  2. Qwen3-32B analyzes your request
  3. Professional content is generated in seconds
  4. You can refine and improve any section

πŸ› οΈ Technology Stack

Backend (Server)

  • FastAPI - Modern web framework for building fast APIs
  • Python 3.9+ - Programming language
  • SQLAlchemy - Database management
  • SQLite - Lightweight database for storing user data
  • Qwen3-32B API - AI content generation
  • JWT - Secure user authentication

Frontend (User Interface)

  • React 18 - JavaScript framework for responsive UI
  • Vite - Lightning-fast development environment
  • Tailwind CSS - Beautiful, modern styling
  • Axios - Communication with the backend
  • React Router - Navigation between pages

Deployment & Tools

  • Uvicorn - Server for running the backend
  • npm - Package manager for frontend
  • Git - Version control

In Simple Terms: The backend (server) handles the AI magic and data storage. The frontend is what you see and interact with in your browser.


πŸ“ Project File Structure

ai-doc-platform/
β”œβ”€β”€ backend/                      # Server-side code
β”‚   β”œβ”€β”€ main.py                   # Application start
β”‚   β”œβ”€β”€ auth.py                   # User login/security
β”‚   β”œβ”€β”€ database.py               # Database setup
β”‚   β”œβ”€β”€ models.py                 # Data structure definitions
β”‚   β”œβ”€β”€ schemas.py                # Input validation
β”‚   β”œβ”€β”€ requirements.txt           # Python dependencies
β”‚   β”œβ”€β”€ .env                       # Configuration (API keys)
β”‚   β”œβ”€β”€ routes/                    # API endpoints
β”‚   β”‚   β”œβ”€β”€ auth_routes.py        # Login/Register
β”‚   β”‚   β”œβ”€β”€ project_routes.py     # Project management
β”‚   β”‚   β”œβ”€β”€ ai_routes.py          # Content generation
β”‚   β”‚   └── export_routes.py      # Document export
β”‚   └── services/                  # Business logic
β”‚       β”œβ”€β”€ ai_service.py         # AI API integration
β”‚       β”œβ”€β”€ docx_service.py       # Word document creation
β”‚       └── pptx_service.py       # PowerPoint creation
β”‚
β”œβ”€β”€ frontend/                     # User interface code
β”‚   β”œβ”€β”€ src/
β”‚   β”‚   β”œβ”€β”€ main.jsx             # Application entry
β”‚   β”‚   β”œβ”€β”€ App.jsx              # Main app component
β”‚   β”‚   β”œβ”€β”€ api.js               # Backend communication
β”‚   β”‚   β”œβ”€β”€ pages/               # Different screens
β”‚   β”‚   β”‚   β”œβ”€β”€ LoginPage.jsx
β”‚   β”‚   β”‚   β”œβ”€β”€ RegisterPage.jsx
β”‚   β”‚   β”‚   β”œβ”€β”€ DashboardPage.jsx
β”‚   β”‚   β”‚   β”œβ”€β”€ ConfigurePage.jsx
β”‚   β”‚   β”‚   └── EditorPage.jsx
β”‚   β”‚   β”œβ”€β”€ components/          # Reusable UI pieces
β”‚   β”‚   β”‚   └── SectionCard.jsx
β”‚   β”‚   β”œβ”€β”€ context/             # User data management
β”‚   β”‚   β”‚   └── AuthContext.jsx
β”‚   β”‚   └── index.css            # Styling
β”‚   β”œβ”€β”€ package.json             # JavaScript dependencies
β”‚   └── vite.config.js           # Build configuration
β”‚
β”œβ”€β”€ Demo_Photos/                 # Screenshot images
β”œβ”€β”€ Demo_Videos/                 # Demo video
└── README.md                    # This file

🎯 Key Features & How to Use

1. User Authentication

  • Create a secure account
  • Login with email and password
  • Your documents are private and encrypted

2. Create a Project

  • Give your document a title
  • Provide a detailed description of what you need
  • Choose output format (Word or PowerPoint)
  • Set the number of sections

3. AI-Powered Generation

  • Click "Generate All" to create content
  • The AI writes professional sections automatically
  • Takes just 30-60 seconds per document

4. Edit & Refine

  • Review each section
  • Use "Refine with AI" to improve specific parts
  • Add notes and comments
  • Save your changes

5. Export

  • Download as Word document (.docx)
  • Download as PowerPoint presentation (.pptx)
  • Share with colleagues or clients

πŸ“Έ Platform Screenshots

Login Page

Login Page Create your account or log in to access your documents. Your account keeps all your projects organized and secure.

Register Page

Register Page Sign up in seconds with just an email and password. No credit card required!

Dashboard

Dashboard Your project hub. See all your documents, create new ones, and manage your work. Each project is tracked with creation dates and document types.

Editor

Editor The heart of DocAI. Generate, view, edit, and refine each section of your document. Use AI refinement to customize content exactly how you want it.


πŸ’‘ Real-World Use Cases

1. Business Strategy Documents

Use Case: Digital Transformation Roadmap

  • Challenge: A manufacturing company needs to create a detailed 2-year transformation strategy but lacks the writing resources
  • Solution: DocAI generates comprehensive strategy documents with implementation timelines, budgets, and risk assessments
  • Time Saved: 4-5 hours β†’ 10 minutes
  • Benefit: Professional documents ready for board presentations

2. Human Resources

Use Case: Employee Handbook

  • Challenge: Writing an employee handbook is time-consuming and requires HR expertise
  • Solution: DocAI creates customized handbooks covering compensation, benefits, policies, and culture
  • Time Saved: 20-30 hours β†’ 15 minutes
  • Benefit: Consistent policies, reduced confusion, happy employees

3. Product Launches

Use Case: Launch Strategy Presentation

  • Challenge: Product teams need polished presentations for stakeholders, marketing plans, and investor pitches
  • Solution: DocAI generates market analysis, competitive positioning, and go-to-market strategies
  • Time Saved: 8-10 hours β†’ 20 minutes
  • Benefit: Professional presentations that impress investors and stakeholders

4. Technical Documentation

Use Case: Software Architecture Guide

  • Challenge: Developers need to document system architecture but lack time
  • Solution: DocAI creates detailed technical documentation with diagrams and explanations
  • Time Saved: 6-8 hours β†’ 10 minutes
  • Benefit: Better onboarding, reduced knowledge silos

5. Consulting & Agency Work

Use Case: Client Proposals and Reports

  • Challenge: Consultants write dozens of similar proposals and reports
  • Solution: DocAI generates customized proposals with client-specific analysis
  • Time Saved: 3-4 hours per proposal β†’ 5 minutes
  • Benefit: More time for client relationships, higher profit margins

6. Academic & Research

Use Case: Research Papers and Theses

  • Challenge: Writing research papers requires extensive research and organization
  • Solution: DocAI helps structure arguments and generate sections based on research notes
  • Time Saved: 20-40 hours β†’ 5-10 hours
  • Benefit: Better organization, faster completion

🎬 Demo Video

Want to see DocAI in action? Watch our complete walkthrough:

DocAI Demo Video

What you'll see:

  • Creating a new project
  • Watching AI generate sections in real-time
  • Editing and refining content
  • Exporting to Word and PowerPoint formats

πŸš€ Quick Start Guide

For Users (No Installation Needed)

  1. Visit [DocAI Website] (coming soon)
  2. Sign up with your email
  3. Create a project
  4. Describe what you need
  5. Download your document

For Developers (Installation Required)

Prerequisites: Python 3.9+, Node.js 16+

Backend Setup

cd backend
python -m venv venv
venv\Scripts\activate  # On Windows
pip install -r requirements.txt
uvicorn main:app --reload

Frontend Setup

cd frontend
npm install
npm run dev

Environment Setup

Create backend/.env:

SECRET_KEY=your-secret-key
GROQ_API_KEY=your-groq-api-key  (Get free key at console.groq.com)
GROQ_MODEL=llama-3.2-90b-vision-preview

πŸ“Š Why Choose DocAI?

Feature DocAI Traditional Writing Hiring Writer
Time ⚑ Minutes πŸ“… Hours/Days πŸ“… Days/Weeks
Cost πŸ’° Free πŸ’Έ Software cost πŸ’ΈπŸ’ΈπŸ’Έ Salary
Quality βœ… Professional βœ… Good βœ… Excellent
Availability 24/7 24/7 9-5 Only
Customization βœ… Easy ⚠️ Manual βœ… Easy
Scalability βœ… Unlimited ⚠️ Limited ❌ No

πŸ›‘οΈ Security & Privacy

  • Encrypted Passwords: All passwords use industry-standard encryption
  • Private Documents: Your documents are only accessible to you
  • HTTPS: Secure data transmission
  • No Tracking: We don't sell or share your data
  • Regular Backups: Your documents are safely stored

Acknowledgments

  • Groq - For providing free, ultra-fast AI
  • FastAPI - For the amazing web framework
  • React & Vite - For the responsive frontend

πŸš€ Future Roadmap

  • ☐ Team collaboration features
  • ☐ Template library
  • ☐ Multi-language support
  • ☐ Image & chart generation
  • ☐ Mobile app
  • ☐ Desktop app
  • ☐ Integration with Google Docs, Microsoft Teams
  • ☐ Advanced analytics

πŸŽ‰ Get Started Today!

Ready to transform how you create documents?

  1. Sign up - Free account, no credit card
  2. Create a project - Tell us what you need
  3. Get results - Professional documents in minutes
  4. Export & share - Use your document anywhere

[Start Creating Now] (coming soon)


Made with ❀️ to save you time and frustration

Visit Website β€’ GitHub β€’ Twitter β€’ LinkedIn

About

An AI-powered web application that allows authenticated users to generate, refine, and export structured business documents.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages