Skip to content

ntshvicky/myaiapp_template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

19 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ€– MyAIApp Platform

A premium, Django-based all-in-one AI SaaS platform. Features a modern dark UI with multiple AI-powered tools, all running on the Google Gemini API.


πŸ“Έ Screenshots

πŸ” Login

Login

🏠 Dashboard

Dashboard

πŸ’¬ AI Chatbot

Chatbot

πŸ–ΌοΈ Image Chat (Multimodal)

Image Chat

πŸ“„ Document Chat

Document Chat

🌐 Website Analyzer

Website Analyzer

🎨 Image Generator

Image Generator

πŸ“‹ Resume Analyzer

Resume Analyzer

πŸ“§ Email Manager

Email Manager

✍️ Content Writer

Content Writer

πŸ” Compare Images

Compare Images

πŸ’³ Pricing Plans

Pricing Plans

πŸ“œ History

History

βš™οΈ Settings

Settings


🌟 Features

Feature Description
AI Chatbot Multi-turn chat with Gemini. Supports code highlighting, Mermaid diagrams, and markdown.
Image Chat Upload images and ask questions using Gemini's vision multimodal capabilities.
Document Chat Upload PDFs or text files and chat with their content.
Website Analyzer Enter a URL once, then ask the AI anything about the page content.
Image Generator Chat-based image generation β€” generate, then ask AI to modify (keeps style + adds changes).
Resume Analyzer Upload JDs and CVs. AI scores, ranks candidates, extracts contact info, rewrites CVs, and enables per-CV chat sessions.
Email Manager Connect via IMAP/SMTP. Read inbox, compose, search, and use AI to write or summarize emails.
Content Writer Generate blog posts, essays, and articles with AI.
Compare Images Upload two images and get a visual similarity score and diff analysis.
Pricing Plans Tiered subscription plans with feature gating.
History Full log of AI token usage across all services.
Settings Manage account details and preferences.
Theme Switcher 7 colour themes (dark, purple, cyan, green, orange, light, navy).

πŸš€ Quick Start

1. Clone & Install

git clone https://github.com/ntshvicky/myaiapp_template.git
cd myaiapp_template
pip install -r requirements.txt

2. Configure Environment

cp .env.example .env

Edit .env:

GEMINI_API_KEY=your_gemini_api_key_here
SECRET_KEY=your_django_secret_key
DEBUG=True

# Optional β€” for Email Manager
# IMAP/SMTP credentials are entered per-user inside the app

Get a free Gemini API key at aistudio.google.com.

3. Set Up Database

python manage.py migrate
python manage.py createsuperuser

4. Run

python manage.py runserver

Visit http://127.0.0.1:8000 β€” log in and start using the tools.


πŸ—οΈ Architecture

myaiapp_template/
β”œβ”€β”€ myaiapp/                  # Django project settings & root URLs
β”œβ”€β”€ services/
β”‚   β”œβ”€β”€ chatbot/              # AI chatbot (Gemini text)
β”‚   β”œβ”€β”€ image_chat/           # Multimodal image chat
β”‚   β”œβ”€β”€ document_chat/        # PDF / text chat
β”‚   β”œβ”€β”€ webpage_analysis/     # Website URL analyzer
β”‚   β”œβ”€β”€ image_generator/      # Text-to-image (Gemini Imagen)
β”‚   β”œβ”€β”€ resume_analysis/      # CV scoring, rewrite, chat
β”‚   β”œβ”€β”€ email_manager/        # IMAP/SMTP email client
β”‚   β”œβ”€β”€ content_writer/       # Article/blog generation
β”‚   β”œβ”€β”€ compare_images/       # Visual similarity comparison
β”‚   β”œβ”€β”€ gemini.py             # Shared Gemini API client
β”‚   β”œβ”€β”€ ai_router.py          # Token usage tracking
β”‚   └── access.py             # Feature access / plan gating
β”œβ”€β”€ templates/                # Django HTML templates
β”œβ”€β”€ static/
β”‚   β”œβ”€β”€ css/style.css         # Global styles + all component CSS
β”‚   └── js/common.js          # Theme switcher, active nav
└── docs/screenshots/         # UI screenshots

🧩 Tech Stack

  • Backend: Django 4.2, SQLite
  • AI: Google Gemini API (gemini-2.5-flash, Gemini image models)
  • Frontend: Vanilla JS, CSS custom properties (no framework)
  • Charts: Chart.js
  • Documents: python-docx (CV download as Word)
  • PDF parsing: PyMuPDF (fitz)
  • Email: Python imaplib + smtplib
  • Screenshots: Playwright (dev tool)

πŸ“¦ Requirements

django
google-genai
python-dotenv
pymupdf
python-docx
pillow

Install all:

pip install -r requirements.txt

πŸ§ͺ Tests

python manage.py test myaiapp

πŸ“„ License

MIT β€” free to use, modify, and deploy.

About

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors