Skip to content

satishskid/aiseo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

23 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸš€ AI SEO Automation Platform

Transform your digital health, education & AI solutions into ranking powerhouses across India

Version License React TypeScript

πŸ₯ Overview

The AI SEO Automation Platform is a comprehensive solution designed specifically for healthcare, education, and AI businesses in India. It generates complete SEO strategies, content plans, and conversion optimization recommendations powered by advanced AI algorithms.

🎯 Key Features

  • πŸ” AI-Powered SEO Audit: Complete website analysis with actionable insights
  • πŸ“Š Keyword Strategy Generation: Primary, long-tail, and location-based keyword research
  • πŸ“ Content Planning: Blog posts, landing pages, and email campaigns
  • πŸ“± Social Media Strategy: Platform-specific content for LinkedIn, Twitter, Facebook, Instagram
  • πŸ“… Publishing Calendar: Automated content scheduling and distribution
  • ⚑ Technical SEO: Performance optimization and structured data implementation
  • πŸ’° Conversion Optimization: ROI projections and A/B testing strategies
  • πŸ‘₯ Demo User System: 13+ pre-configured industry personas

🌟 Target Industries

  • πŸ₯ Healthcare: Clinics, hospitals, diagnostic centers
  • πŸŽ“ EdTech: Educational platforms, online courses, training institutes
  • πŸ€– AI Solutions: AI startups, tech companies, automation services

πŸ› οΈ Technology Stack

Frontend

  • React 19.1.1 - Modern UI framework
  • TypeScript 5.8.2 - Type-safe development
  • Tailwind CSS 3.4.17 - Utility-first styling
  • Vite 6.2.0 - Fast build tool

Backend Services

  • Google Gemini AI - Content generation and analysis
  • Clerk Authentication - User management and security
  • Firebase - Data storage and real-time features

Development Tools

  • ESLint - Code quality
  • Prettier - Code formatting
  • PostCSS - CSS processing

πŸš€ Quick Start

Prerequisites

  • Node.js (v18.0.0 or higher)
  • npm or yarn
  • Git

Installation

  1. Clone the repository

    git clone https://github.com/yourusername/ai-seo-platform.git
    cd ai-seo-platform
  2. Install dependencies

    npm install
  3. Environment Setup

    cp .env.example .env.local
  4. Configure API Keys Edit .env.local with your credentials:

    VITE_CLERK_PUBLISHABLE_KEY=pk_test_your_clerk_key_here
    GEMINI_API_KEY=your_gemini_api_key_here
  5. Start development server

    npm run dev
  6. Open in browser Navigate to http://localhost:3000

πŸ” Authentication Setup

For Demo Users (Current Implementation)

The platform currently uses 13 hardcoded demo users for demonstration:

  • Medical: drpratichi, drsatish
  • Business: raghab
  • Marketing: CMO1 through CMO10

For Production (Invite-Only System)

1. Clerk Authentication Setup

# Install Clerk CLI
npm install -g @clerk/clerk-cli

# Configure Clerk
clerk setup

2. Environment Variables

# Clerk Configuration
VITE_CLERK_PUBLISHABLE_KEY=pk_live_your_live_key
CLERK_SECRET_KEY=sk_live_your_secret_key

# Database Configuration
FIREBASE_API_KEY=your_firebase_key
FIREBASE_AUTH_DOMAIN=your-project.firebaseapp.com
FIREBASE_PROJECT_ID=your-project-id

# AI Services
GEMINI_API_KEY=your_gemini_api_key

3. User Invitation System

// components/InviteSystem.tsx
import { useClerk } from '@clerk/clerk-react';

export const InviteUserForm = () => {
  const { client } = useClerk();
  
  const sendInvitation = async (email: string, role: string) => {
    await client.organizations.createInvitation({
      emailAddress: email,
      role: role
    });
  };
};

4. Role-Based Access Control

// context/AuthContext.tsx
export const usePermissions = () => {
  const { user } = useUser();
  
  return {
    canCreateProjects: user?.organizationMemberships[0]?.role === 'admin',
    canInviteUsers: user?.organizationMemberships[0]?.role === 'admin',
    canExportData: true
  };
};

πŸ“ Project Structure

ai-seo-platform/
β”œβ”€β”€ components/              # React components
β”‚   β”œβ”€β”€ Header.tsx          # Navigation header
β”‚   β”œβ”€β”€ BusinessInputForm.tsx # Data collection
β”‚   β”œβ”€β”€ Step.tsx            # SEO strategy steps
β”‚   β”œβ”€β”€ AnalyticsDashboard.tsx # Data visualization
β”‚   β”œβ”€β”€ FinalActions.tsx    # Export and integration
β”‚   └── ...
β”œβ”€β”€ context/                # React contexts
β”‚   β”œβ”€β”€ ApiKeyContext.tsx
β”‚   β”œβ”€β”€ DemoAuthContext.tsx
β”‚   └── AuthContext.tsx
β”œβ”€β”€ services/               # API services
β”‚   β”œβ”€β”€ aiService.ts        # Gemini AI integration
β”‚   β”œβ”€β”€ firebaseService.ts
β”‚   └── exportService.ts
β”œβ”€β”€ types.ts                # TypeScript definitions
β”œβ”€β”€ constants.ts            # App constants
β”œβ”€β”€ demoUsers.ts           # Demo user data
β”œβ”€β”€ public/                # Static assets
β”œβ”€β”€ docs/                  # Documentation
β”‚   β”œβ”€β”€ USER_MANUAL.md     # User guide
β”‚   β”œβ”€β”€ DEVELOPER_GUIDE.md # Development guide
β”‚   └── API_REFERENCE.md   # API documentation
β”œβ”€β”€ scripts/               # Build and deployment scripts
β”œβ”€β”€ .env.example          # Environment template
β”œβ”€β”€ package.json          # Dependencies
└── README.md            # This file

πŸ‘₯ User Roles & Permissions

Demo Users (Development)

  • Healthcare Professionals: Access to medical SEO templates
  • Education Leaders: EdTech-focused strategies
  • Business Owners: General business optimization
  • Marketing Executives: Advanced campaign features

Production Roles

  • Admin: Full platform access, user management
  • Manager: Project creation, team collaboration
  • User: Standard SEO strategy generation
  • Viewer: Read-only access to reports

πŸ”§ Development Guide

Running in Development

# Start development server
npm run dev

# Run with specific port
npm run dev -- --port 3001

# Check environment variables
npm run check-env

Building for Production

# Create production build
npm run build

# Preview production build
npm run preview

# Deploy to Netlify
npm run deploy

Code Quality

# Run linting
npm run lint

# Run type checking
npm run type-check

# Run tests
npm run test

🌐 Deployment

Netlify Deployment

  1. Connect Repository

    • Link your GitHub repository to Netlify
  2. Build Settings

    Build command: npm run build
    Publish directory: dist
    
  3. Environment Variables Set in Netlify dashboard:

    • VITE_CLERK_PUBLISHABLE_KEY
    • GEMINI_API_KEY

Manual Deployment

# Build the application
npm run build

# Deploy to your hosting service
# Upload the 'dist' folder contents

πŸ“Š Analytics & Monitoring

Performance Tracking

// services/analyticsService.ts
export const trackUserAction = (action: string, data: any) => {
  // Google Analytics integration
  gtag('event', action, data);
  
  // Custom analytics
  firebase.analytics().logEvent(action, data);
};

Error Monitoring

// services/errorService.ts
export const logError = (error: Error, context: string) => {
  console.error(`Error in ${context}:`, error);
  
  // Send to error tracking service
  Sentry.captureException(error, { tags: { context } });
};

πŸ”’ Security

API Security

  • All API keys stored in environment variables
  • HTTPS enforcement in production
  • Rate limiting on AI service calls
  • Input sanitization for user data

Data Protection

  • User data encrypted at rest
  • Secure session management via Clerk
  • GDPR compliance for European users
  • Regular security audits

πŸ§ͺ Testing

Unit Tests

npm run test:unit

Integration Tests

npm run test:integration

E2E Tests

npm run test:e2e

πŸ“ˆ Performance Optimization

Bundle Analysis

npm run analyze

Lighthouse Scores

  • Performance: 95+
  • Accessibility: 100
  • Best Practices: 100
  • SEO: 100

🀝 Contributing

  1. Fork the repository
  2. Create a 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

Development Standards

  • Follow TypeScript strict mode
  • Use Tailwind CSS for styling
  • Write comprehensive tests
  • Document all new features
  • Follow conventional commits

πŸ“ž Support

Documentation

Community

Enterprise Support

πŸ“‹ Roadmap

Version 1.1 (Q1 2025)

  • Multi-language support (Hindi, Tamil, Bengali)
  • Advanced A/B testing framework
  • WhatsApp Business integration
  • Voice search optimization

Version 1.2 (Q2 2025)

  • AI-powered competitor analysis
  • Automated backlink outreach
  • Performance prediction models
  • Mobile app companion

Version 2.0 (Q3 2025)

  • Enterprise white-label solution
  • API marketplace integration
  • Advanced analytics dashboard
  • Machine learning insights

πŸ“„ License

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

πŸ™ Acknowledgments

  • Google Gemini AI for powerful content generation
  • Clerk for seamless authentication
  • Tailwind CSS for beautiful UI components
  • React community for excellent tooling
  • Open source contributors for inspiration

Made with ❀️ for Indian businesses by the AI SEO Platform team

Website β€’ Documentation β€’ Support

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors